@bikefinder/api-client 0.7.2 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +17 -6
  2. package/dist/admin/generated/index.d.ts +1 -1
  3. package/dist/admin/generated/index.d.ts.map +1 -1
  4. package/dist/admin/generated/sdk.gen.d.ts +45 -53
  5. package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
  6. package/dist/admin/generated/sdk.gen.js +479 -221
  7. package/dist/admin/generated/sdk.gen.js.map +1 -1
  8. package/dist/admin/generated/types.gen.d.ts +606 -741
  9. package/dist/admin/generated/types.gen.d.ts.map +1 -1
  10. package/dist/admin/generated/zod.gen.d.ts +1342 -1412
  11. package/dist/admin/generated/zod.gen.d.ts.map +1 -1
  12. package/dist/admin/generated/zod.gen.js +211 -252
  13. package/dist/admin/generated/zod.gen.js.map +1 -1
  14. package/dist/admin/index.d.ts +1 -1
  15. package/dist/admin/index.d.ts.map +1 -1
  16. package/dist/admin/index.js +1 -1
  17. package/dist/admin/index.js.map +1 -1
  18. package/dist/generated/index.d.ts +1 -1
  19. package/dist/generated/index.d.ts.map +1 -1
  20. package/dist/generated/sdk.gen.d.ts +24 -8
  21. package/dist/generated/sdk.gen.d.ts.map +1 -1
  22. package/dist/generated/sdk.gen.js +63 -19
  23. package/dist/generated/sdk.gen.js.map +1 -1
  24. package/dist/generated/types.gen.d.ts +314 -37
  25. package/dist/generated/types.gen.d.ts.map +1 -1
  26. package/dist/generated/zod.gen.d.ts +365 -113
  27. package/dist/generated/zod.gen.d.ts.map +1 -1
  28. package/dist/generated/zod.gen.js +133 -28
  29. package/dist/generated/zod.gen.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/admin/generated/index.ts +73 -87
  32. package/src/admin/generated/sdk.gen.ts +677 -440
  33. package/src/admin/generated/types.gen.ts +737 -890
  34. package/src/admin/generated/zod.gen.ts +259 -309
  35. package/src/admin/index.ts +1 -1
  36. package/src/generated/index.ts +44 -12
  37. package/src/generated/sdk.gen.ts +150 -44
  38. package/src/generated/types.gen.ts +373 -44
  39. package/src/generated/zod.gen.ts +154 -29
@@ -44,60 +44,10 @@ export type AdminDocument = {
44
44
  id: string;
45
45
  fields: AdminSupportValue;
46
46
  };
47
- export type AdminEvidenceAccountsRequest = {
48
- accountIds: Array<string>;
49
- };
50
- export type AdminEvidenceCursor = {
51
- timestamp: AdminTimestamp;
52
- id: string;
53
- };
54
- export type AdminEvidenceDocument = {
55
- id: string;
56
- path: string;
57
- exists: boolean;
58
- fields: null | AdminSupportValue;
59
- updatedAt: null | AdminTimestamp;
60
- createdAt: null | AdminTimestamp;
61
- readAt: AdminTimestamp;
62
- };
63
- export type AdminEvidenceDomain = "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
64
- export type AdminEvidenceHistoryGroup = "battery" | "versions" | "reporting" | "diagnostics";
65
- export type AdminEvidenceHistoryRequest = {
66
- accountId: string;
67
- source: AdminEvidenceHistorySource;
68
- from: string;
69
- to: string;
70
- after?: null | AdminEvidenceCursor;
71
- fields?: null | Array<AdminEvidenceHistoryGroup>;
72
- };
73
- export type AdminEvidenceHistorySource = "data" | "sanitizedData" | "bluetooth" | "audit" | "commandPackets";
74
- export type AdminEvidenceInsuranceRecords = "contracts" | "creationAttempts";
75
- export type AdminEvidenceLayout = "legacy";
76
- export type AdminEvidenceOperationalDomain = "runtime" | "firmware" | "commands" | "statistics";
77
- export type AdminEvidencePage = {
78
- snapshot: AdminEvidenceSnapshot;
79
- nextAfter: null | string;
80
- scannedRecordCount: number;
81
- };
82
- export type AdminEvidencePageRequest = {
83
- accountIds: Array<string>;
84
- after?: null | string;
85
- };
86
- export type AdminEvidenceSnapshot = {
87
- documents: Array<AdminEvidenceDocument>;
88
- relatedDocuments: Array<AdminEvidenceDocument>;
89
- readAt: AdminTimestamp;
90
- };
91
47
  export type AdminFavoriteRequest = {
92
48
  comment: string;
93
49
  };
94
50
  export type AdminGeneration = "gen1" | "gen2";
95
- export type AdminInsuranceEvidenceRequest = {
96
- accountIds: Array<string>;
97
- provider: AdminInsuranceProvider;
98
- records?: AdminEvidenceInsuranceRecords;
99
- after?: null | string;
100
- };
101
51
  export type AdminInsuranceProvider = "cycler" | "hepster" | "tryg";
102
52
  export type AdminLinkSubscriptionRequest = {
103
53
  subscriptionId: string;
@@ -126,41 +76,10 @@ export type AdminNotificationRequest = {
126
76
  supportTimestamp?: null | boolean;
127
77
  log?: null | string;
128
78
  };
129
- export type AdminOperationalEvidence = {
130
- domain: AdminEvidenceOperationalDomain;
131
- layout: AdminEvidenceLayout;
132
- snapshot: AdminEvidenceSnapshot;
133
- };
134
- export type AdminOperationalEvidenceRequest = {
135
- accountIds: Array<string>;
136
- domain: AdminEvidenceOperationalDomain;
137
- };
138
79
  export type AdminReadResult = {
139
80
  documents: Array<AdminDocument>;
140
81
  nextCursor: null | string;
141
82
  };
142
- export type AdminRelationshipChangeRequest = {
143
- accountIds: Array<string>;
144
- kind: AdminRelationshipKind;
145
- accountId: string;
146
- expectedVersion: string;
147
- subscriptionId?: null | string;
148
- allowLastAccountCleanup?: boolean;
149
- };
150
- export type AdminRelationshipKind = "subscriptionBinding" | "deviceAccount";
151
- export type AdminRelationshipRequest = {
152
- accountIds: Array<string>;
153
- kind: AdminRelationshipKind;
154
- };
155
- export type AdminRelationshipVerification = {
156
- verified: boolean;
157
- };
158
- export type AdminRelationshipVerificationRequest = {
159
- kind: AdminRelationshipKind;
160
- accountId: string;
161
- remainingAccountIds: Array<string>;
162
- subscriptionId?: null | string;
163
- };
164
83
  export type AdminRequestId = {
165
84
  requestId: string;
166
85
  };
@@ -208,11 +127,6 @@ export type AdminTrackerCommandResult = {
208
127
  commandId: string;
209
128
  jobIds: Array<string>;
210
129
  };
211
- export type AdminTrackerFactsRequest = {
212
- target: string;
213
- accountIds: Array<string>;
214
- domain: AdminEvidenceDomain;
215
- };
216
130
  export type AdminTrackerView = {
217
131
  tracker: AdminReadResult;
218
132
  };
@@ -244,73 +158,80 @@ export type ProblemDetails = {
244
158
  [key: string]: Array<string>;
245
159
  };
246
160
  };
247
- export type AdminQueryTrackerOperationalEvidenceData = {
248
- body: AdminOperationalEvidenceRequest;
249
- path: {
250
- trackerId: string;
251
- };
252
- query?: never;
253
- url: "/v1/admin/product-evidence/trackers/{trackerId}/operational-queries";
161
+ export type SupportEvidenceAccountsRequest = {
162
+ accountIds: Array<string>;
254
163
  };
255
- export type AdminQueryTrackerOperationalEvidenceErrors = {
256
- /**
257
- * Bad Request
258
- */
259
- 400: ProblemDetails;
260
- /**
261
- * Unauthorized
262
- */
263
- 401: ProblemDetails;
264
- /**
265
- * Forbidden
266
- */
267
- 403: ProblemDetails;
268
- /**
269
- * Conflict
270
- */
271
- 409: ProblemDetails;
272
- /**
273
- * Payload Too Large
274
- */
275
- 413: ProblemDetails;
276
- /**
277
- * Unsupported Media Type
278
- */
279
- 415: ProblemDetails;
280
- /**
281
- * Too Many Requests
282
- */
283
- 429: ProblemDetails;
284
- /**
285
- * Internal Server Error
286
- */
287
- 500: ProblemDetails;
288
- /**
289
- * Bad Gateway
290
- */
291
- 502: ProblemDetails;
292
- /**
293
- * Service Unavailable
294
- */
295
- 503: ProblemDetails;
164
+ export type SupportEvidenceCursor = {
165
+ timestamp: AdminTimestamp;
166
+ id: string;
296
167
  };
297
- export type AdminQueryTrackerOperationalEvidenceError = AdminQueryTrackerOperationalEvidenceErrors[keyof AdminQueryTrackerOperationalEvidenceErrors];
298
- export type AdminQueryTrackerOperationalEvidenceResponses = {
299
- /**
300
- * OK
301
- */
302
- 200: AdminOperationalEvidence;
168
+ export type SupportEvidenceDocument = {
169
+ id: string;
170
+ path: string;
171
+ exists: boolean;
172
+ fields: null | AdminSupportValue;
173
+ updatedAt: null | AdminTimestamp;
174
+ createdAt: null | AdminTimestamp;
175
+ readAt: AdminTimestamp;
303
176
  };
304
- export type AdminQueryTrackerOperationalEvidenceResponse = AdminQueryTrackerOperationalEvidenceResponses[keyof AdminQueryTrackerOperationalEvidenceResponses];
305
- export type AdminQueryTrackerJobEvidenceData = {
306
- body: AdminEvidencePageRequest;
307
- path: {
308
- trackerId: string;
309
- };
177
+ export type SupportEvidenceDomain = "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
178
+ export type SupportEvidenceHistoryGroup = "battery" | "versions" | "reporting" | "diagnostics";
179
+ export type SupportEvidenceHistoryRequest = {
180
+ accountId: string;
181
+ source: SupportEvidenceHistorySource;
182
+ from: string;
183
+ to: string;
184
+ after?: null | SupportEvidenceCursor;
185
+ fields?: null | Array<SupportEvidenceHistoryGroup>;
186
+ };
187
+ export type SupportEvidenceHistorySource = "data" | "sanitizedData" | "bluetooth" | "audit" | "commandPackets";
188
+ export type SupportEvidenceInsuranceRecords = "contracts" | "creationAttempts";
189
+ export type SupportEvidenceOperationalDomain = "runtime" | "firmware" | "commands" | "statistics";
190
+ export type SupportEvidencePage = {
191
+ snapshot: SupportEvidenceSnapshot;
192
+ nextAfter: null | string;
193
+ scannedRecordCount: number;
194
+ };
195
+ export type SupportEvidencePageRequest = {
196
+ accountIds: Array<string>;
197
+ after?: null | string;
198
+ };
199
+ export type SupportEvidenceSnapshot = {
200
+ documents: Array<SupportEvidenceDocument>;
201
+ relatedDocuments: Array<SupportEvidenceDocument>;
202
+ readAt: AdminTimestamp;
203
+ };
204
+ export type SupportInsuranceEvidenceRequest = {
205
+ accountIds: Array<string>;
206
+ provider: AdminInsuranceProvider;
207
+ records?: SupportEvidenceInsuranceRecords;
208
+ after?: null | string;
209
+ };
210
+ export type SupportOperationalEvidence = {
211
+ domain: SupportEvidenceOperationalDomain;
212
+ snapshot: SupportEvidenceSnapshot;
213
+ };
214
+ export type SupportOperationalEvidenceRequest = {
215
+ accountIds: Array<string>;
216
+ domain: SupportEvidenceOperationalDomain;
217
+ };
218
+ export type SupportRelationshipKind = "subscriptionBinding" | "deviceAccount";
219
+ export type SupportRelationshipRequest = {
220
+ accountIds: Array<string>;
221
+ kind: SupportRelationshipKind;
222
+ };
223
+ export type SupportTrackerFactsRequest = {
224
+ target: string;
225
+ accountIds: Array<string>;
226
+ domain: SupportEvidenceDomain;
227
+ };
228
+ export type AdminGetSessionData = {
229
+ body?: never;
230
+ path?: never;
310
231
  query?: never;
311
- url: "/v1/admin/product-evidence/trackers/{trackerId}/job-queries";
232
+ url: "/v1/admin/session";
312
233
  };
313
- export type AdminQueryTrackerJobEvidenceErrors = {
234
+ export type AdminGetSessionErrors = {
314
235
  /**
315
236
  * Bad Request
316
237
  */
@@ -323,6 +244,10 @@ export type AdminQueryTrackerJobEvidenceErrors = {
323
244
  * Forbidden
324
245
  */
325
246
  403: ProblemDetails;
247
+ /**
248
+ * Not Found
249
+ */
250
+ 404: ProblemDetails;
326
251
  /**
327
252
  * Conflict
328
253
  */
@@ -331,10 +256,6 @@ export type AdminQueryTrackerJobEvidenceErrors = {
331
256
  * Payload Too Large
332
257
  */
333
258
  413: ProblemDetails;
334
- /**
335
- * Unsupported Media Type
336
- */
337
- 415: ProblemDetails;
338
259
  /**
339
260
  * Too Many Requests
340
261
  */
@@ -352,23 +273,23 @@ export type AdminQueryTrackerJobEvidenceErrors = {
352
273
  */
353
274
  503: ProblemDetails;
354
275
  };
355
- export type AdminQueryTrackerJobEvidenceError = AdminQueryTrackerJobEvidenceErrors[keyof AdminQueryTrackerJobEvidenceErrors];
356
- export type AdminQueryTrackerJobEvidenceResponses = {
276
+ export type AdminGetSessionError = AdminGetSessionErrors[keyof AdminGetSessionErrors];
277
+ export type AdminGetSessionResponses = {
357
278
  /**
358
279
  * OK
359
280
  */
360
- 200: AdminEvidencePage;
281
+ 200: AdminSession;
361
282
  };
362
- export type AdminQueryTrackerJobEvidenceResponse = AdminQueryTrackerJobEvidenceResponses[keyof AdminQueryTrackerJobEvidenceResponses];
363
- export type AdminQuerySubscriptionInsuranceEvidenceData = {
364
- body: AdminInsuranceEvidenceRequest;
283
+ export type AdminGetSessionResponse = AdminGetSessionResponses[keyof AdminGetSessionResponses];
284
+ export type AdminGetTrackerData = {
285
+ body?: never;
365
286
  path: {
366
- subscriptionId: string;
287
+ trackerId: string;
367
288
  };
368
289
  query?: never;
369
- url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}/insurance-queries";
290
+ url: "/v1/admin/trackers/{trackerId}";
370
291
  };
371
- export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
292
+ export type AdminGetTrackerErrors = {
372
293
  /**
373
294
  * Bad Request
374
295
  */
@@ -381,6 +302,10 @@ export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
381
302
  * Forbidden
382
303
  */
383
304
  403: ProblemDetails;
305
+ /**
306
+ * Not Found
307
+ */
308
+ 404: ProblemDetails;
384
309
  /**
385
310
  * Conflict
386
311
  */
@@ -389,10 +314,6 @@ export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
389
314
  * Payload Too Large
390
315
  */
391
316
  413: ProblemDetails;
392
- /**
393
- * Unsupported Media Type
394
- */
395
- 415: ProblemDetails;
396
317
  /**
397
318
  * Too Many Requests
398
319
  */
@@ -410,25 +331,25 @@ export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
410
331
  */
411
332
  503: ProblemDetails;
412
333
  };
413
- export type AdminQuerySubscriptionInsuranceEvidenceError = AdminQuerySubscriptionInsuranceEvidenceErrors[keyof AdminQuerySubscriptionInsuranceEvidenceErrors];
414
- export type AdminQuerySubscriptionInsuranceEvidenceResponses = {
334
+ export type AdminGetTrackerError = AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
335
+ export type AdminGetTrackerResponses = {
415
336
  /**
416
337
  * OK
417
338
  */
418
- 200: AdminEvidencePage;
339
+ 200: AdminReadResult;
419
340
  };
420
- export type AdminQuerySubscriptionInsuranceEvidenceResponse = AdminQuerySubscriptionInsuranceEvidenceResponses[keyof AdminQuerySubscriptionInsuranceEvidenceResponses];
421
- export type AdminListAccountTrackerEvidenceData = {
341
+ export type AdminGetTrackerResponse = AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
342
+ export type AdminSearchTrackersData = {
422
343
  body?: never;
423
- path: {
424
- accountId: string;
425
- };
426
- query?: {
427
- after?: string;
344
+ path?: never;
345
+ query: {
346
+ kind: "iccid" | "imei" | "subscriptionId" | "uid";
347
+ value: string;
348
+ cursor?: string;
428
349
  };
429
- url: "/v1/admin/product-evidence/accounts/{accountId}/trackers";
350
+ url: "/v1/admin/trackers";
430
351
  };
431
- export type AdminListAccountTrackerEvidenceErrors = {
352
+ export type AdminSearchTrackersErrors = {
432
353
  /**
433
354
  * Bad Request
434
355
  */
@@ -441,6 +362,10 @@ export type AdminListAccountTrackerEvidenceErrors = {
441
362
  * Forbidden
442
363
  */
443
364
  403: ProblemDetails;
365
+ /**
366
+ * Not Found
367
+ */
368
+ 404: ProblemDetails;
444
369
  /**
445
370
  * Conflict
446
371
  */
@@ -466,25 +391,34 @@ export type AdminListAccountTrackerEvidenceErrors = {
466
391
  */
467
392
  503: ProblemDetails;
468
393
  };
469
- export type AdminListAccountTrackerEvidenceError = AdminListAccountTrackerEvidenceErrors[keyof AdminListAccountTrackerEvidenceErrors];
470
- export type AdminListAccountTrackerEvidenceResponses = {
394
+ export type AdminSearchTrackersError = AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
395
+ export type AdminSearchTrackersResponses = {
471
396
  /**
472
397
  * OK
473
398
  */
474
- 200: AdminEvidenceSnapshot;
399
+ 200: AdminReadResult;
475
400
  };
476
- export type AdminListAccountTrackerEvidenceResponse = AdminListAccountTrackerEvidenceResponses[keyof AdminListAccountTrackerEvidenceResponses];
477
- export type AdminListAccountSubscriptionEvidenceData = {
401
+ export type AdminSearchTrackersResponse = AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
402
+ export type AdminListTrackerHistoryData = {
478
403
  body?: never;
479
404
  path: {
480
- accountId: string;
405
+ trackerId: string;
406
+ collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
481
407
  };
482
408
  query?: {
483
- after?: string;
409
+ /**
410
+ * Inclusive ISO timestamp with timezone.
411
+ */
412
+ from?: string;
413
+ /**
414
+ * Exclusive ISO timestamp with timezone.
415
+ */
416
+ to?: string;
417
+ cursor?: string;
484
418
  };
485
- url: "/v1/admin/product-evidence/accounts/{accountId}/subscriptions";
419
+ url: "/v1/admin/trackers/{trackerId}/history/{collection}";
486
420
  };
487
- export type AdminListAccountSubscriptionEvidenceErrors = {
421
+ export type AdminListTrackerHistoryErrors = {
488
422
  /**
489
423
  * Bad Request
490
424
  */
@@ -497,6 +431,10 @@ export type AdminListAccountSubscriptionEvidenceErrors = {
497
431
  * Forbidden
498
432
  */
499
433
  403: ProblemDetails;
434
+ /**
435
+ * Not Found
436
+ */
437
+ 404: ProblemDetails;
500
438
  /**
501
439
  * Conflict
502
440
  */
@@ -522,21 +460,23 @@ export type AdminListAccountSubscriptionEvidenceErrors = {
522
460
  */
523
461
  503: ProblemDetails;
524
462
  };
525
- export type AdminListAccountSubscriptionEvidenceError = AdminListAccountSubscriptionEvidenceErrors[keyof AdminListAccountSubscriptionEvidenceErrors];
526
- export type AdminListAccountSubscriptionEvidenceResponses = {
463
+ export type AdminListTrackerHistoryError = AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
464
+ export type AdminListTrackerHistoryResponses = {
527
465
  /**
528
466
  * OK
529
467
  */
530
- 200: AdminEvidenceSnapshot;
468
+ 200: AdminReadResult;
531
469
  };
532
- export type AdminListAccountSubscriptionEvidenceResponse = AdminListAccountSubscriptionEvidenceResponses[keyof AdminListAccountSubscriptionEvidenceResponses];
533
- export type AdminQueryTrackerFactEvidenceData = {
534
- body: AdminTrackerFactsRequest;
535
- path?: never;
470
+ export type AdminListTrackerHistoryResponse = AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
471
+ export type AdminRequestTrackerModeData = {
472
+ body: AdminModeRequest;
473
+ path: {
474
+ trackerId: string;
475
+ };
536
476
  query?: never;
537
- url: "/v1/admin/product-evidence/tracker-fact-queries";
477
+ url: "/v1/admin/trackers/{trackerId}/mode-requests";
538
478
  };
539
- export type AdminQueryTrackerFactEvidenceErrors = {
479
+ export type AdminRequestTrackerModeErrors = {
540
480
  /**
541
481
  * Bad Request
542
482
  */
@@ -549,6 +489,10 @@ export type AdminQueryTrackerFactEvidenceErrors = {
549
489
  * Forbidden
550
490
  */
551
491
  403: ProblemDetails;
492
+ /**
493
+ * Not Found
494
+ */
495
+ 404: ProblemDetails;
552
496
  /**
553
497
  * Conflict
554
498
  */
@@ -578,79 +522,23 @@ export type AdminQueryTrackerFactEvidenceErrors = {
578
522
  */
579
523
  503: ProblemDetails;
580
524
  };
581
- export type AdminQueryTrackerFactEvidenceError = AdminQueryTrackerFactEvidenceErrors[keyof AdminQueryTrackerFactEvidenceErrors];
582
- export type AdminQueryTrackerFactEvidenceResponses = {
583
- /**
584
- * OK
585
- */
586
- 200: AdminEvidenceSnapshot;
587
- };
588
- export type AdminQueryTrackerFactEvidenceResponse = AdminQueryTrackerFactEvidenceResponses[keyof AdminQueryTrackerFactEvidenceResponses];
589
- export type AdminGetSubscriptionFactEvidenceData = {
590
- body?: never;
591
- path: {
592
- subscriptionId: string;
593
- };
594
- query: {
595
- domain: "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
596
- };
597
- url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}";
598
- };
599
- export type AdminGetSubscriptionFactEvidenceErrors = {
600
- /**
601
- * Bad Request
602
- */
603
- 400: ProblemDetails;
604
- /**
605
- * Unauthorized
606
- */
607
- 401: ProblemDetails;
608
- /**
609
- * Forbidden
610
- */
611
- 403: ProblemDetails;
612
- /**
613
- * Conflict
614
- */
615
- 409: ProblemDetails;
616
- /**
617
- * Payload Too Large
618
- */
619
- 413: ProblemDetails;
620
- /**
621
- * Too Many Requests
622
- */
623
- 429: ProblemDetails;
624
- /**
625
- * Internal Server Error
626
- */
627
- 500: ProblemDetails;
628
- /**
629
- * Bad Gateway
630
- */
631
- 502: ProblemDetails;
632
- /**
633
- * Service Unavailable
634
- */
635
- 503: ProblemDetails;
636
- };
637
- export type AdminGetSubscriptionFactEvidenceError = AdminGetSubscriptionFactEvidenceErrors[keyof AdminGetSubscriptionFactEvidenceErrors];
638
- export type AdminGetSubscriptionFactEvidenceResponses = {
525
+ export type AdminRequestTrackerModeError = AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
526
+ export type AdminRequestTrackerModeResponses = {
639
527
  /**
640
528
  * OK
641
529
  */
642
- 200: AdminEvidenceSnapshot;
530
+ 200: CommandSuccess;
643
531
  };
644
- export type AdminGetSubscriptionFactEvidenceResponse = AdminGetSubscriptionFactEvidenceResponses[keyof AdminGetSubscriptionFactEvidenceResponses];
645
- export type AdminQueryTrackerSubscriptionEvidenceData = {
646
- body: AdminEvidenceAccountsRequest;
532
+ export type AdminRequestTrackerModeResponse = AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
533
+ export type AdminRequestTrackerCommandData = {
534
+ body: AdminTrackerCommandRequest;
647
535
  path: {
648
536
  trackerId: string;
649
537
  };
650
538
  query?: never;
651
- url: "/v1/admin/product-evidence/trackers/{trackerId}/subscription-queries";
539
+ url: "/v1/admin/trackers/{trackerId}/pending-command";
652
540
  };
653
- export type AdminQueryTrackerSubscriptionEvidenceErrors = {
541
+ export type AdminRequestTrackerCommandErrors = {
654
542
  /**
655
543
  * Bad Request
656
544
  */
@@ -663,6 +551,10 @@ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
663
551
  * Forbidden
664
552
  */
665
553
  403: ProblemDetails;
554
+ /**
555
+ * Not Found
556
+ */
557
+ 404: ProblemDetails;
666
558
  /**
667
559
  * Conflict
668
560
  */
@@ -692,23 +584,23 @@ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
692
584
  */
693
585
  503: ProblemDetails;
694
586
  };
695
- export type AdminQueryTrackerSubscriptionEvidenceError = AdminQueryTrackerSubscriptionEvidenceErrors[keyof AdminQueryTrackerSubscriptionEvidenceErrors];
696
- export type AdminQueryTrackerSubscriptionEvidenceResponses = {
587
+ export type AdminRequestTrackerCommandError = AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
588
+ export type AdminRequestTrackerCommandResponses = {
697
589
  /**
698
590
  * OK
699
591
  */
700
- 200: AdminEvidenceSnapshot;
592
+ 200: CommandSuccess;
701
593
  };
702
- export type AdminQueryTrackerSubscriptionEvidenceResponse = AdminQueryTrackerSubscriptionEvidenceResponses[keyof AdminQueryTrackerSubscriptionEvidenceResponses];
703
- export type AdminQueryCommerceBindingEvidenceData = {
704
- body: AdminEvidenceAccountsRequest;
594
+ export type AdminRequestTrackerCommandResponse = AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
595
+ export type AdminUpdateTrackerConfigurationData = {
596
+ body: AdminConfigurationRequest;
705
597
  path: {
706
- wooId: number;
598
+ trackerId: string;
707
599
  };
708
600
  query?: never;
709
- url: "/v1/admin/product-evidence/commerce-subscriptions/{wooId}/binding-queries";
601
+ url: "/v1/admin/trackers/{trackerId}/configuration";
710
602
  };
711
- export type AdminQueryCommerceBindingEvidenceErrors = {
603
+ export type AdminUpdateTrackerConfigurationErrors = {
712
604
  /**
713
605
  * Bad Request
714
606
  */
@@ -721,6 +613,10 @@ export type AdminQueryCommerceBindingEvidenceErrors = {
721
613
  * Forbidden
722
614
  */
723
615
  403: ProblemDetails;
616
+ /**
617
+ * Not Found
618
+ */
619
+ 404: ProblemDetails;
724
620
  /**
725
621
  * Conflict
726
622
  */
@@ -750,23 +646,23 @@ export type AdminQueryCommerceBindingEvidenceErrors = {
750
646
  */
751
647
  503: ProblemDetails;
752
648
  };
753
- export type AdminQueryCommerceBindingEvidenceError = AdminQueryCommerceBindingEvidenceErrors[keyof AdminQueryCommerceBindingEvidenceErrors];
754
- export type AdminQueryCommerceBindingEvidenceResponses = {
649
+ export type AdminUpdateTrackerConfigurationError = AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
650
+ export type AdminUpdateTrackerConfigurationResponses = {
755
651
  /**
756
652
  * OK
757
653
  */
758
- 200: AdminEvidenceSnapshot;
654
+ 200: CommandSuccess;
759
655
  };
760
- export type AdminQueryCommerceBindingEvidenceResponse = AdminQueryCommerceBindingEvidenceResponses[keyof AdminQueryCommerceBindingEvidenceResponses];
761
- export type AdminQueryTrackerHistoryEvidenceData = {
762
- body: AdminEvidenceHistoryRequest;
656
+ export type AdminUpdateTrackerConfigurationResponse = AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
657
+ export type AdminUpdateTrackerBikeData = {
658
+ body: AdminBikeRequest;
763
659
  path: {
764
660
  trackerId: string;
765
661
  };
766
662
  query?: never;
767
- url: "/v1/admin/product-evidence/trackers/{trackerId}/history-queries";
663
+ url: "/v1/admin/trackers/{trackerId}/bike";
768
664
  };
769
- export type AdminQueryTrackerHistoryEvidenceErrors = {
665
+ export type AdminUpdateTrackerBikeErrors = {
770
666
  /**
771
667
  * Bad Request
772
668
  */
@@ -779,6 +675,10 @@ export type AdminQueryTrackerHistoryEvidenceErrors = {
779
675
  * Forbidden
780
676
  */
781
677
  403: ProblemDetails;
678
+ /**
679
+ * Not Found
680
+ */
681
+ 404: ProblemDetails;
782
682
  /**
783
683
  * Conflict
784
684
  */
@@ -808,23 +708,23 @@ export type AdminQueryTrackerHistoryEvidenceErrors = {
808
708
  */
809
709
  503: ProblemDetails;
810
710
  };
811
- export type AdminQueryTrackerHistoryEvidenceError = AdminQueryTrackerHistoryEvidenceErrors[keyof AdminQueryTrackerHistoryEvidenceErrors];
812
- export type AdminQueryTrackerHistoryEvidenceResponses = {
711
+ export type AdminUpdateTrackerBikeError = AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
712
+ export type AdminUpdateTrackerBikeResponses = {
813
713
  /**
814
714
  * OK
815
715
  */
816
- 200: AdminEvidenceSnapshot;
716
+ 200: CommandSuccess;
817
717
  };
818
- export type AdminQueryTrackerHistoryEvidenceResponse = AdminQueryTrackerHistoryEvidenceResponses[keyof AdminQueryTrackerHistoryEvidenceResponses];
819
- export type AdminQueryTrackerRelationshipEvidenceData = {
820
- body: AdminRelationshipRequest;
718
+ export type AdminUpdateTrackerBikeResponse = AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
719
+ export type AdminCleanTrackerData = {
720
+ body: AdminRequestId;
821
721
  path: {
822
722
  trackerId: string;
823
723
  };
824
724
  query?: never;
825
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-queries";
725
+ url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
826
726
  };
827
- export type AdminQueryTrackerRelationshipEvidenceErrors = {
727
+ export type AdminCleanTrackerErrors = {
828
728
  /**
829
729
  * Bad Request
830
730
  */
@@ -837,6 +737,10 @@ export type AdminQueryTrackerRelationshipEvidenceErrors = {
837
737
  * Forbidden
838
738
  */
839
739
  403: ProblemDetails;
740
+ /**
741
+ * Not Found
742
+ */
743
+ 404: ProblemDetails;
840
744
  /**
841
745
  * Conflict
842
746
  */
@@ -866,23 +770,23 @@ export type AdminQueryTrackerRelationshipEvidenceErrors = {
866
770
  */
867
771
  503: ProblemDetails;
868
772
  };
869
- export type AdminQueryTrackerRelationshipEvidenceError = AdminQueryTrackerRelationshipEvidenceErrors[keyof AdminQueryTrackerRelationshipEvidenceErrors];
870
- export type AdminQueryTrackerRelationshipEvidenceResponses = {
773
+ export type AdminCleanTrackerError = AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
774
+ export type AdminCleanTrackerResponses = {
871
775
  /**
872
- * OK
776
+ * Accepted
873
777
  */
874
- 200: AdminEvidenceSnapshot;
778
+ 202: AdminTrackerCommandResult;
875
779
  };
876
- export type AdminQueryTrackerRelationshipEvidenceResponse = AdminQueryTrackerRelationshipEvidenceResponses[keyof AdminQueryTrackerRelationshipEvidenceResponses];
877
- export type AdminChangeTrackerRelationshipData = {
878
- body: AdminRelationshipChangeRequest;
780
+ export type AdminCleanTrackerResponse = AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
781
+ export type AdminSetTrackerDenylistData = {
782
+ body: AdminDenylistRequest;
879
783
  path: {
880
784
  trackerId: string;
881
785
  };
882
786
  query?: never;
883
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-changes";
787
+ url: "/v1/admin/trackers/{trackerId}/denylist";
884
788
  };
885
- export type AdminChangeTrackerRelationshipErrors = {
789
+ export type AdminSetTrackerDenylistErrors = {
886
790
  /**
887
791
  * Bad Request
888
792
  */
@@ -895,6 +799,10 @@ export type AdminChangeTrackerRelationshipErrors = {
895
799
  * Forbidden
896
800
  */
897
801
  403: ProblemDetails;
802
+ /**
803
+ * Not Found
804
+ */
805
+ 404: ProblemDetails;
898
806
  /**
899
807
  * Conflict
900
808
  */
@@ -924,23 +832,23 @@ export type AdminChangeTrackerRelationshipErrors = {
924
832
  */
925
833
  503: ProblemDetails;
926
834
  };
927
- export type AdminChangeTrackerRelationshipError = AdminChangeTrackerRelationshipErrors[keyof AdminChangeTrackerRelationshipErrors];
928
- export type AdminChangeTrackerRelationshipResponses = {
835
+ export type AdminSetTrackerDenylistError = AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
836
+ export type AdminSetTrackerDenylistResponses = {
929
837
  /**
930
838
  * OK
931
839
  */
932
- 200: CommandSuccess;
840
+ 200: AdminTrackerCommandResult;
933
841
  };
934
- export type AdminChangeTrackerRelationshipResponse = AdminChangeTrackerRelationshipResponses[keyof AdminChangeTrackerRelationshipResponses];
935
- export type AdminVerifyTrackerRelationshipData = {
936
- body: AdminRelationshipVerificationRequest;
842
+ export type AdminSetTrackerDenylistResponse = AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
843
+ export type AdminNotifyTrackerData = {
844
+ body: AdminNotificationRequest;
937
845
  path: {
938
846
  trackerId: string;
939
847
  };
940
848
  query?: never;
941
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-verification-queries";
849
+ url: "/v1/admin/trackers/{trackerId}/notification-requests";
942
850
  };
943
- export type AdminVerifyTrackerRelationshipErrors = {
851
+ export type AdminNotifyTrackerErrors = {
944
852
  /**
945
853
  * Bad Request
946
854
  */
@@ -953,6 +861,10 @@ export type AdminVerifyTrackerRelationshipErrors = {
953
861
  * Forbidden
954
862
  */
955
863
  403: ProblemDetails;
864
+ /**
865
+ * Not Found
866
+ */
867
+ 404: ProblemDetails;
956
868
  /**
957
869
  * Conflict
958
870
  */
@@ -982,21 +894,23 @@ export type AdminVerifyTrackerRelationshipErrors = {
982
894
  */
983
895
  503: ProblemDetails;
984
896
  };
985
- export type AdminVerifyTrackerRelationshipError = AdminVerifyTrackerRelationshipErrors[keyof AdminVerifyTrackerRelationshipErrors];
986
- export type AdminVerifyTrackerRelationshipResponses = {
897
+ export type AdminNotifyTrackerError = AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
898
+ export type AdminNotifyTrackerResponses = {
987
899
  /**
988
- * OK
900
+ * Accepted
989
901
  */
990
- 200: AdminRelationshipVerification;
902
+ 202: AdminTrackerCommandResult;
991
903
  };
992
- export type AdminVerifyTrackerRelationshipResponse = AdminVerifyTrackerRelationshipResponses[keyof AdminVerifyTrackerRelationshipResponses];
993
- export type AdminGetSessionData = {
994
- body?: never;
995
- path?: never;
904
+ export type AdminNotifyTrackerResponse = AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
905
+ export type AdminAddTrackerMemberData = {
906
+ body: AdminAddMemberRequest;
907
+ path: {
908
+ trackerId: string;
909
+ };
996
910
  query?: never;
997
- url: "/v1/admin/session";
911
+ url: "/v1/admin/trackers/{trackerId}/members";
998
912
  };
999
- export type AdminGetSessionErrors = {
913
+ export type AdminAddTrackerMemberErrors = {
1000
914
  /**
1001
915
  * Bad Request
1002
916
  */
@@ -1021,6 +935,10 @@ export type AdminGetSessionErrors = {
1021
935
  * Payload Too Large
1022
936
  */
1023
937
  413: ProblemDetails;
938
+ /**
939
+ * Unsupported Media Type
940
+ */
941
+ 415: ProblemDetails;
1024
942
  /**
1025
943
  * Too Many Requests
1026
944
  */
@@ -1038,23 +956,24 @@ export type AdminGetSessionErrors = {
1038
956
  */
1039
957
  503: ProblemDetails;
1040
958
  };
1041
- export type AdminGetSessionError = AdminGetSessionErrors[keyof AdminGetSessionErrors];
1042
- export type AdminGetSessionResponses = {
959
+ export type AdminAddTrackerMemberError = AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
960
+ export type AdminAddTrackerMemberResponses = {
1043
961
  /**
1044
962
  * OK
1045
963
  */
1046
- 200: AdminSession;
964
+ 200: CommandSuccess;
1047
965
  };
1048
- export type AdminGetSessionResponse = AdminGetSessionResponses[keyof AdminGetSessionResponses];
1049
- export type AdminGetTrackerData = {
966
+ export type AdminAddTrackerMemberResponse = AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
967
+ export type AdminRemoveTrackerMemberData = {
1050
968
  body?: never;
1051
969
  path: {
1052
970
  trackerId: string;
971
+ uid: string;
1053
972
  };
1054
973
  query?: never;
1055
- url: "/v1/admin/trackers/{trackerId}";
974
+ url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1056
975
  };
1057
- export type AdminGetTrackerErrors = {
976
+ export type AdminRemoveTrackerMemberErrors = {
1058
977
  /**
1059
978
  * Bad Request
1060
979
  */
@@ -1096,25 +1015,23 @@ export type AdminGetTrackerErrors = {
1096
1015
  */
1097
1016
  503: ProblemDetails;
1098
1017
  };
1099
- export type AdminGetTrackerError = AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
1100
- export type AdminGetTrackerResponses = {
1018
+ export type AdminRemoveTrackerMemberError = AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1019
+ export type AdminRemoveTrackerMemberResponses = {
1101
1020
  /**
1102
1021
  * OK
1103
1022
  */
1104
- 200: AdminReadResult;
1023
+ 200: CommandSuccess;
1105
1024
  };
1106
- export type AdminGetTrackerResponse = AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
1107
- export type AdminSearchTrackersData = {
1025
+ export type AdminRemoveTrackerMemberResponse = AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1026
+ export type AdminUnlinkTrackerSubscriptionData = {
1108
1027
  body?: never;
1109
- path?: never;
1110
- query: {
1111
- kind: "iccid" | "imei" | "subscriptionId" | "uid";
1112
- value: string;
1113
- cursor?: string;
1028
+ path: {
1029
+ trackerId: string;
1114
1030
  };
1115
- url: "/v1/admin/trackers";
1031
+ query?: never;
1032
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1116
1033
  };
1117
- export type AdminSearchTrackersErrors = {
1034
+ export type AdminUnlinkTrackerSubscriptionErrors = {
1118
1035
  /**
1119
1036
  * Bad Request
1120
1037
  */
@@ -1156,34 +1073,23 @@ export type AdminSearchTrackersErrors = {
1156
1073
  */
1157
1074
  503: ProblemDetails;
1158
1075
  };
1159
- export type AdminSearchTrackersError = AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
1160
- export type AdminSearchTrackersResponses = {
1076
+ export type AdminUnlinkTrackerSubscriptionError = AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1077
+ export type AdminUnlinkTrackerSubscriptionResponses = {
1161
1078
  /**
1162
1079
  * OK
1163
1080
  */
1164
- 200: AdminReadResult;
1081
+ 200: CommandSuccess;
1165
1082
  };
1166
- export type AdminSearchTrackersResponse = AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
1167
- export type AdminListTrackerHistoryData = {
1168
- body?: never;
1083
+ export type AdminUnlinkTrackerSubscriptionResponse = AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1084
+ export type AdminLinkTrackerSubscriptionData = {
1085
+ body: AdminLinkSubscriptionRequest;
1169
1086
  path: {
1170
1087
  trackerId: string;
1171
- collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
1172
1088
  };
1173
- query?: {
1174
- /**
1175
- * Inclusive ISO timestamp with timezone.
1176
- */
1177
- from?: string;
1178
- /**
1179
- * Exclusive ISO timestamp with timezone.
1180
- */
1181
- to?: string;
1182
- cursor?: string;
1183
- };
1184
- url: "/v1/admin/trackers/{trackerId}/history/{collection}";
1089
+ query?: never;
1090
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1185
1091
  };
1186
- export type AdminListTrackerHistoryErrors = {
1092
+ export type AdminLinkTrackerSubscriptionErrors = {
1187
1093
  /**
1188
1094
  * Bad Request
1189
1095
  */
@@ -1208,6 +1114,10 @@ export type AdminListTrackerHistoryErrors = {
1208
1114
  * Payload Too Large
1209
1115
  */
1210
1116
  413: ProblemDetails;
1117
+ /**
1118
+ * Unsupported Media Type
1119
+ */
1120
+ 415: ProblemDetails;
1211
1121
  /**
1212
1122
  * Too Many Requests
1213
1123
  */
@@ -1225,23 +1135,23 @@ export type AdminListTrackerHistoryErrors = {
1225
1135
  */
1226
1136
  503: ProblemDetails;
1227
1137
  };
1228
- export type AdminListTrackerHistoryError = AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
1229
- export type AdminListTrackerHistoryResponses = {
1138
+ export type AdminLinkTrackerSubscriptionError = AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1139
+ export type AdminLinkTrackerSubscriptionResponses = {
1230
1140
  /**
1231
1141
  * OK
1232
1142
  */
1233
- 200: AdminReadResult;
1143
+ 200: CommandSuccess;
1234
1144
  };
1235
- export type AdminListTrackerHistoryResponse = AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
1236
- export type AdminRequestTrackerModeData = {
1237
- body: AdminModeRequest;
1145
+ export type AdminLinkTrackerSubscriptionResponse = AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1146
+ export type AdminRequestTrackerInsuranceData = {
1147
+ body: AdminRequestId;
1238
1148
  path: {
1239
1149
  trackerId: string;
1240
1150
  };
1241
1151
  query?: never;
1242
- url: "/v1/admin/trackers/{trackerId}/mode-requests";
1152
+ url: "/v1/admin/trackers/{trackerId}/insurance-requests";
1243
1153
  };
1244
- export type AdminRequestTrackerModeErrors = {
1154
+ export type AdminRequestTrackerInsuranceErrors = {
1245
1155
  /**
1246
1156
  * Bad Request
1247
1157
  */
@@ -1287,23 +1197,23 @@ export type AdminRequestTrackerModeErrors = {
1287
1197
  */
1288
1198
  503: ProblemDetails;
1289
1199
  };
1290
- export type AdminRequestTrackerModeError = AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
1291
- export type AdminRequestTrackerModeResponses = {
1200
+ export type AdminRequestTrackerInsuranceError = AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1201
+ export type AdminRequestTrackerInsuranceResponses = {
1292
1202
  /**
1293
- * OK
1203
+ * Accepted
1294
1204
  */
1295
- 200: CommandSuccess;
1205
+ 202: CommandSuccess;
1296
1206
  };
1297
- export type AdminRequestTrackerModeResponse = AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
1298
- export type AdminRequestTrackerCommandData = {
1299
- body: AdminTrackerCommandRequest;
1207
+ export type AdminRequestTrackerInsuranceResponse = AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1208
+ export type AdminReconcileTrackerSubscriptionData = {
1209
+ body: AdminRequestId;
1300
1210
  path: {
1301
1211
  trackerId: string;
1302
1212
  };
1303
1213
  query?: never;
1304
- url: "/v1/admin/trackers/{trackerId}/pending-command";
1214
+ url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
1305
1215
  };
1306
- export type AdminRequestTrackerCommandErrors = {
1216
+ export type AdminReconcileTrackerSubscriptionErrors = {
1307
1217
  /**
1308
1218
  * Bad Request
1309
1219
  */
@@ -1349,23 +1259,31 @@ export type AdminRequestTrackerCommandErrors = {
1349
1259
  */
1350
1260
  503: ProblemDetails;
1351
1261
  };
1352
- export type AdminRequestTrackerCommandError = AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
1353
- export type AdminRequestTrackerCommandResponses = {
1262
+ export type AdminReconcileTrackerSubscriptionError = AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
1263
+ export type AdminReconcileTrackerSubscriptionResponses = {
1354
1264
  /**
1355
- * OK
1265
+ * Accepted
1356
1266
  */
1357
- 200: CommandSuccess;
1267
+ 202: CommandSuccess;
1358
1268
  };
1359
- export type AdminRequestTrackerCommandResponse = AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
1360
- export type AdminUpdateTrackerConfigurationData = {
1361
- body: AdminConfigurationRequest;
1269
+ export type AdminReconcileTrackerSubscriptionResponse = AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
1270
+ export type AdminUploadTrackerPhotoData = {
1271
+ body: {
1272
+ /**
1273
+ * JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
1274
+ */
1275
+ file: Blob | File;
1276
+ kind: "bike" | "installation" | "receipt";
1277
+ width: number;
1278
+ height: number;
1279
+ };
1362
1280
  path: {
1363
1281
  trackerId: string;
1364
1282
  };
1365
1283
  query?: never;
1366
- url: "/v1/admin/trackers/{trackerId}/configuration";
1284
+ url: "/v1/admin/trackers/{trackerId}/photos";
1367
1285
  };
1368
- export type AdminUpdateTrackerConfigurationErrors = {
1286
+ export type AdminUploadTrackerPhotoErrors = {
1369
1287
  /**
1370
1288
  * Bad Request
1371
1289
  */
@@ -1411,23 +1329,23 @@ export type AdminUpdateTrackerConfigurationErrors = {
1411
1329
  */
1412
1330
  503: ProblemDetails;
1413
1331
  };
1414
- export type AdminUpdateTrackerConfigurationError = AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
1415
- export type AdminUpdateTrackerConfigurationResponses = {
1332
+ export type AdminUploadTrackerPhotoError = AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
1333
+ export type AdminUploadTrackerPhotoResponses = {
1416
1334
  /**
1417
1335
  * OK
1418
1336
  */
1419
- 200: CommandSuccess;
1337
+ 200: PhotoUploadResult;
1420
1338
  };
1421
- export type AdminUpdateTrackerConfigurationResponse = AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
1422
- export type AdminUpdateTrackerBikeData = {
1423
- body: AdminBikeRequest;
1339
+ export type AdminUploadTrackerPhotoResponse = AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
1340
+ export type AdminSubscribeTrackerData = {
1341
+ body?: never;
1424
1342
  path: {
1425
1343
  trackerId: string;
1426
1344
  };
1427
1345
  query?: never;
1428
- url: "/v1/admin/trackers/{trackerId}/bike";
1346
+ url: "/v1/admin/trackers/{trackerId}/stream";
1429
1347
  };
1430
- export type AdminUpdateTrackerBikeErrors = {
1348
+ export type AdminSubscribeTrackerErrors = {
1431
1349
  /**
1432
1350
  * Bad Request
1433
1351
  */
@@ -1452,10 +1370,6 @@ export type AdminUpdateTrackerBikeErrors = {
1452
1370
  * Payload Too Large
1453
1371
  */
1454
1372
  413: ProblemDetails;
1455
- /**
1456
- * Unsupported Media Type
1457
- */
1458
- 415: ProblemDetails;
1459
1373
  /**
1460
1374
  * Too Many Requests
1461
1375
  */
@@ -1473,23 +1387,23 @@ export type AdminUpdateTrackerBikeErrors = {
1473
1387
  */
1474
1388
  503: ProblemDetails;
1475
1389
  };
1476
- export type AdminUpdateTrackerBikeError = AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
1477
- export type AdminUpdateTrackerBikeResponses = {
1390
+ export type AdminSubscribeTrackerError = AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
1391
+ export type AdminSubscribeTrackerResponses = {
1478
1392
  /**
1479
1393
  * OK
1480
1394
  */
1481
- 200: CommandSuccess;
1395
+ 200: AdminTrackerView | null;
1482
1396
  };
1483
- export type AdminUpdateTrackerBikeResponse = AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
1484
- export type AdminCleanTrackerData = {
1485
- body: AdminRequestId;
1397
+ export type AdminSubscribeTrackerResponse = AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
1398
+ export type AdminGetUserData = {
1399
+ body?: never;
1486
1400
  path: {
1487
- trackerId: string;
1401
+ uid: string;
1488
1402
  };
1489
1403
  query?: never;
1490
- url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
1404
+ url: "/v1/admin/users/{uid}";
1491
1405
  };
1492
- export type AdminCleanTrackerErrors = {
1406
+ export type AdminGetUserErrors = {
1493
1407
  /**
1494
1408
  * Bad Request
1495
1409
  */
@@ -1514,10 +1428,6 @@ export type AdminCleanTrackerErrors = {
1514
1428
  * Payload Too Large
1515
1429
  */
1516
1430
  413: ProblemDetails;
1517
- /**
1518
- * Unsupported Media Type
1519
- */
1520
- 415: ProblemDetails;
1521
1431
  /**
1522
1432
  * Too Many Requests
1523
1433
  */
@@ -1535,23 +1445,21 @@ export type AdminCleanTrackerErrors = {
1535
1445
  */
1536
1446
  503: ProblemDetails;
1537
1447
  };
1538
- export type AdminCleanTrackerError = AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1539
- export type AdminCleanTrackerResponses = {
1448
+ export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
1449
+ export type AdminGetUserResponses = {
1540
1450
  /**
1541
- * Accepted
1451
+ * OK
1542
1452
  */
1543
- 202: AdminTrackerCommandResult;
1453
+ 200: AdminReadResult;
1544
1454
  };
1545
- export type AdminCleanTrackerResponse = AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1546
- export type AdminSetTrackerDenylistData = {
1547
- body: AdminDenylistRequest;
1548
- path: {
1549
- trackerId: string;
1550
- };
1455
+ export type AdminGetUserResponse = AdminGetUserResponses[keyof AdminGetUserResponses];
1456
+ export type AdminLookupUsersData = {
1457
+ body: AdminLookupRequest;
1458
+ path?: never;
1551
1459
  query?: never;
1552
- url: "/v1/admin/trackers/{trackerId}/denylist";
1460
+ url: "/v1/admin/users/lookup";
1553
1461
  };
1554
- export type AdminSetTrackerDenylistErrors = {
1462
+ export type AdminLookupUsersErrors = {
1555
1463
  /**
1556
1464
  * Bad Request
1557
1465
  */
@@ -1597,23 +1505,23 @@ export type AdminSetTrackerDenylistErrors = {
1597
1505
  */
1598
1506
  503: ProblemDetails;
1599
1507
  };
1600
- export type AdminSetTrackerDenylistError = AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1601
- export type AdminSetTrackerDenylistResponses = {
1508
+ export type AdminLookupUsersError = AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
1509
+ export type AdminLookupUsersResponses = {
1602
1510
  /**
1603
1511
  * OK
1604
1512
  */
1605
- 200: AdminTrackerCommandResult;
1513
+ 200: AdminLookupResult;
1606
1514
  };
1607
- export type AdminSetTrackerDenylistResponse = AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1608
- export type AdminNotifyTrackerData = {
1609
- body: AdminNotificationRequest;
1515
+ export type AdminLookupUsersResponse = AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
1516
+ export type AdminRequestUserInsuranceData = {
1517
+ body: AdminRequestId;
1610
1518
  path: {
1611
- trackerId: string;
1519
+ uid: string;
1612
1520
  };
1613
1521
  query?: never;
1614
- url: "/v1/admin/trackers/{trackerId}/notification-requests";
1522
+ url: "/v1/admin/users/{uid}/insurance-requests";
1615
1523
  };
1616
- export type AdminNotifyTrackerErrors = {
1524
+ export type AdminRequestUserInsuranceErrors = {
1617
1525
  /**
1618
1526
  * Bad Request
1619
1527
  */
@@ -1659,23 +1567,23 @@ export type AdminNotifyTrackerErrors = {
1659
1567
  */
1660
1568
  503: ProblemDetails;
1661
1569
  };
1662
- export type AdminNotifyTrackerError = AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1663
- export type AdminNotifyTrackerResponses = {
1570
+ export type AdminRequestUserInsuranceError = AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
1571
+ export type AdminRequestUserInsuranceResponses = {
1664
1572
  /**
1665
1573
  * Accepted
1666
1574
  */
1667
- 202: AdminTrackerCommandResult;
1575
+ 202: CommandSuccess;
1668
1576
  };
1669
- export type AdminNotifyTrackerResponse = AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1670
- export type AdminAddTrackerMemberData = {
1671
- body: AdminAddMemberRequest;
1577
+ export type AdminRequestUserInsuranceResponse = AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
1578
+ export type AdminLinkSingleSubscriptionData = {
1579
+ body: AdminRequestId;
1672
1580
  path: {
1673
- trackerId: string;
1581
+ uid: string;
1674
1582
  };
1675
1583
  query?: never;
1676
- url: "/v1/admin/trackers/{trackerId}/members";
1584
+ url: "/v1/admin/users/{uid}/subscription-link-requests";
1677
1585
  };
1678
- export type AdminAddTrackerMemberErrors = {
1586
+ export type AdminLinkSingleSubscriptionErrors = {
1679
1587
  /**
1680
1588
  * Bad Request
1681
1589
  */
@@ -1721,24 +1629,23 @@ export type AdminAddTrackerMemberErrors = {
1721
1629
  */
1722
1630
  503: ProblemDetails;
1723
1631
  };
1724
- export type AdminAddTrackerMemberError = AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1725
- export type AdminAddTrackerMemberResponses = {
1632
+ export type AdminLinkSingleSubscriptionError = AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
1633
+ export type AdminLinkSingleSubscriptionResponses = {
1726
1634
  /**
1727
1635
  * OK
1728
1636
  */
1729
1637
  200: CommandSuccess;
1730
1638
  };
1731
- export type AdminAddTrackerMemberResponse = AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1732
- export type AdminRemoveTrackerMemberData = {
1639
+ export type AdminLinkSingleSubscriptionResponse = AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
1640
+ export type AdminGetSubscriptionData = {
1733
1641
  body?: never;
1734
1642
  path: {
1735
- trackerId: string;
1736
- uid: string;
1643
+ subscriptionId: string;
1737
1644
  };
1738
1645
  query?: never;
1739
- url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1646
+ url: "/v1/admin/subscriptions/{subscriptionId}";
1740
1647
  };
1741
- export type AdminRemoveTrackerMemberErrors = {
1648
+ export type AdminGetSubscriptionErrors = {
1742
1649
  /**
1743
1650
  * Bad Request
1744
1651
  */
@@ -1780,23 +1687,25 @@ export type AdminRemoveTrackerMemberErrors = {
1780
1687
  */
1781
1688
  503: ProblemDetails;
1782
1689
  };
1783
- export type AdminRemoveTrackerMemberError = AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1784
- export type AdminRemoveTrackerMemberResponses = {
1690
+ export type AdminGetSubscriptionError = AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
1691
+ export type AdminGetSubscriptionResponses = {
1785
1692
  /**
1786
1693
  * OK
1787
1694
  */
1788
- 200: CommandSuccess;
1695
+ 200: AdminReadResult;
1789
1696
  };
1790
- export type AdminRemoveTrackerMemberResponse = AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1791
- export type AdminUnlinkTrackerSubscriptionData = {
1697
+ export type AdminGetSubscriptionResponse = AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
1698
+ export type AdminSearchSubscriptionsData = {
1792
1699
  body?: never;
1793
- path: {
1794
- trackerId: string;
1700
+ path?: never;
1701
+ query: {
1702
+ kind: "b2b" | "uid" | "wooId";
1703
+ value?: string;
1704
+ cursor?: string;
1795
1705
  };
1796
- query?: never;
1797
- url: "/v1/admin/trackers/{trackerId}/subscription";
1706
+ url: "/v1/admin/subscriptions";
1798
1707
  };
1799
- export type AdminUnlinkTrackerSubscriptionErrors = {
1708
+ export type AdminSearchSubscriptionsErrors = {
1800
1709
  /**
1801
1710
  * Bad Request
1802
1711
  */
@@ -1838,23 +1747,26 @@ export type AdminUnlinkTrackerSubscriptionErrors = {
1838
1747
  */
1839
1748
  503: ProblemDetails;
1840
1749
  };
1841
- export type AdminUnlinkTrackerSubscriptionError = AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1842
- export type AdminUnlinkTrackerSubscriptionResponses = {
1750
+ export type AdminSearchSubscriptionsError = AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
1751
+ export type AdminSearchSubscriptionsResponses = {
1843
1752
  /**
1844
1753
  * OK
1845
1754
  */
1846
- 200: CommandSuccess;
1755
+ 200: AdminReadResult;
1847
1756
  };
1848
- export type AdminUnlinkTrackerSubscriptionResponse = AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1849
- export type AdminLinkTrackerSubscriptionData = {
1850
- body: AdminLinkSubscriptionRequest;
1757
+ export type AdminSearchSubscriptionsResponse = AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
1758
+ export type AdminListInsuranceData = {
1759
+ body?: never;
1851
1760
  path: {
1852
- trackerId: string;
1761
+ subscriptionId: string;
1762
+ provider: "cycler" | "hepster" | "tryg";
1853
1763
  };
1854
- query?: never;
1855
- url: "/v1/admin/trackers/{trackerId}/subscription";
1764
+ query?: {
1765
+ cursor?: string;
1766
+ };
1767
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
1856
1768
  };
1857
- export type AdminLinkTrackerSubscriptionErrors = {
1769
+ export type AdminListInsuranceErrors = {
1858
1770
  /**
1859
1771
  * Bad Request
1860
1772
  */
@@ -1879,10 +1791,6 @@ export type AdminLinkTrackerSubscriptionErrors = {
1879
1791
  * Payload Too Large
1880
1792
  */
1881
1793
  413: ProblemDetails;
1882
- /**
1883
- * Unsupported Media Type
1884
- */
1885
- 415: ProblemDetails;
1886
1794
  /**
1887
1795
  * Too Many Requests
1888
1796
  */
@@ -1900,23 +1808,23 @@ export type AdminLinkTrackerSubscriptionErrors = {
1900
1808
  */
1901
1809
  503: ProblemDetails;
1902
1810
  };
1903
- export type AdminLinkTrackerSubscriptionError = AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1904
- export type AdminLinkTrackerSubscriptionResponses = {
1811
+ export type AdminListInsuranceError = AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
1812
+ export type AdminListInsuranceResponses = {
1905
1813
  /**
1906
1814
  * OK
1907
1815
  */
1908
- 200: CommandSuccess;
1816
+ 200: AdminReadResult;
1909
1817
  };
1910
- export type AdminLinkTrackerSubscriptionResponse = AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1911
- export type AdminRequestTrackerInsuranceData = {
1818
+ export type AdminListInsuranceResponse = AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
1819
+ export type AdminRequestSubscriptionInsuranceData = {
1912
1820
  body: AdminRequestId;
1913
1821
  path: {
1914
- trackerId: string;
1822
+ subscriptionId: string;
1915
1823
  };
1916
1824
  query?: never;
1917
- url: "/v1/admin/trackers/{trackerId}/insurance-requests";
1825
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
1918
1826
  };
1919
- export type AdminRequestTrackerInsuranceErrors = {
1827
+ export type AdminRequestSubscriptionInsuranceErrors = {
1920
1828
  /**
1921
1829
  * Bad Request
1922
1830
  */
@@ -1962,23 +1870,23 @@ export type AdminRequestTrackerInsuranceErrors = {
1962
1870
  */
1963
1871
  503: ProblemDetails;
1964
1872
  };
1965
- export type AdminRequestTrackerInsuranceError = AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1966
- export type AdminRequestTrackerInsuranceResponses = {
1873
+ export type AdminRequestSubscriptionInsuranceError = AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
1874
+ export type AdminRequestSubscriptionInsuranceResponses = {
1967
1875
  /**
1968
1876
  * Accepted
1969
1877
  */
1970
1878
  202: CommandSuccess;
1971
1879
  };
1972
- export type AdminRequestTrackerInsuranceResponse = AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1973
- export type AdminReconcileTrackerSubscriptionData = {
1880
+ export type AdminRequestSubscriptionInsuranceResponse = AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
1881
+ export type AdminRefreshSubscriptionData = {
1974
1882
  body: AdminRequestId;
1975
1883
  path: {
1976
- trackerId: string;
1884
+ subscriptionId: string;
1977
1885
  };
1978
1886
  query?: never;
1979
- url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
1887
+ url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
1980
1888
  };
1981
- export type AdminReconcileTrackerSubscriptionErrors = {
1889
+ export type AdminRefreshSubscriptionErrors = {
1982
1890
  /**
1983
1891
  * Bad Request
1984
1892
  */
@@ -2024,31 +1932,23 @@ export type AdminReconcileTrackerSubscriptionErrors = {
2024
1932
  */
2025
1933
  503: ProblemDetails;
2026
1934
  };
2027
- export type AdminReconcileTrackerSubscriptionError = AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
2028
- export type AdminReconcileTrackerSubscriptionResponses = {
1935
+ export type AdminRefreshSubscriptionError = AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
1936
+ export type AdminRefreshSubscriptionResponses = {
2029
1937
  /**
2030
1938
  * Accepted
2031
1939
  */
2032
1940
  202: CommandSuccess;
2033
1941
  };
2034
- export type AdminReconcileTrackerSubscriptionResponse = AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
2035
- export type AdminUploadTrackerPhotoData = {
2036
- body: {
2037
- /**
2038
- * JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
2039
- */
2040
- file: Blob | File;
2041
- kind: "bike" | "installation" | "receipt";
2042
- width: number;
2043
- height: number;
2044
- };
2045
- path: {
2046
- trackerId: string;
1942
+ export type AdminRefreshSubscriptionResponse = AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
1943
+ export type AdminListFavoritesData = {
1944
+ body?: never;
1945
+ path?: never;
1946
+ query?: {
1947
+ cursor?: string;
2047
1948
  };
2048
- query?: never;
2049
- url: "/v1/admin/trackers/{trackerId}/photos";
1949
+ url: "/v1/admin/favorites";
2050
1950
  };
2051
- export type AdminUploadTrackerPhotoErrors = {
1951
+ export type AdminListFavoritesErrors = {
2052
1952
  /**
2053
1953
  * Bad Request
2054
1954
  */
@@ -2073,10 +1973,6 @@ export type AdminUploadTrackerPhotoErrors = {
2073
1973
  * Payload Too Large
2074
1974
  */
2075
1975
  413: ProblemDetails;
2076
- /**
2077
- * Unsupported Media Type
2078
- */
2079
- 415: ProblemDetails;
2080
1976
  /**
2081
1977
  * Too Many Requests
2082
1978
  */
@@ -2094,23 +1990,23 @@ export type AdminUploadTrackerPhotoErrors = {
2094
1990
  */
2095
1991
  503: ProblemDetails;
2096
1992
  };
2097
- export type AdminUploadTrackerPhotoError = AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
2098
- export type AdminUploadTrackerPhotoResponses = {
1993
+ export type AdminListFavoritesError = AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
1994
+ export type AdminListFavoritesResponses = {
2099
1995
  /**
2100
1996
  * OK
2101
1997
  */
2102
- 200: PhotoUploadResult;
1998
+ 200: AdminReadResult;
2103
1999
  };
2104
- export type AdminUploadTrackerPhotoResponse = AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
2105
- export type AdminSubscribeTrackerData = {
2000
+ export type AdminListFavoritesResponse = AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
2001
+ export type AdminDeleteFavoriteData = {
2106
2002
  body?: never;
2107
2003
  path: {
2108
2004
  trackerId: string;
2109
2005
  };
2110
2006
  query?: never;
2111
- url: "/v1/admin/trackers/{trackerId}/stream";
2007
+ url: "/v1/admin/favorites/{trackerId}";
2112
2008
  };
2113
- export type AdminSubscribeTrackerErrors = {
2009
+ export type AdminDeleteFavoriteErrors = {
2114
2010
  /**
2115
2011
  * Bad Request
2116
2012
  */
@@ -2152,23 +2048,23 @@ export type AdminSubscribeTrackerErrors = {
2152
2048
  */
2153
2049
  503: ProblemDetails;
2154
2050
  };
2155
- export type AdminSubscribeTrackerError = AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
2156
- export type AdminSubscribeTrackerResponses = {
2051
+ export type AdminDeleteFavoriteError = AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
2052
+ export type AdminDeleteFavoriteResponses = {
2157
2053
  /**
2158
2054
  * OK
2159
2055
  */
2160
- 200: AdminTrackerView | null;
2056
+ 200: CommandSuccess;
2161
2057
  };
2162
- export type AdminSubscribeTrackerResponse = AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
2163
- export type AdminGetUserData = {
2058
+ export type AdminDeleteFavoriteResponse = AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
2059
+ export type AdminGetFavoriteData = {
2164
2060
  body?: never;
2165
2061
  path: {
2166
- uid: string;
2062
+ trackerId: string;
2167
2063
  };
2168
2064
  query?: never;
2169
- url: "/v1/admin/users/{uid}";
2065
+ url: "/v1/admin/favorites/{trackerId}";
2170
2066
  };
2171
- export type AdminGetUserErrors = {
2067
+ export type AdminGetFavoriteErrors = {
2172
2068
  /**
2173
2069
  * Bad Request
2174
2070
  */
@@ -2210,21 +2106,23 @@ export type AdminGetUserErrors = {
2210
2106
  */
2211
2107
  503: ProblemDetails;
2212
2108
  };
2213
- export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
2214
- export type AdminGetUserResponses = {
2109
+ export type AdminGetFavoriteError = AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
2110
+ export type AdminGetFavoriteResponses = {
2215
2111
  /**
2216
2112
  * OK
2217
2113
  */
2218
2114
  200: AdminReadResult;
2219
2115
  };
2220
- export type AdminGetUserResponse = AdminGetUserResponses[keyof AdminGetUserResponses];
2221
- export type AdminLookupUsersData = {
2222
- body: AdminLookupRequest;
2223
- path?: never;
2116
+ export type AdminGetFavoriteResponse = AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
2117
+ export type AdminUpdateFavoriteCommentData = {
2118
+ body: AdminFavoriteRequest;
2119
+ path: {
2120
+ trackerId: string;
2121
+ };
2224
2122
  query?: never;
2225
- url: "/v1/admin/users/lookup";
2123
+ url: "/v1/admin/favorites/{trackerId}";
2226
2124
  };
2227
- export type AdminLookupUsersErrors = {
2125
+ export type AdminUpdateFavoriteCommentErrors = {
2228
2126
  /**
2229
2127
  * Bad Request
2230
2128
  */
@@ -2270,23 +2168,23 @@ export type AdminLookupUsersErrors = {
2270
2168
  */
2271
2169
  503: ProblemDetails;
2272
2170
  };
2273
- export type AdminLookupUsersError = AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
2274
- export type AdminLookupUsersResponses = {
2171
+ export type AdminUpdateFavoriteCommentError = AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
2172
+ export type AdminUpdateFavoriteCommentResponses = {
2275
2173
  /**
2276
2174
  * OK
2277
2175
  */
2278
- 200: AdminLookupResult;
2176
+ 200: CommandSuccess;
2279
2177
  };
2280
- export type AdminLookupUsersResponse = AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
2281
- export type AdminRequestUserInsuranceData = {
2282
- body: AdminRequestId;
2178
+ export type AdminUpdateFavoriteCommentResponse = AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
2179
+ export type AdminPutFavoriteData = {
2180
+ body: AdminFavoriteRequest;
2283
2181
  path: {
2284
- uid: string;
2182
+ trackerId: string;
2285
2183
  };
2286
2184
  query?: never;
2287
- url: "/v1/admin/users/{uid}/insurance-requests";
2185
+ url: "/v1/admin/favorites/{trackerId}";
2288
2186
  };
2289
- export type AdminRequestUserInsuranceErrors = {
2187
+ export type AdminPutFavoriteErrors = {
2290
2188
  /**
2291
2189
  * Bad Request
2292
2190
  */
@@ -2332,23 +2230,21 @@ export type AdminRequestUserInsuranceErrors = {
2332
2230
  */
2333
2231
  503: ProblemDetails;
2334
2232
  };
2335
- export type AdminRequestUserInsuranceError = AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
2336
- export type AdminRequestUserInsuranceResponses = {
2233
+ export type AdminPutFavoriteError = AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
2234
+ export type AdminPutFavoriteResponses = {
2337
2235
  /**
2338
- * Accepted
2236
+ * OK
2339
2237
  */
2340
- 202: CommandSuccess;
2238
+ 200: CommandSuccess;
2341
2239
  };
2342
- export type AdminRequestUserInsuranceResponse = AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
2343
- export type AdminLinkSingleSubscriptionData = {
2344
- body: AdminRequestId;
2345
- path: {
2346
- uid: string;
2347
- };
2240
+ export type AdminPutFavoriteResponse = AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
2241
+ export type AdminCreateB2bSubscriptionData = {
2242
+ body: AdminB2bSubscriptionRequest;
2243
+ path?: never;
2348
2244
  query?: never;
2349
- url: "/v1/admin/users/{uid}/subscription-link-requests";
2245
+ url: "/v1/admin/b2b/subscriptions";
2350
2246
  };
2351
- export type AdminLinkSingleSubscriptionErrors = {
2247
+ export type AdminCreateB2bSubscriptionErrors = {
2352
2248
  /**
2353
2249
  * Bad Request
2354
2250
  */
@@ -2394,23 +2290,23 @@ export type AdminLinkSingleSubscriptionErrors = {
2394
2290
  */
2395
2291
  503: ProblemDetails;
2396
2292
  };
2397
- export type AdminLinkSingleSubscriptionError = AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
2398
- export type AdminLinkSingleSubscriptionResponses = {
2293
+ export type AdminCreateB2bSubscriptionError = AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
2294
+ export type AdminCreateB2bSubscriptionResponses = {
2399
2295
  /**
2400
- * OK
2296
+ * Created
2401
2297
  */
2402
- 200: CommandSuccess;
2298
+ 201: AdminB2bSubscriptionResult;
2403
2299
  };
2404
- export type AdminLinkSingleSubscriptionResponse = AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2405
- export type AdminGetSubscriptionData = {
2300
+ export type AdminCreateB2bSubscriptionResponse = AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
2301
+ export type AdminCancelB2bSubscriptionData = {
2406
2302
  body?: never;
2407
2303
  path: {
2408
2304
  subscriptionId: string;
2409
2305
  };
2410
2306
  query?: never;
2411
- url: "/v1/admin/subscriptions/{subscriptionId}";
2307
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
2412
2308
  };
2413
- export type AdminGetSubscriptionErrors = {
2309
+ export type AdminCancelB2bSubscriptionErrors = {
2414
2310
  /**
2415
2311
  * Bad Request
2416
2312
  */
@@ -2452,25 +2348,23 @@ export type AdminGetSubscriptionErrors = {
2452
2348
  */
2453
2349
  503: ProblemDetails;
2454
2350
  };
2455
- export type AdminGetSubscriptionError = AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
2456
- export type AdminGetSubscriptionResponses = {
2351
+ export type AdminCancelB2bSubscriptionError = AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
2352
+ export type AdminCancelB2bSubscriptionResponses = {
2457
2353
  /**
2458
2354
  * OK
2459
2355
  */
2460
- 200: AdminReadResult;
2356
+ 200: CommandSuccess;
2461
2357
  };
2462
- export type AdminGetSubscriptionResponse = AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
2463
- export type AdminSearchSubscriptionsData = {
2358
+ export type AdminCancelB2bSubscriptionResponse = AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
2359
+ export type AdminSyncB2bInsuranceData = {
2464
2360
  body?: never;
2465
- path?: never;
2466
- query: {
2467
- kind: "b2b" | "uid" | "wooId";
2468
- value?: string;
2469
- cursor?: string;
2361
+ path: {
2362
+ subscriptionId: string;
2470
2363
  };
2471
- url: "/v1/admin/subscriptions";
2364
+ query?: never;
2365
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
2472
2366
  };
2473
- export type AdminSearchSubscriptionsErrors = {
2367
+ export type AdminSyncB2bInsuranceErrors = {
2474
2368
  /**
2475
2369
  * Bad Request
2476
2370
  */
@@ -2512,26 +2406,21 @@ export type AdminSearchSubscriptionsErrors = {
2512
2406
  */
2513
2407
  503: ProblemDetails;
2514
2408
  };
2515
- export type AdminSearchSubscriptionsError = AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
2516
- export type AdminSearchSubscriptionsResponses = {
2409
+ export type AdminSyncB2bInsuranceError = AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
2410
+ export type AdminSyncB2bInsuranceResponses = {
2517
2411
  /**
2518
- * OK
2412
+ * Accepted
2519
2413
  */
2520
- 200: AdminReadResult;
2414
+ 202: CommandSuccess;
2521
2415
  };
2522
- export type AdminSearchSubscriptionsResponse = AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
2523
- export type AdminListInsuranceData = {
2416
+ export type AdminSyncB2bInsuranceResponse = AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
2417
+ export type AdminSyncAllB2bInsuranceData = {
2524
2418
  body?: never;
2525
- path: {
2526
- subscriptionId: string;
2527
- provider: "cycler" | "hepster" | "tryg";
2528
- };
2529
- query?: {
2530
- cursor?: string;
2531
- };
2532
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
2419
+ path?: never;
2420
+ query?: never;
2421
+ url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
2533
2422
  };
2534
- export type AdminListInsuranceErrors = {
2423
+ export type AdminSyncAllB2bInsuranceErrors = {
2535
2424
  /**
2536
2425
  * Bad Request
2537
2426
  */
@@ -2573,23 +2462,23 @@ export type AdminListInsuranceErrors = {
2573
2462
  */
2574
2463
  503: ProblemDetails;
2575
2464
  };
2576
- export type AdminListInsuranceError = AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
2577
- export type AdminListInsuranceResponses = {
2465
+ export type AdminSyncAllB2bInsuranceError = AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
2466
+ export type AdminSyncAllB2bInsuranceResponses = {
2578
2467
  /**
2579
- * OK
2468
+ * Accepted
2580
2469
  */
2581
- 200: AdminReadResult;
2470
+ 202: CommandSuccess;
2582
2471
  };
2583
- export type AdminListInsuranceResponse = AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
2584
- export type AdminRequestSubscriptionInsuranceData = {
2585
- body: AdminRequestId;
2472
+ export type AdminSyncAllB2bInsuranceResponse = AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
2473
+ export type SupportQueryTrackerOperationalEvidenceData = {
2474
+ body: SupportOperationalEvidenceRequest;
2586
2475
  path: {
2587
- subscriptionId: string;
2476
+ trackerId: string;
2588
2477
  };
2589
2478
  query?: never;
2590
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
2479
+ url: "/v1/support/trackers/{trackerId}/operational-queries";
2591
2480
  };
2592
- export type AdminRequestSubscriptionInsuranceErrors = {
2481
+ export type SupportQueryTrackerOperationalEvidenceErrors = {
2593
2482
  /**
2594
2483
  * Bad Request
2595
2484
  */
@@ -2602,10 +2491,6 @@ export type AdminRequestSubscriptionInsuranceErrors = {
2602
2491
  * Forbidden
2603
2492
  */
2604
2493
  403: ProblemDetails;
2605
- /**
2606
- * Not Found
2607
- */
2608
- 404: ProblemDetails;
2609
2494
  /**
2610
2495
  * Conflict
2611
2496
  */
@@ -2635,23 +2520,23 @@ export type AdminRequestSubscriptionInsuranceErrors = {
2635
2520
  */
2636
2521
  503: ProblemDetails;
2637
2522
  };
2638
- export type AdminRequestSubscriptionInsuranceError = AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
2639
- export type AdminRequestSubscriptionInsuranceResponses = {
2523
+ export type SupportQueryTrackerOperationalEvidenceError = SupportQueryTrackerOperationalEvidenceErrors[keyof SupportQueryTrackerOperationalEvidenceErrors];
2524
+ export type SupportQueryTrackerOperationalEvidenceResponses = {
2640
2525
  /**
2641
- * Accepted
2526
+ * OK
2642
2527
  */
2643
- 202: CommandSuccess;
2528
+ 200: SupportOperationalEvidence;
2644
2529
  };
2645
- export type AdminRequestSubscriptionInsuranceResponse = AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
2646
- export type AdminRefreshSubscriptionData = {
2647
- body: AdminRequestId;
2530
+ export type SupportQueryTrackerOperationalEvidenceResponse = SupportQueryTrackerOperationalEvidenceResponses[keyof SupportQueryTrackerOperationalEvidenceResponses];
2531
+ export type SupportQueryTrackerJobEvidenceData = {
2532
+ body: SupportEvidencePageRequest;
2648
2533
  path: {
2649
- subscriptionId: string;
2534
+ trackerId: string;
2650
2535
  };
2651
2536
  query?: never;
2652
- url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
2537
+ url: "/v1/support/trackers/{trackerId}/job-queries";
2653
2538
  };
2654
- export type AdminRefreshSubscriptionErrors = {
2539
+ export type SupportQueryTrackerJobEvidenceErrors = {
2655
2540
  /**
2656
2541
  * Bad Request
2657
2542
  */
@@ -2664,10 +2549,6 @@ export type AdminRefreshSubscriptionErrors = {
2664
2549
  * Forbidden
2665
2550
  */
2666
2551
  403: ProblemDetails;
2667
- /**
2668
- * Not Found
2669
- */
2670
- 404: ProblemDetails;
2671
2552
  /**
2672
2553
  * Conflict
2673
2554
  */
@@ -2697,23 +2578,23 @@ export type AdminRefreshSubscriptionErrors = {
2697
2578
  */
2698
2579
  503: ProblemDetails;
2699
2580
  };
2700
- export type AdminRefreshSubscriptionError = AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
2701
- export type AdminRefreshSubscriptionResponses = {
2581
+ export type SupportQueryTrackerJobEvidenceError = SupportQueryTrackerJobEvidenceErrors[keyof SupportQueryTrackerJobEvidenceErrors];
2582
+ export type SupportQueryTrackerJobEvidenceResponses = {
2702
2583
  /**
2703
- * Accepted
2584
+ * OK
2704
2585
  */
2705
- 202: CommandSuccess;
2586
+ 200: SupportEvidencePage;
2706
2587
  };
2707
- export type AdminRefreshSubscriptionResponse = AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
2708
- export type AdminListFavoritesData = {
2709
- body?: never;
2710
- path?: never;
2711
- query?: {
2712
- cursor?: string;
2588
+ export type SupportQueryTrackerJobEvidenceResponse = SupportQueryTrackerJobEvidenceResponses[keyof SupportQueryTrackerJobEvidenceResponses];
2589
+ export type SupportQuerySubscriptionInsuranceEvidenceData = {
2590
+ body: SupportInsuranceEvidenceRequest;
2591
+ path: {
2592
+ subscriptionId: string;
2713
2593
  };
2714
- url: "/v1/admin/favorites";
2594
+ query?: never;
2595
+ url: "/v1/support/subscriptions/{subscriptionId}/insurance-queries";
2715
2596
  };
2716
- export type AdminListFavoritesErrors = {
2597
+ export type SupportQuerySubscriptionInsuranceEvidenceErrors = {
2717
2598
  /**
2718
2599
  * Bad Request
2719
2600
  */
@@ -2726,10 +2607,6 @@ export type AdminListFavoritesErrors = {
2726
2607
  * Forbidden
2727
2608
  */
2728
2609
  403: ProblemDetails;
2729
- /**
2730
- * Not Found
2731
- */
2732
- 404: ProblemDetails;
2733
2610
  /**
2734
2611
  * Conflict
2735
2612
  */
@@ -2738,6 +2615,10 @@ export type AdminListFavoritesErrors = {
2738
2615
  * Payload Too Large
2739
2616
  */
2740
2617
  413: ProblemDetails;
2618
+ /**
2619
+ * Unsupported Media Type
2620
+ */
2621
+ 415: ProblemDetails;
2741
2622
  /**
2742
2623
  * Too Many Requests
2743
2624
  */
@@ -2755,23 +2636,25 @@ export type AdminListFavoritesErrors = {
2755
2636
  */
2756
2637
  503: ProblemDetails;
2757
2638
  };
2758
- export type AdminListFavoritesError = AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
2759
- export type AdminListFavoritesResponses = {
2639
+ export type SupportQuerySubscriptionInsuranceEvidenceError = SupportQuerySubscriptionInsuranceEvidenceErrors[keyof SupportQuerySubscriptionInsuranceEvidenceErrors];
2640
+ export type SupportQuerySubscriptionInsuranceEvidenceResponses = {
2760
2641
  /**
2761
2642
  * OK
2762
2643
  */
2763
- 200: AdminReadResult;
2644
+ 200: SupportEvidencePage;
2764
2645
  };
2765
- export type AdminListFavoritesResponse = AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
2766
- export type AdminDeleteFavoriteData = {
2646
+ export type SupportQuerySubscriptionInsuranceEvidenceResponse = SupportQuerySubscriptionInsuranceEvidenceResponses[keyof SupportQuerySubscriptionInsuranceEvidenceResponses];
2647
+ export type SupportListAccountTrackerEvidenceData = {
2767
2648
  body?: never;
2768
2649
  path: {
2769
- trackerId: string;
2650
+ accountId: string;
2770
2651
  };
2771
- query?: never;
2772
- url: "/v1/admin/favorites/{trackerId}";
2652
+ query?: {
2653
+ after?: string;
2654
+ };
2655
+ url: "/v1/support/accounts/{accountId}/trackers";
2773
2656
  };
2774
- export type AdminDeleteFavoriteErrors = {
2657
+ export type SupportListAccountTrackerEvidenceErrors = {
2775
2658
  /**
2776
2659
  * Bad Request
2777
2660
  */
@@ -2784,10 +2667,6 @@ export type AdminDeleteFavoriteErrors = {
2784
2667
  * Forbidden
2785
2668
  */
2786
2669
  403: ProblemDetails;
2787
- /**
2788
- * Not Found
2789
- */
2790
- 404: ProblemDetails;
2791
2670
  /**
2792
2671
  * Conflict
2793
2672
  */
@@ -2813,23 +2692,25 @@ export type AdminDeleteFavoriteErrors = {
2813
2692
  */
2814
2693
  503: ProblemDetails;
2815
2694
  };
2816
- export type AdminDeleteFavoriteError = AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
2817
- export type AdminDeleteFavoriteResponses = {
2695
+ export type SupportListAccountTrackerEvidenceError = SupportListAccountTrackerEvidenceErrors[keyof SupportListAccountTrackerEvidenceErrors];
2696
+ export type SupportListAccountTrackerEvidenceResponses = {
2818
2697
  /**
2819
2698
  * OK
2820
2699
  */
2821
- 200: CommandSuccess;
2700
+ 200: SupportEvidenceSnapshot;
2822
2701
  };
2823
- export type AdminDeleteFavoriteResponse = AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
2824
- export type AdminGetFavoriteData = {
2702
+ export type SupportListAccountTrackerEvidenceResponse = SupportListAccountTrackerEvidenceResponses[keyof SupportListAccountTrackerEvidenceResponses];
2703
+ export type SupportListAccountSubscriptionEvidenceData = {
2825
2704
  body?: never;
2826
2705
  path: {
2827
- trackerId: string;
2706
+ accountId: string;
2828
2707
  };
2829
- query?: never;
2830
- url: "/v1/admin/favorites/{trackerId}";
2708
+ query?: {
2709
+ after?: string;
2710
+ };
2711
+ url: "/v1/support/accounts/{accountId}/subscriptions";
2831
2712
  };
2832
- export type AdminGetFavoriteErrors = {
2713
+ export type SupportListAccountSubscriptionEvidenceErrors = {
2833
2714
  /**
2834
2715
  * Bad Request
2835
2716
  */
@@ -2842,10 +2723,6 @@ export type AdminGetFavoriteErrors = {
2842
2723
  * Forbidden
2843
2724
  */
2844
2725
  403: ProblemDetails;
2845
- /**
2846
- * Not Found
2847
- */
2848
- 404: ProblemDetails;
2849
2726
  /**
2850
2727
  * Conflict
2851
2728
  */
@@ -2871,23 +2748,21 @@ export type AdminGetFavoriteErrors = {
2871
2748
  */
2872
2749
  503: ProblemDetails;
2873
2750
  };
2874
- export type AdminGetFavoriteError = AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
2875
- export type AdminGetFavoriteResponses = {
2751
+ export type SupportListAccountSubscriptionEvidenceError = SupportListAccountSubscriptionEvidenceErrors[keyof SupportListAccountSubscriptionEvidenceErrors];
2752
+ export type SupportListAccountSubscriptionEvidenceResponses = {
2876
2753
  /**
2877
2754
  * OK
2878
2755
  */
2879
- 200: AdminReadResult;
2756
+ 200: SupportEvidenceSnapshot;
2880
2757
  };
2881
- export type AdminGetFavoriteResponse = AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
2882
- export type AdminUpdateFavoriteCommentData = {
2883
- body: AdminFavoriteRequest;
2884
- path: {
2885
- trackerId: string;
2886
- };
2758
+ export type SupportListAccountSubscriptionEvidenceResponse = SupportListAccountSubscriptionEvidenceResponses[keyof SupportListAccountSubscriptionEvidenceResponses];
2759
+ export type SupportQueryTrackerFactEvidenceData = {
2760
+ body: SupportTrackerFactsRequest;
2761
+ path?: never;
2887
2762
  query?: never;
2888
- url: "/v1/admin/favorites/{trackerId}";
2763
+ url: "/v1/support/tracker-fact-queries";
2889
2764
  };
2890
- export type AdminUpdateFavoriteCommentErrors = {
2765
+ export type SupportQueryTrackerFactEvidenceErrors = {
2891
2766
  /**
2892
2767
  * Bad Request
2893
2768
  */
@@ -2900,10 +2775,6 @@ export type AdminUpdateFavoriteCommentErrors = {
2900
2775
  * Forbidden
2901
2776
  */
2902
2777
  403: ProblemDetails;
2903
- /**
2904
- * Not Found
2905
- */
2906
- 404: ProblemDetails;
2907
2778
  /**
2908
2779
  * Conflict
2909
2780
  */
@@ -2933,23 +2804,25 @@ export type AdminUpdateFavoriteCommentErrors = {
2933
2804
  */
2934
2805
  503: ProblemDetails;
2935
2806
  };
2936
- export type AdminUpdateFavoriteCommentError = AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
2937
- export type AdminUpdateFavoriteCommentResponses = {
2807
+ export type SupportQueryTrackerFactEvidenceError = SupportQueryTrackerFactEvidenceErrors[keyof SupportQueryTrackerFactEvidenceErrors];
2808
+ export type SupportQueryTrackerFactEvidenceResponses = {
2938
2809
  /**
2939
2810
  * OK
2940
2811
  */
2941
- 200: CommandSuccess;
2812
+ 200: SupportEvidenceSnapshot;
2942
2813
  };
2943
- export type AdminUpdateFavoriteCommentResponse = AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
2944
- export type AdminPutFavoriteData = {
2945
- body: AdminFavoriteRequest;
2814
+ export type SupportQueryTrackerFactEvidenceResponse = SupportQueryTrackerFactEvidenceResponses[keyof SupportQueryTrackerFactEvidenceResponses];
2815
+ export type SupportGetSubscriptionFactEvidenceData = {
2816
+ body?: never;
2946
2817
  path: {
2947
- trackerId: string;
2818
+ subscriptionId: string;
2948
2819
  };
2949
- query?: never;
2950
- url: "/v1/admin/favorites/{trackerId}";
2820
+ query: {
2821
+ domain: "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
2822
+ };
2823
+ url: "/v1/support/subscriptions/{subscriptionId}";
2951
2824
  };
2952
- export type AdminPutFavoriteErrors = {
2825
+ export type SupportGetSubscriptionFactEvidenceErrors = {
2953
2826
  /**
2954
2827
  * Bad Request
2955
2828
  */
@@ -2962,10 +2835,6 @@ export type AdminPutFavoriteErrors = {
2962
2835
  * Forbidden
2963
2836
  */
2964
2837
  403: ProblemDetails;
2965
- /**
2966
- * Not Found
2967
- */
2968
- 404: ProblemDetails;
2969
2838
  /**
2970
2839
  * Conflict
2971
2840
  */
@@ -2974,10 +2843,6 @@ export type AdminPutFavoriteErrors = {
2974
2843
  * Payload Too Large
2975
2844
  */
2976
2845
  413: ProblemDetails;
2977
- /**
2978
- * Unsupported Media Type
2979
- */
2980
- 415: ProblemDetails;
2981
2846
  /**
2982
2847
  * Too Many Requests
2983
2848
  */
@@ -2995,21 +2860,23 @@ export type AdminPutFavoriteErrors = {
2995
2860
  */
2996
2861
  503: ProblemDetails;
2997
2862
  };
2998
- export type AdminPutFavoriteError = AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
2999
- export type AdminPutFavoriteResponses = {
2863
+ export type SupportGetSubscriptionFactEvidenceError = SupportGetSubscriptionFactEvidenceErrors[keyof SupportGetSubscriptionFactEvidenceErrors];
2864
+ export type SupportGetSubscriptionFactEvidenceResponses = {
3000
2865
  /**
3001
2866
  * OK
3002
2867
  */
3003
- 200: CommandSuccess;
2868
+ 200: SupportEvidenceSnapshot;
3004
2869
  };
3005
- export type AdminPutFavoriteResponse = AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
3006
- export type AdminCreateB2bSubscriptionData = {
3007
- body: AdminB2bSubscriptionRequest;
3008
- path?: never;
2870
+ export type SupportGetSubscriptionFactEvidenceResponse = SupportGetSubscriptionFactEvidenceResponses[keyof SupportGetSubscriptionFactEvidenceResponses];
2871
+ export type SupportQueryTrackerSubscriptionEvidenceData = {
2872
+ body: SupportEvidenceAccountsRequest;
2873
+ path: {
2874
+ trackerId: string;
2875
+ };
3009
2876
  query?: never;
3010
- url: "/v1/admin/b2b/subscriptions";
2877
+ url: "/v1/support/trackers/{trackerId}/subscription-queries";
3011
2878
  };
3012
- export type AdminCreateB2bSubscriptionErrors = {
2879
+ export type SupportQueryTrackerSubscriptionEvidenceErrors = {
3013
2880
  /**
3014
2881
  * Bad Request
3015
2882
  */
@@ -3022,10 +2889,6 @@ export type AdminCreateB2bSubscriptionErrors = {
3022
2889
  * Forbidden
3023
2890
  */
3024
2891
  403: ProblemDetails;
3025
- /**
3026
- * Not Found
3027
- */
3028
- 404: ProblemDetails;
3029
2892
  /**
3030
2893
  * Conflict
3031
2894
  */
@@ -3055,23 +2918,23 @@ export type AdminCreateB2bSubscriptionErrors = {
3055
2918
  */
3056
2919
  503: ProblemDetails;
3057
2920
  };
3058
- export type AdminCreateB2bSubscriptionError = AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
3059
- export type AdminCreateB2bSubscriptionResponses = {
2921
+ export type SupportQueryTrackerSubscriptionEvidenceError = SupportQueryTrackerSubscriptionEvidenceErrors[keyof SupportQueryTrackerSubscriptionEvidenceErrors];
2922
+ export type SupportQueryTrackerSubscriptionEvidenceResponses = {
3060
2923
  /**
3061
- * Created
2924
+ * OK
3062
2925
  */
3063
- 201: AdminB2bSubscriptionResult;
2926
+ 200: SupportEvidenceSnapshot;
3064
2927
  };
3065
- export type AdminCreateB2bSubscriptionResponse = AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
3066
- export type AdminCancelB2bSubscriptionData = {
3067
- body?: never;
2928
+ export type SupportQueryTrackerSubscriptionEvidenceResponse = SupportQueryTrackerSubscriptionEvidenceResponses[keyof SupportQueryTrackerSubscriptionEvidenceResponses];
2929
+ export type SupportQueryCommerceBindingEvidenceData = {
2930
+ body: SupportEvidenceAccountsRequest;
3068
2931
  path: {
3069
- subscriptionId: string;
2932
+ wooId: number;
3070
2933
  };
3071
2934
  query?: never;
3072
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
2935
+ url: "/v1/support/commerce-subscriptions/{wooId}/binding-queries";
3073
2936
  };
3074
- export type AdminCancelB2bSubscriptionErrors = {
2937
+ export type SupportQueryCommerceBindingEvidenceErrors = {
3075
2938
  /**
3076
2939
  * Bad Request
3077
2940
  */
@@ -3084,10 +2947,6 @@ export type AdminCancelB2bSubscriptionErrors = {
3084
2947
  * Forbidden
3085
2948
  */
3086
2949
  403: ProblemDetails;
3087
- /**
3088
- * Not Found
3089
- */
3090
- 404: ProblemDetails;
3091
2950
  /**
3092
2951
  * Conflict
3093
2952
  */
@@ -3096,6 +2955,10 @@ export type AdminCancelB2bSubscriptionErrors = {
3096
2955
  * Payload Too Large
3097
2956
  */
3098
2957
  413: ProblemDetails;
2958
+ /**
2959
+ * Unsupported Media Type
2960
+ */
2961
+ 415: ProblemDetails;
3099
2962
  /**
3100
2963
  * Too Many Requests
3101
2964
  */
@@ -3113,23 +2976,23 @@ export type AdminCancelB2bSubscriptionErrors = {
3113
2976
  */
3114
2977
  503: ProblemDetails;
3115
2978
  };
3116
- export type AdminCancelB2bSubscriptionError = AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
3117
- export type AdminCancelB2bSubscriptionResponses = {
2979
+ export type SupportQueryCommerceBindingEvidenceError = SupportQueryCommerceBindingEvidenceErrors[keyof SupportQueryCommerceBindingEvidenceErrors];
2980
+ export type SupportQueryCommerceBindingEvidenceResponses = {
3118
2981
  /**
3119
2982
  * OK
3120
2983
  */
3121
- 200: CommandSuccess;
2984
+ 200: SupportEvidenceSnapshot;
3122
2985
  };
3123
- export type AdminCancelB2bSubscriptionResponse = AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
3124
- export type AdminSyncB2bInsuranceData = {
3125
- body?: never;
2986
+ export type SupportQueryCommerceBindingEvidenceResponse = SupportQueryCommerceBindingEvidenceResponses[keyof SupportQueryCommerceBindingEvidenceResponses];
2987
+ export type SupportQueryTrackerHistoryEvidenceData = {
2988
+ body: SupportEvidenceHistoryRequest;
3126
2989
  path: {
3127
- subscriptionId: string;
2990
+ trackerId: string;
3128
2991
  };
3129
2992
  query?: never;
3130
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
2993
+ url: "/v1/support/trackers/{trackerId}/history-queries";
3131
2994
  };
3132
- export type AdminSyncB2bInsuranceErrors = {
2995
+ export type SupportQueryTrackerHistoryEvidenceErrors = {
3133
2996
  /**
3134
2997
  * Bad Request
3135
2998
  */
@@ -3142,10 +3005,6 @@ export type AdminSyncB2bInsuranceErrors = {
3142
3005
  * Forbidden
3143
3006
  */
3144
3007
  403: ProblemDetails;
3145
- /**
3146
- * Not Found
3147
- */
3148
- 404: ProblemDetails;
3149
3008
  /**
3150
3009
  * Conflict
3151
3010
  */
@@ -3154,6 +3013,10 @@ export type AdminSyncB2bInsuranceErrors = {
3154
3013
  * Payload Too Large
3155
3014
  */
3156
3015
  413: ProblemDetails;
3016
+ /**
3017
+ * Unsupported Media Type
3018
+ */
3019
+ 415: ProblemDetails;
3157
3020
  /**
3158
3021
  * Too Many Requests
3159
3022
  */
@@ -3171,21 +3034,23 @@ export type AdminSyncB2bInsuranceErrors = {
3171
3034
  */
3172
3035
  503: ProblemDetails;
3173
3036
  };
3174
- export type AdminSyncB2bInsuranceError = AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
3175
- export type AdminSyncB2bInsuranceResponses = {
3037
+ export type SupportQueryTrackerHistoryEvidenceError = SupportQueryTrackerHistoryEvidenceErrors[keyof SupportQueryTrackerHistoryEvidenceErrors];
3038
+ export type SupportQueryTrackerHistoryEvidenceResponses = {
3176
3039
  /**
3177
- * Accepted
3040
+ * OK
3178
3041
  */
3179
- 202: CommandSuccess;
3042
+ 200: SupportEvidenceSnapshot;
3180
3043
  };
3181
- export type AdminSyncB2bInsuranceResponse = AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
3182
- export type AdminSyncAllB2bInsuranceData = {
3183
- body?: never;
3184
- path?: never;
3044
+ export type SupportQueryTrackerHistoryEvidenceResponse = SupportQueryTrackerHistoryEvidenceResponses[keyof SupportQueryTrackerHistoryEvidenceResponses];
3045
+ export type SupportQueryTrackerRelationshipEvidenceData = {
3046
+ body: SupportRelationshipRequest;
3047
+ path: {
3048
+ trackerId: string;
3049
+ };
3185
3050
  query?: never;
3186
- url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
3051
+ url: "/v1/support/trackers/{trackerId}/relationship-queries";
3187
3052
  };
3188
- export type AdminSyncAllB2bInsuranceErrors = {
3053
+ export type SupportQueryTrackerRelationshipEvidenceErrors = {
3189
3054
  /**
3190
3055
  * Bad Request
3191
3056
  */
@@ -3198,10 +3063,6 @@ export type AdminSyncAllB2bInsuranceErrors = {
3198
3063
  * Forbidden
3199
3064
  */
3200
3065
  403: ProblemDetails;
3201
- /**
3202
- * Not Found
3203
- */
3204
- 404: ProblemDetails;
3205
3066
  /**
3206
3067
  * Conflict
3207
3068
  */
@@ -3210,6 +3071,10 @@ export type AdminSyncAllB2bInsuranceErrors = {
3210
3071
  * Payload Too Large
3211
3072
  */
3212
3073
  413: ProblemDetails;
3074
+ /**
3075
+ * Unsupported Media Type
3076
+ */
3077
+ 415: ProblemDetails;
3213
3078
  /**
3214
3079
  * Too Many Requests
3215
3080
  */
@@ -3227,12 +3092,12 @@ export type AdminSyncAllB2bInsuranceErrors = {
3227
3092
  */
3228
3093
  503: ProblemDetails;
3229
3094
  };
3230
- export type AdminSyncAllB2bInsuranceError = AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
3231
- export type AdminSyncAllB2bInsuranceResponses = {
3095
+ export type SupportQueryTrackerRelationshipEvidenceError = SupportQueryTrackerRelationshipEvidenceErrors[keyof SupportQueryTrackerRelationshipEvidenceErrors];
3096
+ export type SupportQueryTrackerRelationshipEvidenceResponses = {
3232
3097
  /**
3233
- * Accepted
3098
+ * OK
3234
3099
  */
3235
- 202: CommandSuccess;
3100
+ 200: SupportEvidenceSnapshot;
3236
3101
  };
3237
- export type AdminSyncAllB2bInsuranceResponse = AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
3102
+ export type SupportQueryTrackerRelationshipEvidenceResponse = SupportQueryTrackerRelationshipEvidenceResponses[keyof SupportQueryTrackerRelationshipEvidenceResponses];
3238
3103
  //# sourceMappingURL=types.gen.d.ts.map