@bikefinder/api-client 0.6.0 → 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 +46 -58
  5. package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
  6. package/dist/admin/generated/sdk.gen.js +480 -233
  7. package/dist/admin/generated/sdk.gen.js.map +1 -1
  8. package/dist/admin/generated/types.gen.d.ts +601 -824
  9. package/dist/admin/generated/types.gen.d.ts.map +1 -1
  10. package/dist/admin/generated/zod.gen.d.ts +1490 -3261
  11. package/dist/admin/generated/zod.gen.d.ts.map +1 -1
  12. package/dist/admin/generated/zod.gen.js +213 -305
  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 -97
  32. package/src/admin/generated/sdk.gen.ts +678 -468
  33. package/src/admin/generated/types.gen.ts +723 -976
  34. package/src/admin/generated/zod.gen.ts +261 -371
  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" | "shared";
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,64 +76,9 @@ export type AdminNotificationRequest = {
126
76
  supportTimestamp?: null | boolean;
127
77
  log?: null | string;
128
78
  };
129
- export type AdminOperationalDomain = {
130
- state: JsonElement;
131
- updatedAt: AdminTimestamp;
132
- };
133
- export type AdminOperationalDomains = {
134
- battery: null | AdminOperationalDomain;
135
- runtime: null | AdminOperationalDomain;
136
- statistics: null | AdminOperationalDomain;
137
- firmware: null | AdminOperationalDomain;
138
- };
139
- export type AdminOperationalEvidence = {
140
- domain: AdminEvidenceOperationalDomain;
141
- layout: AdminEvidenceLayout;
142
- snapshot: AdminEvidenceSnapshot;
143
- };
144
- export type AdminOperationalEvidenceRequest = {
145
- accountIds: Array<string>;
146
- domain: AdminEvidenceOperationalDomain;
147
- };
148
- export type AdminOperationalState = {
149
- schemaVersion: number;
150
- deviceId: string;
151
- deviceEpoch: string;
152
- deviceCreatedAt: AdminTimestamp;
153
- domains: AdminOperationalDomains;
154
- };
155
- export type AdminPublicStates = {
156
- contact: null | AdminDocument;
157
- battery: null | AdminDocument;
158
- location: null | AdminDocument;
159
- configuration: null | AdminDocument;
160
- };
161
79
  export type AdminReadResult = {
162
80
  documents: Array<AdminDocument>;
163
81
  nextCursor: null | string;
164
- states: null | AdminPublicStates;
165
- };
166
- export type AdminRelationshipChangeRequest = {
167
- accountIds: Array<string>;
168
- kind: AdminRelationshipKind;
169
- accountId: string;
170
- expectedVersion: string;
171
- subscriptionId?: null | string;
172
- allowLastAccountCleanup?: boolean;
173
- };
174
- export type AdminRelationshipKind = "subscriptionBinding" | "deviceAccount";
175
- export type AdminRelationshipRequest = {
176
- accountIds: Array<string>;
177
- kind: AdminRelationshipKind;
178
- };
179
- export type AdminRelationshipVerification = {
180
- verified: boolean;
181
- };
182
- export type AdminRelationshipVerificationRequest = {
183
- kind: AdminRelationshipKind;
184
- accountId: string;
185
- remainingAccountIds: Array<string>;
186
- subscriptionId?: null | string;
187
82
  };
188
83
  export type AdminRequestId = {
189
84
  requestId: string;
@@ -232,20 +127,13 @@ export type AdminTrackerCommandResult = {
232
127
  commandId: string;
233
128
  jobIds: Array<string>;
234
129
  };
235
- export type AdminTrackerFactsRequest = {
236
- target: string;
237
- accountIds: Array<string>;
238
- domain: AdminEvidenceDomain;
239
- };
240
130
  export type AdminTrackerView = {
241
131
  tracker: AdminReadResult;
242
- operationalState: null | AdminOperationalState;
243
132
  };
244
133
  export type CommandSuccess = {
245
134
  success: boolean;
246
135
  };
247
136
  export type IFormFile = Blob | File;
248
- export type JsonElement = unknown;
249
137
  export type PhotoUploadResult = {
250
138
  id: string;
251
139
  };
@@ -270,191 +158,80 @@ export type ProblemDetails = {
270
158
  [key: string]: Array<string>;
271
159
  };
272
160
  };
273
- export type AdminQueryTrackerOperationalEvidenceData = {
274
- body: AdminOperationalEvidenceRequest;
275
- path: {
276
- trackerId: string;
277
- };
278
- query?: never;
279
- url: "/v1/admin/product-evidence/trackers/{trackerId}/operational-queries";
161
+ export type SupportEvidenceAccountsRequest = {
162
+ accountIds: Array<string>;
280
163
  };
281
- export type AdminQueryTrackerOperationalEvidenceErrors = {
282
- /**
283
- * Bad Request
284
- */
285
- 400: ProblemDetails;
286
- /**
287
- * Unauthorized
288
- */
289
- 401: ProblemDetails;
290
- /**
291
- * Forbidden
292
- */
293
- 403: ProblemDetails;
294
- /**
295
- * Conflict
296
- */
297
- 409: ProblemDetails;
298
- /**
299
- * Payload Too Large
300
- */
301
- 413: ProblemDetails;
302
- /**
303
- * Unsupported Media Type
304
- */
305
- 415: ProblemDetails;
306
- /**
307
- * Too Many Requests
308
- */
309
- 429: ProblemDetails;
310
- /**
311
- * Internal Server Error
312
- */
313
- 500: ProblemDetails;
314
- /**
315
- * Bad Gateway
316
- */
317
- 502: ProblemDetails;
318
- /**
319
- * Service Unavailable
320
- */
321
- 503: ProblemDetails;
164
+ export type SupportEvidenceCursor = {
165
+ timestamp: AdminTimestamp;
166
+ id: string;
322
167
  };
323
- export type AdminQueryTrackerOperationalEvidenceError = AdminQueryTrackerOperationalEvidenceErrors[keyof AdminQueryTrackerOperationalEvidenceErrors];
324
- export type AdminQueryTrackerOperationalEvidenceResponses = {
325
- /**
326
- * OK
327
- */
328
- 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;
329
176
  };
330
- export type AdminQueryTrackerOperationalEvidenceResponse = AdminQueryTrackerOperationalEvidenceResponses[keyof AdminQueryTrackerOperationalEvidenceResponses];
331
- export type AdminQueryTrackerJobEvidenceData = {
332
- body: AdminEvidencePageRequest;
333
- path: {
334
- trackerId: string;
335
- };
336
- query?: never;
337
- url: "/v1/admin/product-evidence/trackers/{trackerId}/job-queries";
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;
338
194
  };
339
- export type AdminQueryTrackerJobEvidenceErrors = {
340
- /**
341
- * Bad Request
342
- */
343
- 400: ProblemDetails;
344
- /**
345
- * Unauthorized
346
- */
347
- 401: ProblemDetails;
348
- /**
349
- * Forbidden
350
- */
351
- 403: ProblemDetails;
352
- /**
353
- * Conflict
354
- */
355
- 409: ProblemDetails;
356
- /**
357
- * Payload Too Large
358
- */
359
- 413: ProblemDetails;
360
- /**
361
- * Unsupported Media Type
362
- */
363
- 415: ProblemDetails;
364
- /**
365
- * Too Many Requests
366
- */
367
- 429: ProblemDetails;
368
- /**
369
- * Internal Server Error
370
- */
371
- 500: ProblemDetails;
372
- /**
373
- * Bad Gateway
374
- */
375
- 502: ProblemDetails;
376
- /**
377
- * Service Unavailable
378
- */
379
- 503: ProblemDetails;
195
+ export type SupportEvidencePageRequest = {
196
+ accountIds: Array<string>;
197
+ after?: null | string;
380
198
  };
381
- export type AdminQueryTrackerJobEvidenceError = AdminQueryTrackerJobEvidenceErrors[keyof AdminQueryTrackerJobEvidenceErrors];
382
- export type AdminQueryTrackerJobEvidenceResponses = {
383
- /**
384
- * OK
385
- */
386
- 200: AdminEvidencePage;
199
+ export type SupportEvidenceSnapshot = {
200
+ documents: Array<SupportEvidenceDocument>;
201
+ relatedDocuments: Array<SupportEvidenceDocument>;
202
+ readAt: AdminTimestamp;
387
203
  };
388
- export type AdminQueryTrackerJobEvidenceResponse = AdminQueryTrackerJobEvidenceResponses[keyof AdminQueryTrackerJobEvidenceResponses];
389
- export type AdminQuerySubscriptionInsuranceEvidenceData = {
390
- body: AdminInsuranceEvidenceRequest;
391
- path: {
392
- subscriptionId: string;
393
- };
394
- query?: never;
395
- url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}/insurance-queries";
204
+ export type SupportInsuranceEvidenceRequest = {
205
+ accountIds: Array<string>;
206
+ provider: AdminInsuranceProvider;
207
+ records?: SupportEvidenceInsuranceRecords;
208
+ after?: null | string;
396
209
  };
397
- export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
398
- /**
399
- * Bad Request
400
- */
401
- 400: ProblemDetails;
402
- /**
403
- * Unauthorized
404
- */
405
- 401: ProblemDetails;
406
- /**
407
- * Forbidden
408
- */
409
- 403: ProblemDetails;
410
- /**
411
- * Conflict
412
- */
413
- 409: ProblemDetails;
414
- /**
415
- * Payload Too Large
416
- */
417
- 413: ProblemDetails;
418
- /**
419
- * Unsupported Media Type
420
- */
421
- 415: ProblemDetails;
422
- /**
423
- * Too Many Requests
424
- */
425
- 429: ProblemDetails;
426
- /**
427
- * Internal Server Error
428
- */
429
- 500: ProblemDetails;
430
- /**
431
- * Bad Gateway
432
- */
433
- 502: ProblemDetails;
434
- /**
435
- * Service Unavailable
436
- */
437
- 503: ProblemDetails;
210
+ export type SupportOperationalEvidence = {
211
+ domain: SupportEvidenceOperationalDomain;
212
+ snapshot: SupportEvidenceSnapshot;
438
213
  };
439
- export type AdminQuerySubscriptionInsuranceEvidenceError = AdminQuerySubscriptionInsuranceEvidenceErrors[keyof AdminQuerySubscriptionInsuranceEvidenceErrors];
440
- export type AdminQuerySubscriptionInsuranceEvidenceResponses = {
441
- /**
442
- * OK
443
- */
444
- 200: AdminEvidencePage;
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;
445
227
  };
446
- export type AdminQuerySubscriptionInsuranceEvidenceResponse = AdminQuerySubscriptionInsuranceEvidenceResponses[keyof AdminQuerySubscriptionInsuranceEvidenceResponses];
447
- export type AdminListAccountTrackerEvidenceData = {
228
+ export type AdminGetSessionData = {
448
229
  body?: never;
449
- path: {
450
- accountId: string;
451
- };
452
- query?: {
453
- after?: string;
454
- };
455
- url: "/v1/admin/product-evidence/accounts/{accountId}/trackers";
230
+ path?: never;
231
+ query?: never;
232
+ url: "/v1/admin/session";
456
233
  };
457
- export type AdminListAccountTrackerEvidenceErrors = {
234
+ export type AdminGetSessionErrors = {
458
235
  /**
459
236
  * Bad Request
460
237
  */
@@ -467,6 +244,10 @@ export type AdminListAccountTrackerEvidenceErrors = {
467
244
  * Forbidden
468
245
  */
469
246
  403: ProblemDetails;
247
+ /**
248
+ * Not Found
249
+ */
250
+ 404: ProblemDetails;
470
251
  /**
471
252
  * Conflict
472
253
  */
@@ -492,25 +273,23 @@ export type AdminListAccountTrackerEvidenceErrors = {
492
273
  */
493
274
  503: ProblemDetails;
494
275
  };
495
- export type AdminListAccountTrackerEvidenceError = AdminListAccountTrackerEvidenceErrors[keyof AdminListAccountTrackerEvidenceErrors];
496
- export type AdminListAccountTrackerEvidenceResponses = {
276
+ export type AdminGetSessionError = AdminGetSessionErrors[keyof AdminGetSessionErrors];
277
+ export type AdminGetSessionResponses = {
497
278
  /**
498
279
  * OK
499
280
  */
500
- 200: AdminEvidenceSnapshot;
281
+ 200: AdminSession;
501
282
  };
502
- export type AdminListAccountTrackerEvidenceResponse = AdminListAccountTrackerEvidenceResponses[keyof AdminListAccountTrackerEvidenceResponses];
503
- export type AdminListAccountSubscriptionEvidenceData = {
283
+ export type AdminGetSessionResponse = AdminGetSessionResponses[keyof AdminGetSessionResponses];
284
+ export type AdminGetTrackerData = {
504
285
  body?: never;
505
286
  path: {
506
- accountId: string;
507
- };
508
- query?: {
509
- after?: string;
287
+ trackerId: string;
510
288
  };
511
- url: "/v1/admin/product-evidence/accounts/{accountId}/subscriptions";
289
+ query?: never;
290
+ url: "/v1/admin/trackers/{trackerId}";
512
291
  };
513
- export type AdminListAccountSubscriptionEvidenceErrors = {
292
+ export type AdminGetTrackerErrors = {
514
293
  /**
515
294
  * Bad Request
516
295
  */
@@ -523,6 +302,10 @@ export type AdminListAccountSubscriptionEvidenceErrors = {
523
302
  * Forbidden
524
303
  */
525
304
  403: ProblemDetails;
305
+ /**
306
+ * Not Found
307
+ */
308
+ 404: ProblemDetails;
526
309
  /**
527
310
  * Conflict
528
311
  */
@@ -548,21 +331,25 @@ export type AdminListAccountSubscriptionEvidenceErrors = {
548
331
  */
549
332
  503: ProblemDetails;
550
333
  };
551
- export type AdminListAccountSubscriptionEvidenceError = AdminListAccountSubscriptionEvidenceErrors[keyof AdminListAccountSubscriptionEvidenceErrors];
552
- export type AdminListAccountSubscriptionEvidenceResponses = {
334
+ export type AdminGetTrackerError = AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
335
+ export type AdminGetTrackerResponses = {
553
336
  /**
554
337
  * OK
555
338
  */
556
- 200: AdminEvidenceSnapshot;
339
+ 200: AdminReadResult;
557
340
  };
558
- export type AdminListAccountSubscriptionEvidenceResponse = AdminListAccountSubscriptionEvidenceResponses[keyof AdminListAccountSubscriptionEvidenceResponses];
559
- export type AdminQueryTrackerFactEvidenceData = {
560
- body: AdminTrackerFactsRequest;
341
+ export type AdminGetTrackerResponse = AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
342
+ export type AdminSearchTrackersData = {
343
+ body?: never;
561
344
  path?: never;
562
- query?: never;
563
- url: "/v1/admin/product-evidence/tracker-fact-queries";
345
+ query: {
346
+ kind: "iccid" | "imei" | "subscriptionId" | "uid";
347
+ value: string;
348
+ cursor?: string;
349
+ };
350
+ url: "/v1/admin/trackers";
564
351
  };
565
- export type AdminQueryTrackerFactEvidenceErrors = {
352
+ export type AdminSearchTrackersErrors = {
566
353
  /**
567
354
  * Bad Request
568
355
  */
@@ -575,6 +362,10 @@ export type AdminQueryTrackerFactEvidenceErrors = {
575
362
  * Forbidden
576
363
  */
577
364
  403: ProblemDetails;
365
+ /**
366
+ * Not Found
367
+ */
368
+ 404: ProblemDetails;
578
369
  /**
579
370
  * Conflict
580
371
  */
@@ -583,10 +374,6 @@ export type AdminQueryTrackerFactEvidenceErrors = {
583
374
  * Payload Too Large
584
375
  */
585
376
  413: ProblemDetails;
586
- /**
587
- * Unsupported Media Type
588
- */
589
- 415: ProblemDetails;
590
377
  /**
591
378
  * Too Many Requests
592
379
  */
@@ -604,25 +391,34 @@ export type AdminQueryTrackerFactEvidenceErrors = {
604
391
  */
605
392
  503: ProblemDetails;
606
393
  };
607
- export type AdminQueryTrackerFactEvidenceError = AdminQueryTrackerFactEvidenceErrors[keyof AdminQueryTrackerFactEvidenceErrors];
608
- export type AdminQueryTrackerFactEvidenceResponses = {
394
+ export type AdminSearchTrackersError = AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
395
+ export type AdminSearchTrackersResponses = {
609
396
  /**
610
397
  * OK
611
398
  */
612
- 200: AdminEvidenceSnapshot;
399
+ 200: AdminReadResult;
613
400
  };
614
- export type AdminQueryTrackerFactEvidenceResponse = AdminQueryTrackerFactEvidenceResponses[keyof AdminQueryTrackerFactEvidenceResponses];
615
- export type AdminGetSubscriptionFactEvidenceData = {
401
+ export type AdminSearchTrackersResponse = AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
402
+ export type AdminListTrackerHistoryData = {
616
403
  body?: never;
617
404
  path: {
618
- subscriptionId: string;
405
+ trackerId: string;
406
+ collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
619
407
  };
620
- query: {
621
- domain: "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
408
+ query?: {
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;
622
418
  };
623
- url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}";
419
+ url: "/v1/admin/trackers/{trackerId}/history/{collection}";
624
420
  };
625
- export type AdminGetSubscriptionFactEvidenceErrors = {
421
+ export type AdminListTrackerHistoryErrors = {
626
422
  /**
627
423
  * Bad Request
628
424
  */
@@ -635,6 +431,10 @@ export type AdminGetSubscriptionFactEvidenceErrors = {
635
431
  * Forbidden
636
432
  */
637
433
  403: ProblemDetails;
434
+ /**
435
+ * Not Found
436
+ */
437
+ 404: ProblemDetails;
638
438
  /**
639
439
  * Conflict
640
440
  */
@@ -660,23 +460,23 @@ export type AdminGetSubscriptionFactEvidenceErrors = {
660
460
  */
661
461
  503: ProblemDetails;
662
462
  };
663
- export type AdminGetSubscriptionFactEvidenceError = AdminGetSubscriptionFactEvidenceErrors[keyof AdminGetSubscriptionFactEvidenceErrors];
664
- export type AdminGetSubscriptionFactEvidenceResponses = {
463
+ export type AdminListTrackerHistoryError = AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
464
+ export type AdminListTrackerHistoryResponses = {
665
465
  /**
666
466
  * OK
667
467
  */
668
- 200: AdminEvidenceSnapshot;
468
+ 200: AdminReadResult;
669
469
  };
670
- export type AdminGetSubscriptionFactEvidenceResponse = AdminGetSubscriptionFactEvidenceResponses[keyof AdminGetSubscriptionFactEvidenceResponses];
671
- export type AdminQueryTrackerSubscriptionEvidenceData = {
672
- body: AdminEvidenceAccountsRequest;
470
+ export type AdminListTrackerHistoryResponse = AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
471
+ export type AdminRequestTrackerModeData = {
472
+ body: AdminModeRequest;
673
473
  path: {
674
474
  trackerId: string;
675
475
  };
676
476
  query?: never;
677
- url: "/v1/admin/product-evidence/trackers/{trackerId}/subscription-queries";
477
+ url: "/v1/admin/trackers/{trackerId}/mode-requests";
678
478
  };
679
- export type AdminQueryTrackerSubscriptionEvidenceErrors = {
479
+ export type AdminRequestTrackerModeErrors = {
680
480
  /**
681
481
  * Bad Request
682
482
  */
@@ -689,6 +489,10 @@ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
689
489
  * Forbidden
690
490
  */
691
491
  403: ProblemDetails;
492
+ /**
493
+ * Not Found
494
+ */
495
+ 404: ProblemDetails;
692
496
  /**
693
497
  * Conflict
694
498
  */
@@ -718,23 +522,23 @@ export type AdminQueryTrackerSubscriptionEvidenceErrors = {
718
522
  */
719
523
  503: ProblemDetails;
720
524
  };
721
- export type AdminQueryTrackerSubscriptionEvidenceError = AdminQueryTrackerSubscriptionEvidenceErrors[keyof AdminQueryTrackerSubscriptionEvidenceErrors];
722
- export type AdminQueryTrackerSubscriptionEvidenceResponses = {
525
+ export type AdminRequestTrackerModeError = AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
526
+ export type AdminRequestTrackerModeResponses = {
723
527
  /**
724
528
  * OK
725
529
  */
726
- 200: AdminEvidenceSnapshot;
530
+ 200: CommandSuccess;
727
531
  };
728
- export type AdminQueryTrackerSubscriptionEvidenceResponse = AdminQueryTrackerSubscriptionEvidenceResponses[keyof AdminQueryTrackerSubscriptionEvidenceResponses];
729
- export type AdminQueryCommerceBindingEvidenceData = {
730
- body: AdminEvidenceAccountsRequest;
532
+ export type AdminRequestTrackerModeResponse = AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
533
+ export type AdminRequestTrackerCommandData = {
534
+ body: AdminTrackerCommandRequest;
731
535
  path: {
732
- wooId: number;
536
+ trackerId: string;
733
537
  };
734
538
  query?: never;
735
- url: "/v1/admin/product-evidence/commerce-subscriptions/{wooId}/binding-queries";
539
+ url: "/v1/admin/trackers/{trackerId}/pending-command";
736
540
  };
737
- export type AdminQueryCommerceBindingEvidenceErrors = {
541
+ export type AdminRequestTrackerCommandErrors = {
738
542
  /**
739
543
  * Bad Request
740
544
  */
@@ -747,6 +551,10 @@ export type AdminQueryCommerceBindingEvidenceErrors = {
747
551
  * Forbidden
748
552
  */
749
553
  403: ProblemDetails;
554
+ /**
555
+ * Not Found
556
+ */
557
+ 404: ProblemDetails;
750
558
  /**
751
559
  * Conflict
752
560
  */
@@ -776,23 +584,23 @@ export type AdminQueryCommerceBindingEvidenceErrors = {
776
584
  */
777
585
  503: ProblemDetails;
778
586
  };
779
- export type AdminQueryCommerceBindingEvidenceError = AdminQueryCommerceBindingEvidenceErrors[keyof AdminQueryCommerceBindingEvidenceErrors];
780
- export type AdminQueryCommerceBindingEvidenceResponses = {
587
+ export type AdminRequestTrackerCommandError = AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
588
+ export type AdminRequestTrackerCommandResponses = {
781
589
  /**
782
590
  * OK
783
591
  */
784
- 200: AdminEvidenceSnapshot;
592
+ 200: CommandSuccess;
785
593
  };
786
- export type AdminQueryCommerceBindingEvidenceResponse = AdminQueryCommerceBindingEvidenceResponses[keyof AdminQueryCommerceBindingEvidenceResponses];
787
- export type AdminQueryTrackerHistoryEvidenceData = {
788
- body: AdminEvidenceHistoryRequest;
594
+ export type AdminRequestTrackerCommandResponse = AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
595
+ export type AdminUpdateTrackerConfigurationData = {
596
+ body: AdminConfigurationRequest;
789
597
  path: {
790
598
  trackerId: string;
791
599
  };
792
600
  query?: never;
793
- url: "/v1/admin/product-evidence/trackers/{trackerId}/history-queries";
601
+ url: "/v1/admin/trackers/{trackerId}/configuration";
794
602
  };
795
- export type AdminQueryTrackerHistoryEvidenceErrors = {
603
+ export type AdminUpdateTrackerConfigurationErrors = {
796
604
  /**
797
605
  * Bad Request
798
606
  */
@@ -805,6 +613,10 @@ export type AdminQueryTrackerHistoryEvidenceErrors = {
805
613
  * Forbidden
806
614
  */
807
615
  403: ProblemDetails;
616
+ /**
617
+ * Not Found
618
+ */
619
+ 404: ProblemDetails;
808
620
  /**
809
621
  * Conflict
810
622
  */
@@ -834,23 +646,23 @@ export type AdminQueryTrackerHistoryEvidenceErrors = {
834
646
  */
835
647
  503: ProblemDetails;
836
648
  };
837
- export type AdminQueryTrackerHistoryEvidenceError = AdminQueryTrackerHistoryEvidenceErrors[keyof AdminQueryTrackerHistoryEvidenceErrors];
838
- export type AdminQueryTrackerHistoryEvidenceResponses = {
649
+ export type AdminUpdateTrackerConfigurationError = AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
650
+ export type AdminUpdateTrackerConfigurationResponses = {
839
651
  /**
840
652
  * OK
841
653
  */
842
- 200: AdminEvidenceSnapshot;
654
+ 200: CommandSuccess;
843
655
  };
844
- export type AdminQueryTrackerHistoryEvidenceResponse = AdminQueryTrackerHistoryEvidenceResponses[keyof AdminQueryTrackerHistoryEvidenceResponses];
845
- export type AdminQueryTrackerRelationshipEvidenceData = {
846
- body: AdminRelationshipRequest;
656
+ export type AdminUpdateTrackerConfigurationResponse = AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
657
+ export type AdminUpdateTrackerBikeData = {
658
+ body: AdminBikeRequest;
847
659
  path: {
848
660
  trackerId: string;
849
661
  };
850
662
  query?: never;
851
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-queries";
663
+ url: "/v1/admin/trackers/{trackerId}/bike";
852
664
  };
853
- export type AdminQueryTrackerRelationshipEvidenceErrors = {
665
+ export type AdminUpdateTrackerBikeErrors = {
854
666
  /**
855
667
  * Bad Request
856
668
  */
@@ -863,6 +675,10 @@ export type AdminQueryTrackerRelationshipEvidenceErrors = {
863
675
  * Forbidden
864
676
  */
865
677
  403: ProblemDetails;
678
+ /**
679
+ * Not Found
680
+ */
681
+ 404: ProblemDetails;
866
682
  /**
867
683
  * Conflict
868
684
  */
@@ -892,23 +708,23 @@ export type AdminQueryTrackerRelationshipEvidenceErrors = {
892
708
  */
893
709
  503: ProblemDetails;
894
710
  };
895
- export type AdminQueryTrackerRelationshipEvidenceError = AdminQueryTrackerRelationshipEvidenceErrors[keyof AdminQueryTrackerRelationshipEvidenceErrors];
896
- export type AdminQueryTrackerRelationshipEvidenceResponses = {
711
+ export type AdminUpdateTrackerBikeError = AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
712
+ export type AdminUpdateTrackerBikeResponses = {
897
713
  /**
898
714
  * OK
899
715
  */
900
- 200: AdminEvidenceSnapshot;
716
+ 200: CommandSuccess;
901
717
  };
902
- export type AdminQueryTrackerRelationshipEvidenceResponse = AdminQueryTrackerRelationshipEvidenceResponses[keyof AdminQueryTrackerRelationshipEvidenceResponses];
903
- export type AdminChangeTrackerRelationshipData = {
904
- body: AdminRelationshipChangeRequest;
718
+ export type AdminUpdateTrackerBikeResponse = AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
719
+ export type AdminCleanTrackerData = {
720
+ body: AdminRequestId;
905
721
  path: {
906
722
  trackerId: string;
907
723
  };
908
724
  query?: never;
909
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-changes";
725
+ url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
910
726
  };
911
- export type AdminChangeTrackerRelationshipErrors = {
727
+ export type AdminCleanTrackerErrors = {
912
728
  /**
913
729
  * Bad Request
914
730
  */
@@ -921,6 +737,10 @@ export type AdminChangeTrackerRelationshipErrors = {
921
737
  * Forbidden
922
738
  */
923
739
  403: ProblemDetails;
740
+ /**
741
+ * Not Found
742
+ */
743
+ 404: ProblemDetails;
924
744
  /**
925
745
  * Conflict
926
746
  */
@@ -950,23 +770,23 @@ export type AdminChangeTrackerRelationshipErrors = {
950
770
  */
951
771
  503: ProblemDetails;
952
772
  };
953
- export type AdminChangeTrackerRelationshipError = AdminChangeTrackerRelationshipErrors[keyof AdminChangeTrackerRelationshipErrors];
954
- export type AdminChangeTrackerRelationshipResponses = {
773
+ export type AdminCleanTrackerError = AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
774
+ export type AdminCleanTrackerResponses = {
955
775
  /**
956
- * OK
776
+ * Accepted
957
777
  */
958
- 200: CommandSuccess;
778
+ 202: AdminTrackerCommandResult;
959
779
  };
960
- export type AdminChangeTrackerRelationshipResponse = AdminChangeTrackerRelationshipResponses[keyof AdminChangeTrackerRelationshipResponses];
961
- export type AdminVerifyTrackerRelationshipData = {
962
- body: AdminRelationshipVerificationRequest;
780
+ export type AdminCleanTrackerResponse = AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
781
+ export type AdminSetTrackerDenylistData = {
782
+ body: AdminDenylistRequest;
963
783
  path: {
964
784
  trackerId: string;
965
785
  };
966
786
  query?: never;
967
- url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-verification-queries";
787
+ url: "/v1/admin/trackers/{trackerId}/denylist";
968
788
  };
969
- export type AdminVerifyTrackerRelationshipErrors = {
789
+ export type AdminSetTrackerDenylistErrors = {
970
790
  /**
971
791
  * Bad Request
972
792
  */
@@ -979,6 +799,10 @@ export type AdminVerifyTrackerRelationshipErrors = {
979
799
  * Forbidden
980
800
  */
981
801
  403: ProblemDetails;
802
+ /**
803
+ * Not Found
804
+ */
805
+ 404: ProblemDetails;
982
806
  /**
983
807
  * Conflict
984
808
  */
@@ -1008,21 +832,23 @@ export type AdminVerifyTrackerRelationshipErrors = {
1008
832
  */
1009
833
  503: ProblemDetails;
1010
834
  };
1011
- export type AdminVerifyTrackerRelationshipError = AdminVerifyTrackerRelationshipErrors[keyof AdminVerifyTrackerRelationshipErrors];
1012
- export type AdminVerifyTrackerRelationshipResponses = {
835
+ export type AdminSetTrackerDenylistError = AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
836
+ export type AdminSetTrackerDenylistResponses = {
1013
837
  /**
1014
838
  * OK
1015
839
  */
1016
- 200: AdminRelationshipVerification;
840
+ 200: AdminTrackerCommandResult;
1017
841
  };
1018
- export type AdminVerifyTrackerRelationshipResponse = AdminVerifyTrackerRelationshipResponses[keyof AdminVerifyTrackerRelationshipResponses];
1019
- export type AdminGetSessionData = {
1020
- body?: never;
1021
- path?: never;
842
+ export type AdminSetTrackerDenylistResponse = AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
843
+ export type AdminNotifyTrackerData = {
844
+ body: AdminNotificationRequest;
845
+ path: {
846
+ trackerId: string;
847
+ };
1022
848
  query?: never;
1023
- url: "/v1/admin/session";
849
+ url: "/v1/admin/trackers/{trackerId}/notification-requests";
1024
850
  };
1025
- export type AdminGetSessionErrors = {
851
+ export type AdminNotifyTrackerErrors = {
1026
852
  /**
1027
853
  * Bad Request
1028
854
  */
@@ -1047,6 +873,10 @@ export type AdminGetSessionErrors = {
1047
873
  * Payload Too Large
1048
874
  */
1049
875
  413: ProblemDetails;
876
+ /**
877
+ * Unsupported Media Type
878
+ */
879
+ 415: ProblemDetails;
1050
880
  /**
1051
881
  * Too Many Requests
1052
882
  */
@@ -1064,25 +894,23 @@ export type AdminGetSessionErrors = {
1064
894
  */
1065
895
  503: ProblemDetails;
1066
896
  };
1067
- export type AdminGetSessionError = AdminGetSessionErrors[keyof AdminGetSessionErrors];
1068
- export type AdminGetSessionResponses = {
897
+ export type AdminNotifyTrackerError = AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
898
+ export type AdminNotifyTrackerResponses = {
1069
899
  /**
1070
- * OK
900
+ * Accepted
1071
901
  */
1072
- 200: AdminSession;
902
+ 202: AdminTrackerCommandResult;
1073
903
  };
1074
- export type AdminGetSessionResponse = AdminGetSessionResponses[keyof AdminGetSessionResponses];
1075
- export type AdminGetTrackerData = {
1076
- body?: never;
904
+ export type AdminNotifyTrackerResponse = AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
905
+ export type AdminAddTrackerMemberData = {
906
+ body: AdminAddMemberRequest;
1077
907
  path: {
1078
908
  trackerId: string;
1079
909
  };
1080
- query?: {
1081
- domains?: Array<"battery" | "configuration" | "contact" | "location">;
1082
- };
1083
- url: "/v1/admin/trackers/{trackerId}";
910
+ query?: never;
911
+ url: "/v1/admin/trackers/{trackerId}/members";
1084
912
  };
1085
- export type AdminGetTrackerErrors = {
913
+ export type AdminAddTrackerMemberErrors = {
1086
914
  /**
1087
915
  * Bad Request
1088
916
  */
@@ -1107,6 +935,10 @@ export type AdminGetTrackerErrors = {
1107
935
  * Payload Too Large
1108
936
  */
1109
937
  413: ProblemDetails;
938
+ /**
939
+ * Unsupported Media Type
940
+ */
941
+ 415: ProblemDetails;
1110
942
  /**
1111
943
  * Too Many Requests
1112
944
  */
@@ -1124,25 +956,24 @@ export type AdminGetTrackerErrors = {
1124
956
  */
1125
957
  503: ProblemDetails;
1126
958
  };
1127
- export type AdminGetTrackerError = AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
1128
- export type AdminGetTrackerResponses = {
959
+ export type AdminAddTrackerMemberError = AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
960
+ export type AdminAddTrackerMemberResponses = {
1129
961
  /**
1130
962
  * OK
1131
963
  */
1132
- 200: AdminReadResult;
964
+ 200: CommandSuccess;
1133
965
  };
1134
- export type AdminGetTrackerResponse = AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
1135
- export type AdminSearchTrackersData = {
966
+ export type AdminAddTrackerMemberResponse = AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
967
+ export type AdminRemoveTrackerMemberData = {
1136
968
  body?: never;
1137
- path?: never;
1138
- query: {
1139
- kind: "iccid" | "imei" | "subscriptionId" | "uid";
1140
- value: string;
1141
- cursor?: string;
969
+ path: {
970
+ trackerId: string;
971
+ uid: string;
1142
972
  };
1143
- url: "/v1/admin/trackers";
973
+ query?: never;
974
+ url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1144
975
  };
1145
- export type AdminSearchTrackersErrors = {
976
+ export type AdminRemoveTrackerMemberErrors = {
1146
977
  /**
1147
978
  * Bad Request
1148
979
  */
@@ -1184,34 +1015,23 @@ export type AdminSearchTrackersErrors = {
1184
1015
  */
1185
1016
  503: ProblemDetails;
1186
1017
  };
1187
- export type AdminSearchTrackersError = AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
1188
- export type AdminSearchTrackersResponses = {
1018
+ export type AdminRemoveTrackerMemberError = AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1019
+ export type AdminRemoveTrackerMemberResponses = {
1189
1020
  /**
1190
1021
  * OK
1191
1022
  */
1192
- 200: AdminReadResult;
1023
+ 200: CommandSuccess;
1193
1024
  };
1194
- export type AdminSearchTrackersResponse = AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
1195
- export type AdminListTrackerHistoryData = {
1025
+ export type AdminRemoveTrackerMemberResponse = AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1026
+ export type AdminUnlinkTrackerSubscriptionData = {
1196
1027
  body?: never;
1197
1028
  path: {
1198
1029
  trackerId: string;
1199
- collection: "data" | "images" | "logs" | "productionData" | "sanitizedData";
1200
- };
1201
- query?: {
1202
- /**
1203
- * Inclusive ISO timestamp with timezone.
1204
- */
1205
- from?: string;
1206
- /**
1207
- * Exclusive ISO timestamp with timezone.
1208
- */
1209
- to?: string;
1210
- cursor?: string;
1211
1030
  };
1212
- url: "/v1/admin/trackers/{trackerId}/history/{collection}";
1031
+ query?: never;
1032
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1213
1033
  };
1214
- export type AdminListTrackerHistoryErrors = {
1034
+ export type AdminUnlinkTrackerSubscriptionErrors = {
1215
1035
  /**
1216
1036
  * Bad Request
1217
1037
  */
@@ -1253,25 +1073,23 @@ export type AdminListTrackerHistoryErrors = {
1253
1073
  */
1254
1074
  503: ProblemDetails;
1255
1075
  };
1256
- export type AdminListTrackerHistoryError = AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
1257
- export type AdminListTrackerHistoryResponses = {
1076
+ export type AdminUnlinkTrackerSubscriptionError = AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1077
+ export type AdminUnlinkTrackerSubscriptionResponses = {
1258
1078
  /**
1259
1079
  * OK
1260
1080
  */
1261
- 200: AdminReadResult;
1081
+ 200: CommandSuccess;
1262
1082
  };
1263
- export type AdminListTrackerHistoryResponse = AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
1264
- export type AdminGetTrackerOperationalStateData = {
1265
- body?: never;
1083
+ export type AdminUnlinkTrackerSubscriptionResponse = AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1084
+ export type AdminLinkTrackerSubscriptionData = {
1085
+ body: AdminLinkSubscriptionRequest;
1266
1086
  path: {
1267
1087
  trackerId: string;
1268
1088
  };
1269
- query: {
1270
- domains: Array<"battery" | "firmware" | "runtime" | "statistics">;
1271
- };
1272
- url: "/v1/admin/trackers/{trackerId}/operational-state";
1089
+ query?: never;
1090
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1273
1091
  };
1274
- export type AdminGetTrackerOperationalStateErrors = {
1092
+ export type AdminLinkTrackerSubscriptionErrors = {
1275
1093
  /**
1276
1094
  * Bad Request
1277
1095
  */
@@ -1296,6 +1114,10 @@ export type AdminGetTrackerOperationalStateErrors = {
1296
1114
  * Payload Too Large
1297
1115
  */
1298
1116
  413: ProblemDetails;
1117
+ /**
1118
+ * Unsupported Media Type
1119
+ */
1120
+ 415: ProblemDetails;
1299
1121
  /**
1300
1122
  * Too Many Requests
1301
1123
  */
@@ -1313,23 +1135,23 @@ export type AdminGetTrackerOperationalStateErrors = {
1313
1135
  */
1314
1136
  503: ProblemDetails;
1315
1137
  };
1316
- export type AdminGetTrackerOperationalStateError = AdminGetTrackerOperationalStateErrors[keyof AdminGetTrackerOperationalStateErrors];
1317
- export type AdminGetTrackerOperationalStateResponses = {
1138
+ export type AdminLinkTrackerSubscriptionError = AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1139
+ export type AdminLinkTrackerSubscriptionResponses = {
1318
1140
  /**
1319
1141
  * OK
1320
1142
  */
1321
- 200: AdminOperationalState;
1143
+ 200: CommandSuccess;
1322
1144
  };
1323
- export type AdminGetTrackerOperationalStateResponse = AdminGetTrackerOperationalStateResponses[keyof AdminGetTrackerOperationalStateResponses];
1324
- export type AdminRequestTrackerModeData = {
1325
- body: AdminModeRequest;
1145
+ export type AdminLinkTrackerSubscriptionResponse = AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1146
+ export type AdminRequestTrackerInsuranceData = {
1147
+ body: AdminRequestId;
1326
1148
  path: {
1327
1149
  trackerId: string;
1328
1150
  };
1329
1151
  query?: never;
1330
- url: "/v1/admin/trackers/{trackerId}/mode-requests";
1152
+ url: "/v1/admin/trackers/{trackerId}/insurance-requests";
1331
1153
  };
1332
- export type AdminRequestTrackerModeErrors = {
1154
+ export type AdminRequestTrackerInsuranceErrors = {
1333
1155
  /**
1334
1156
  * Bad Request
1335
1157
  */
@@ -1375,23 +1197,23 @@ export type AdminRequestTrackerModeErrors = {
1375
1197
  */
1376
1198
  503: ProblemDetails;
1377
1199
  };
1378
- export type AdminRequestTrackerModeError = AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
1379
- export type AdminRequestTrackerModeResponses = {
1200
+ export type AdminRequestTrackerInsuranceError = AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1201
+ export type AdminRequestTrackerInsuranceResponses = {
1380
1202
  /**
1381
- * OK
1203
+ * Accepted
1382
1204
  */
1383
- 200: CommandSuccess;
1205
+ 202: CommandSuccess;
1384
1206
  };
1385
- export type AdminRequestTrackerModeResponse = AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
1386
- export type AdminRequestTrackerCommandData = {
1387
- body: AdminTrackerCommandRequest;
1207
+ export type AdminRequestTrackerInsuranceResponse = AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1208
+ export type AdminReconcileTrackerSubscriptionData = {
1209
+ body: AdminRequestId;
1388
1210
  path: {
1389
1211
  trackerId: string;
1390
1212
  };
1391
1213
  query?: never;
1392
- url: "/v1/admin/trackers/{trackerId}/pending-command";
1214
+ url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
1393
1215
  };
1394
- export type AdminRequestTrackerCommandErrors = {
1216
+ export type AdminReconcileTrackerSubscriptionErrors = {
1395
1217
  /**
1396
1218
  * Bad Request
1397
1219
  */
@@ -1437,23 +1259,31 @@ export type AdminRequestTrackerCommandErrors = {
1437
1259
  */
1438
1260
  503: ProblemDetails;
1439
1261
  };
1440
- export type AdminRequestTrackerCommandError = AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
1441
- export type AdminRequestTrackerCommandResponses = {
1262
+ export type AdminReconcileTrackerSubscriptionError = AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
1263
+ export type AdminReconcileTrackerSubscriptionResponses = {
1442
1264
  /**
1443
- * OK
1265
+ * Accepted
1444
1266
  */
1445
- 200: CommandSuccess;
1267
+ 202: CommandSuccess;
1446
1268
  };
1447
- export type AdminRequestTrackerCommandResponse = AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
1448
- export type AdminUpdateTrackerConfigurationData = {
1449
- 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
+ };
1450
1280
  path: {
1451
1281
  trackerId: string;
1452
1282
  };
1453
1283
  query?: never;
1454
- url: "/v1/admin/trackers/{trackerId}/configuration";
1284
+ url: "/v1/admin/trackers/{trackerId}/photos";
1455
1285
  };
1456
- export type AdminUpdateTrackerConfigurationErrors = {
1286
+ export type AdminUploadTrackerPhotoErrors = {
1457
1287
  /**
1458
1288
  * Bad Request
1459
1289
  */
@@ -1499,23 +1329,23 @@ export type AdminUpdateTrackerConfigurationErrors = {
1499
1329
  */
1500
1330
  503: ProblemDetails;
1501
1331
  };
1502
- export type AdminUpdateTrackerConfigurationError = AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
1503
- export type AdminUpdateTrackerConfigurationResponses = {
1332
+ export type AdminUploadTrackerPhotoError = AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
1333
+ export type AdminUploadTrackerPhotoResponses = {
1504
1334
  /**
1505
1335
  * OK
1506
1336
  */
1507
- 200: CommandSuccess;
1337
+ 200: PhotoUploadResult;
1508
1338
  };
1509
- export type AdminUpdateTrackerConfigurationResponse = AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
1510
- export type AdminUpdateTrackerBikeData = {
1511
- body: AdminBikeRequest;
1339
+ export type AdminUploadTrackerPhotoResponse = AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
1340
+ export type AdminSubscribeTrackerData = {
1341
+ body?: never;
1512
1342
  path: {
1513
1343
  trackerId: string;
1514
1344
  };
1515
1345
  query?: never;
1516
- url: "/v1/admin/trackers/{trackerId}/bike";
1346
+ url: "/v1/admin/trackers/{trackerId}/stream";
1517
1347
  };
1518
- export type AdminUpdateTrackerBikeErrors = {
1348
+ export type AdminSubscribeTrackerErrors = {
1519
1349
  /**
1520
1350
  * Bad Request
1521
1351
  */
@@ -1540,10 +1370,6 @@ export type AdminUpdateTrackerBikeErrors = {
1540
1370
  * Payload Too Large
1541
1371
  */
1542
1372
  413: ProblemDetails;
1543
- /**
1544
- * Unsupported Media Type
1545
- */
1546
- 415: ProblemDetails;
1547
1373
  /**
1548
1374
  * Too Many Requests
1549
1375
  */
@@ -1561,23 +1387,23 @@ export type AdminUpdateTrackerBikeErrors = {
1561
1387
  */
1562
1388
  503: ProblemDetails;
1563
1389
  };
1564
- export type AdminUpdateTrackerBikeError = AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
1565
- export type AdminUpdateTrackerBikeResponses = {
1390
+ export type AdminSubscribeTrackerError = AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
1391
+ export type AdminSubscribeTrackerResponses = {
1566
1392
  /**
1567
1393
  * OK
1568
1394
  */
1569
- 200: CommandSuccess;
1395
+ 200: AdminTrackerView | null;
1570
1396
  };
1571
- export type AdminUpdateTrackerBikeResponse = AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
1572
- export type AdminCleanTrackerData = {
1573
- body: AdminRequestId;
1397
+ export type AdminSubscribeTrackerResponse = AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
1398
+ export type AdminGetUserData = {
1399
+ body?: never;
1574
1400
  path: {
1575
- trackerId: string;
1401
+ uid: string;
1576
1402
  };
1577
1403
  query?: never;
1578
- url: "/v1/admin/trackers/{trackerId}/cleanup-requests";
1404
+ url: "/v1/admin/users/{uid}";
1579
1405
  };
1580
- export type AdminCleanTrackerErrors = {
1406
+ export type AdminGetUserErrors = {
1581
1407
  /**
1582
1408
  * Bad Request
1583
1409
  */
@@ -1602,10 +1428,6 @@ export type AdminCleanTrackerErrors = {
1602
1428
  * Payload Too Large
1603
1429
  */
1604
1430
  413: ProblemDetails;
1605
- /**
1606
- * Unsupported Media Type
1607
- */
1608
- 415: ProblemDetails;
1609
1431
  /**
1610
1432
  * Too Many Requests
1611
1433
  */
@@ -1623,23 +1445,21 @@ export type AdminCleanTrackerErrors = {
1623
1445
  */
1624
1446
  503: ProblemDetails;
1625
1447
  };
1626
- export type AdminCleanTrackerError = AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1627
- export type AdminCleanTrackerResponses = {
1448
+ export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
1449
+ export type AdminGetUserResponses = {
1628
1450
  /**
1629
- * Accepted
1451
+ * OK
1630
1452
  */
1631
- 202: AdminTrackerCommandResult;
1453
+ 200: AdminReadResult;
1632
1454
  };
1633
- export type AdminCleanTrackerResponse = AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1634
- export type AdminSetTrackerDenylistData = {
1635
- body: AdminDenylistRequest;
1636
- path: {
1637
- trackerId: string;
1638
- };
1455
+ export type AdminGetUserResponse = AdminGetUserResponses[keyof AdminGetUserResponses];
1456
+ export type AdminLookupUsersData = {
1457
+ body: AdminLookupRequest;
1458
+ path?: never;
1639
1459
  query?: never;
1640
- url: "/v1/admin/trackers/{trackerId}/denylist";
1460
+ url: "/v1/admin/users/lookup";
1641
1461
  };
1642
- export type AdminSetTrackerDenylistErrors = {
1462
+ export type AdminLookupUsersErrors = {
1643
1463
  /**
1644
1464
  * Bad Request
1645
1465
  */
@@ -1685,23 +1505,23 @@ export type AdminSetTrackerDenylistErrors = {
1685
1505
  */
1686
1506
  503: ProblemDetails;
1687
1507
  };
1688
- export type AdminSetTrackerDenylistError = AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1689
- export type AdminSetTrackerDenylistResponses = {
1508
+ export type AdminLookupUsersError = AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
1509
+ export type AdminLookupUsersResponses = {
1690
1510
  /**
1691
1511
  * OK
1692
1512
  */
1693
- 200: AdminTrackerCommandResult;
1513
+ 200: AdminLookupResult;
1694
1514
  };
1695
- export type AdminSetTrackerDenylistResponse = AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1696
- export type AdminNotifyTrackerData = {
1697
- body: AdminNotificationRequest;
1515
+ export type AdminLookupUsersResponse = AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
1516
+ export type AdminRequestUserInsuranceData = {
1517
+ body: AdminRequestId;
1698
1518
  path: {
1699
- trackerId: string;
1519
+ uid: string;
1700
1520
  };
1701
1521
  query?: never;
1702
- url: "/v1/admin/trackers/{trackerId}/notification-requests";
1522
+ url: "/v1/admin/users/{uid}/insurance-requests";
1703
1523
  };
1704
- export type AdminNotifyTrackerErrors = {
1524
+ export type AdminRequestUserInsuranceErrors = {
1705
1525
  /**
1706
1526
  * Bad Request
1707
1527
  */
@@ -1747,23 +1567,23 @@ export type AdminNotifyTrackerErrors = {
1747
1567
  */
1748
1568
  503: ProblemDetails;
1749
1569
  };
1750
- export type AdminNotifyTrackerError = AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1751
- export type AdminNotifyTrackerResponses = {
1570
+ export type AdminRequestUserInsuranceError = AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
1571
+ export type AdminRequestUserInsuranceResponses = {
1752
1572
  /**
1753
1573
  * Accepted
1754
1574
  */
1755
- 202: AdminTrackerCommandResult;
1575
+ 202: CommandSuccess;
1756
1576
  };
1757
- export type AdminNotifyTrackerResponse = AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1758
- export type AdminAddTrackerMemberData = {
1759
- body: AdminAddMemberRequest;
1577
+ export type AdminRequestUserInsuranceResponse = AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
1578
+ export type AdminLinkSingleSubscriptionData = {
1579
+ body: AdminRequestId;
1760
1580
  path: {
1761
- trackerId: string;
1581
+ uid: string;
1762
1582
  };
1763
1583
  query?: never;
1764
- url: "/v1/admin/trackers/{trackerId}/members";
1584
+ url: "/v1/admin/users/{uid}/subscription-link-requests";
1765
1585
  };
1766
- export type AdminAddTrackerMemberErrors = {
1586
+ export type AdminLinkSingleSubscriptionErrors = {
1767
1587
  /**
1768
1588
  * Bad Request
1769
1589
  */
@@ -1809,24 +1629,23 @@ export type AdminAddTrackerMemberErrors = {
1809
1629
  */
1810
1630
  503: ProblemDetails;
1811
1631
  };
1812
- export type AdminAddTrackerMemberError = AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1813
- export type AdminAddTrackerMemberResponses = {
1632
+ export type AdminLinkSingleSubscriptionError = AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
1633
+ export type AdminLinkSingleSubscriptionResponses = {
1814
1634
  /**
1815
1635
  * OK
1816
1636
  */
1817
1637
  200: CommandSuccess;
1818
1638
  };
1819
- export type AdminAddTrackerMemberResponse = AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1820
- export type AdminRemoveTrackerMemberData = {
1639
+ export type AdminLinkSingleSubscriptionResponse = AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
1640
+ export type AdminGetSubscriptionData = {
1821
1641
  body?: never;
1822
1642
  path: {
1823
- trackerId: string;
1824
- uid: string;
1643
+ subscriptionId: string;
1825
1644
  };
1826
1645
  query?: never;
1827
- url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1646
+ url: "/v1/admin/subscriptions/{subscriptionId}";
1828
1647
  };
1829
- export type AdminRemoveTrackerMemberErrors = {
1648
+ export type AdminGetSubscriptionErrors = {
1830
1649
  /**
1831
1650
  * Bad Request
1832
1651
  */
@@ -1868,23 +1687,25 @@ export type AdminRemoveTrackerMemberErrors = {
1868
1687
  */
1869
1688
  503: ProblemDetails;
1870
1689
  };
1871
- export type AdminRemoveTrackerMemberError = AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1872
- export type AdminRemoveTrackerMemberResponses = {
1690
+ export type AdminGetSubscriptionError = AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
1691
+ export type AdminGetSubscriptionResponses = {
1873
1692
  /**
1874
1693
  * OK
1875
1694
  */
1876
- 200: CommandSuccess;
1695
+ 200: AdminReadResult;
1877
1696
  };
1878
- export type AdminRemoveTrackerMemberResponse = AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1879
- export type AdminUnlinkTrackerSubscriptionData = {
1697
+ export type AdminGetSubscriptionResponse = AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
1698
+ export type AdminSearchSubscriptionsData = {
1880
1699
  body?: never;
1881
- path: {
1882
- trackerId: string;
1700
+ path?: never;
1701
+ query: {
1702
+ kind: "b2b" | "uid" | "wooId";
1703
+ value?: string;
1704
+ cursor?: string;
1883
1705
  };
1884
- query?: never;
1885
- url: "/v1/admin/trackers/{trackerId}/subscription";
1706
+ url: "/v1/admin/subscriptions";
1886
1707
  };
1887
- export type AdminUnlinkTrackerSubscriptionErrors = {
1708
+ export type AdminSearchSubscriptionsErrors = {
1888
1709
  /**
1889
1710
  * Bad Request
1890
1711
  */
@@ -1926,23 +1747,26 @@ export type AdminUnlinkTrackerSubscriptionErrors = {
1926
1747
  */
1927
1748
  503: ProblemDetails;
1928
1749
  };
1929
- export type AdminUnlinkTrackerSubscriptionError = AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1930
- export type AdminUnlinkTrackerSubscriptionResponses = {
1750
+ export type AdminSearchSubscriptionsError = AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
1751
+ export type AdminSearchSubscriptionsResponses = {
1931
1752
  /**
1932
1753
  * OK
1933
1754
  */
1934
- 200: CommandSuccess;
1755
+ 200: AdminReadResult;
1935
1756
  };
1936
- export type AdminUnlinkTrackerSubscriptionResponse = AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1937
- export type AdminLinkTrackerSubscriptionData = {
1938
- body: AdminLinkSubscriptionRequest;
1757
+ export type AdminSearchSubscriptionsResponse = AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
1758
+ export type AdminListInsuranceData = {
1759
+ body?: never;
1939
1760
  path: {
1940
- trackerId: string;
1761
+ subscriptionId: string;
1762
+ provider: "cycler" | "hepster" | "tryg";
1941
1763
  };
1942
- query?: never;
1943
- url: "/v1/admin/trackers/{trackerId}/subscription";
1764
+ query?: {
1765
+ cursor?: string;
1766
+ };
1767
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
1944
1768
  };
1945
- export type AdminLinkTrackerSubscriptionErrors = {
1769
+ export type AdminListInsuranceErrors = {
1946
1770
  /**
1947
1771
  * Bad Request
1948
1772
  */
@@ -1967,10 +1791,6 @@ export type AdminLinkTrackerSubscriptionErrors = {
1967
1791
  * Payload Too Large
1968
1792
  */
1969
1793
  413: ProblemDetails;
1970
- /**
1971
- * Unsupported Media Type
1972
- */
1973
- 415: ProblemDetails;
1974
1794
  /**
1975
1795
  * Too Many Requests
1976
1796
  */
@@ -1988,23 +1808,23 @@ export type AdminLinkTrackerSubscriptionErrors = {
1988
1808
  */
1989
1809
  503: ProblemDetails;
1990
1810
  };
1991
- export type AdminLinkTrackerSubscriptionError = AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1992
- export type AdminLinkTrackerSubscriptionResponses = {
1811
+ export type AdminListInsuranceError = AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
1812
+ export type AdminListInsuranceResponses = {
1993
1813
  /**
1994
1814
  * OK
1995
1815
  */
1996
- 200: CommandSuccess;
1816
+ 200: AdminReadResult;
1997
1817
  };
1998
- export type AdminLinkTrackerSubscriptionResponse = AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1999
- export type AdminRequestTrackerInsuranceData = {
1818
+ export type AdminListInsuranceResponse = AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
1819
+ export type AdminRequestSubscriptionInsuranceData = {
2000
1820
  body: AdminRequestId;
2001
1821
  path: {
2002
- trackerId: string;
1822
+ subscriptionId: string;
2003
1823
  };
2004
1824
  query?: never;
2005
- url: "/v1/admin/trackers/{trackerId}/insurance-requests";
1825
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
2006
1826
  };
2007
- export type AdminRequestTrackerInsuranceErrors = {
1827
+ export type AdminRequestSubscriptionInsuranceErrors = {
2008
1828
  /**
2009
1829
  * Bad Request
2010
1830
  */
@@ -2050,23 +1870,23 @@ export type AdminRequestTrackerInsuranceErrors = {
2050
1870
  */
2051
1871
  503: ProblemDetails;
2052
1872
  };
2053
- export type AdminRequestTrackerInsuranceError = AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
2054
- export type AdminRequestTrackerInsuranceResponses = {
1873
+ export type AdminRequestSubscriptionInsuranceError = AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
1874
+ export type AdminRequestSubscriptionInsuranceResponses = {
2055
1875
  /**
2056
1876
  * Accepted
2057
1877
  */
2058
1878
  202: CommandSuccess;
2059
1879
  };
2060
- export type AdminRequestTrackerInsuranceResponse = AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
2061
- export type AdminReconcileTrackerSubscriptionData = {
1880
+ export type AdminRequestSubscriptionInsuranceResponse = AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
1881
+ export type AdminRefreshSubscriptionData = {
2062
1882
  body: AdminRequestId;
2063
1883
  path: {
2064
- trackerId: string;
1884
+ subscriptionId: string;
2065
1885
  };
2066
1886
  query?: never;
2067
- url: "/v1/admin/trackers/{trackerId}/subscription/reconciliation-requests";
1887
+ url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
2068
1888
  };
2069
- export type AdminReconcileTrackerSubscriptionErrors = {
1889
+ export type AdminRefreshSubscriptionErrors = {
2070
1890
  /**
2071
1891
  * Bad Request
2072
1892
  */
@@ -2112,31 +1932,23 @@ export type AdminReconcileTrackerSubscriptionErrors = {
2112
1932
  */
2113
1933
  503: ProblemDetails;
2114
1934
  };
2115
- export type AdminReconcileTrackerSubscriptionError = AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
2116
- export type AdminReconcileTrackerSubscriptionResponses = {
1935
+ export type AdminRefreshSubscriptionError = AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
1936
+ export type AdminRefreshSubscriptionResponses = {
2117
1937
  /**
2118
1938
  * Accepted
2119
1939
  */
2120
1940
  202: CommandSuccess;
2121
1941
  };
2122
- export type AdminReconcileTrackerSubscriptionResponse = AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
2123
- export type AdminUploadTrackerPhotoData = {
2124
- body: {
2125
- /**
2126
- * JPEG file, at most 10 MiB and 25 megapixels (width * height). Multipart request limit: 11 MiB. The finalizer also checks the actual image.
2127
- */
2128
- file: Blob | File;
2129
- kind: "bike" | "installation" | "receipt";
2130
- width: number;
2131
- height: number;
2132
- };
2133
- path: {
2134
- trackerId: string;
1942
+ export type AdminRefreshSubscriptionResponse = AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
1943
+ export type AdminListFavoritesData = {
1944
+ body?: never;
1945
+ path?: never;
1946
+ query?: {
1947
+ cursor?: string;
2135
1948
  };
2136
- query?: never;
2137
- url: "/v1/admin/trackers/{trackerId}/photos";
1949
+ url: "/v1/admin/favorites";
2138
1950
  };
2139
- export type AdminUploadTrackerPhotoErrors = {
1951
+ export type AdminListFavoritesErrors = {
2140
1952
  /**
2141
1953
  * Bad Request
2142
1954
  */
@@ -2161,10 +1973,6 @@ export type AdminUploadTrackerPhotoErrors = {
2161
1973
  * Payload Too Large
2162
1974
  */
2163
1975
  413: ProblemDetails;
2164
- /**
2165
- * Unsupported Media Type
2166
- */
2167
- 415: ProblemDetails;
2168
1976
  /**
2169
1977
  * Too Many Requests
2170
1978
  */
@@ -2182,23 +1990,23 @@ export type AdminUploadTrackerPhotoErrors = {
2182
1990
  */
2183
1991
  503: ProblemDetails;
2184
1992
  };
2185
- export type AdminUploadTrackerPhotoError = AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
2186
- export type AdminUploadTrackerPhotoResponses = {
1993
+ export type AdminListFavoritesError = AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
1994
+ export type AdminListFavoritesResponses = {
2187
1995
  /**
2188
1996
  * OK
2189
1997
  */
2190
- 200: PhotoUploadResult;
1998
+ 200: AdminReadResult;
2191
1999
  };
2192
- export type AdminUploadTrackerPhotoResponse = AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
2193
- export type AdminSubscribeTrackerData = {
2000
+ export type AdminListFavoritesResponse = AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
2001
+ export type AdminDeleteFavoriteData = {
2194
2002
  body?: never;
2195
2003
  path: {
2196
2004
  trackerId: string;
2197
2005
  };
2198
2006
  query?: never;
2199
- url: "/v1/admin/trackers/{trackerId}/stream";
2007
+ url: "/v1/admin/favorites/{trackerId}";
2200
2008
  };
2201
- export type AdminSubscribeTrackerErrors = {
2009
+ export type AdminDeleteFavoriteErrors = {
2202
2010
  /**
2203
2011
  * Bad Request
2204
2012
  */
@@ -2240,23 +2048,23 @@ export type AdminSubscribeTrackerErrors = {
2240
2048
  */
2241
2049
  503: ProblemDetails;
2242
2050
  };
2243
- export type AdminSubscribeTrackerError = AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
2244
- export type AdminSubscribeTrackerResponses = {
2051
+ export type AdminDeleteFavoriteError = AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
2052
+ export type AdminDeleteFavoriteResponses = {
2245
2053
  /**
2246
2054
  * OK
2247
2055
  */
2248
- 200: AdminTrackerView | null;
2056
+ 200: CommandSuccess;
2249
2057
  };
2250
- export type AdminSubscribeTrackerResponse = AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];
2251
- export type AdminGetUserData = {
2058
+ export type AdminDeleteFavoriteResponse = AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
2059
+ export type AdminGetFavoriteData = {
2252
2060
  body?: never;
2253
2061
  path: {
2254
- uid: string;
2062
+ trackerId: string;
2255
2063
  };
2256
2064
  query?: never;
2257
- url: "/v1/admin/users/{uid}";
2065
+ url: "/v1/admin/favorites/{trackerId}";
2258
2066
  };
2259
- export type AdminGetUserErrors = {
2067
+ export type AdminGetFavoriteErrors = {
2260
2068
  /**
2261
2069
  * Bad Request
2262
2070
  */
@@ -2298,21 +2106,23 @@ export type AdminGetUserErrors = {
2298
2106
  */
2299
2107
  503: ProblemDetails;
2300
2108
  };
2301
- export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
2302
- export type AdminGetUserResponses = {
2109
+ export type AdminGetFavoriteError = AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
2110
+ export type AdminGetFavoriteResponses = {
2303
2111
  /**
2304
2112
  * OK
2305
2113
  */
2306
2114
  200: AdminReadResult;
2307
2115
  };
2308
- export type AdminGetUserResponse = AdminGetUserResponses[keyof AdminGetUserResponses];
2309
- export type AdminLookupUsersData = {
2310
- body: AdminLookupRequest;
2311
- path?: never;
2116
+ export type AdminGetFavoriteResponse = AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
2117
+ export type AdminUpdateFavoriteCommentData = {
2118
+ body: AdminFavoriteRequest;
2119
+ path: {
2120
+ trackerId: string;
2121
+ };
2312
2122
  query?: never;
2313
- url: "/v1/admin/users/lookup";
2123
+ url: "/v1/admin/favorites/{trackerId}";
2314
2124
  };
2315
- export type AdminLookupUsersErrors = {
2125
+ export type AdminUpdateFavoriteCommentErrors = {
2316
2126
  /**
2317
2127
  * Bad Request
2318
2128
  */
@@ -2358,23 +2168,23 @@ export type AdminLookupUsersErrors = {
2358
2168
  */
2359
2169
  503: ProblemDetails;
2360
2170
  };
2361
- export type AdminLookupUsersError = AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
2362
- export type AdminLookupUsersResponses = {
2171
+ export type AdminUpdateFavoriteCommentError = AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
2172
+ export type AdminUpdateFavoriteCommentResponses = {
2363
2173
  /**
2364
2174
  * OK
2365
2175
  */
2366
- 200: AdminLookupResult;
2176
+ 200: CommandSuccess;
2367
2177
  };
2368
- export type AdminLookupUsersResponse = AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
2369
- export type AdminRequestUserInsuranceData = {
2370
- body: AdminRequestId;
2178
+ export type AdminUpdateFavoriteCommentResponse = AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
2179
+ export type AdminPutFavoriteData = {
2180
+ body: AdminFavoriteRequest;
2371
2181
  path: {
2372
- uid: string;
2182
+ trackerId: string;
2373
2183
  };
2374
2184
  query?: never;
2375
- url: "/v1/admin/users/{uid}/insurance-requests";
2185
+ url: "/v1/admin/favorites/{trackerId}";
2376
2186
  };
2377
- export type AdminRequestUserInsuranceErrors = {
2187
+ export type AdminPutFavoriteErrors = {
2378
2188
  /**
2379
2189
  * Bad Request
2380
2190
  */
@@ -2420,23 +2230,21 @@ export type AdminRequestUserInsuranceErrors = {
2420
2230
  */
2421
2231
  503: ProblemDetails;
2422
2232
  };
2423
- export type AdminRequestUserInsuranceError = AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
2424
- export type AdminRequestUserInsuranceResponses = {
2233
+ export type AdminPutFavoriteError = AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
2234
+ export type AdminPutFavoriteResponses = {
2425
2235
  /**
2426
- * Accepted
2236
+ * OK
2427
2237
  */
2428
- 202: CommandSuccess;
2238
+ 200: CommandSuccess;
2429
2239
  };
2430
- export type AdminRequestUserInsuranceResponse = AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
2431
- export type AdminLinkSingleSubscriptionData = {
2432
- body: AdminRequestId;
2433
- path: {
2434
- uid: string;
2435
- };
2240
+ export type AdminPutFavoriteResponse = AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
2241
+ export type AdminCreateB2bSubscriptionData = {
2242
+ body: AdminB2bSubscriptionRequest;
2243
+ path?: never;
2436
2244
  query?: never;
2437
- url: "/v1/admin/users/{uid}/subscription-link-requests";
2245
+ url: "/v1/admin/b2b/subscriptions";
2438
2246
  };
2439
- export type AdminLinkSingleSubscriptionErrors = {
2247
+ export type AdminCreateB2bSubscriptionErrors = {
2440
2248
  /**
2441
2249
  * Bad Request
2442
2250
  */
@@ -2482,23 +2290,23 @@ export type AdminLinkSingleSubscriptionErrors = {
2482
2290
  */
2483
2291
  503: ProblemDetails;
2484
2292
  };
2485
- export type AdminLinkSingleSubscriptionError = AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
2486
- export type AdminLinkSingleSubscriptionResponses = {
2293
+ export type AdminCreateB2bSubscriptionError = AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
2294
+ export type AdminCreateB2bSubscriptionResponses = {
2487
2295
  /**
2488
- * OK
2296
+ * Created
2489
2297
  */
2490
- 200: CommandSuccess;
2298
+ 201: AdminB2bSubscriptionResult;
2491
2299
  };
2492
- export type AdminLinkSingleSubscriptionResponse = AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2493
- export type AdminGetSubscriptionData = {
2300
+ export type AdminCreateB2bSubscriptionResponse = AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
2301
+ export type AdminCancelB2bSubscriptionData = {
2494
2302
  body?: never;
2495
2303
  path: {
2496
2304
  subscriptionId: string;
2497
2305
  };
2498
2306
  query?: never;
2499
- url: "/v1/admin/subscriptions/{subscriptionId}";
2307
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
2500
2308
  };
2501
- export type AdminGetSubscriptionErrors = {
2309
+ export type AdminCancelB2bSubscriptionErrors = {
2502
2310
  /**
2503
2311
  * Bad Request
2504
2312
  */
@@ -2540,25 +2348,23 @@ export type AdminGetSubscriptionErrors = {
2540
2348
  */
2541
2349
  503: ProblemDetails;
2542
2350
  };
2543
- export type AdminGetSubscriptionError = AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
2544
- export type AdminGetSubscriptionResponses = {
2351
+ export type AdminCancelB2bSubscriptionError = AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
2352
+ export type AdminCancelB2bSubscriptionResponses = {
2545
2353
  /**
2546
2354
  * OK
2547
2355
  */
2548
- 200: AdminReadResult;
2356
+ 200: CommandSuccess;
2549
2357
  };
2550
- export type AdminGetSubscriptionResponse = AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
2551
- export type AdminSearchSubscriptionsData = {
2358
+ export type AdminCancelB2bSubscriptionResponse = AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
2359
+ export type AdminSyncB2bInsuranceData = {
2552
2360
  body?: never;
2553
- path?: never;
2554
- query: {
2555
- kind: "b2b" | "uid" | "wooId";
2556
- value?: string;
2557
- cursor?: string;
2361
+ path: {
2362
+ subscriptionId: string;
2558
2363
  };
2559
- url: "/v1/admin/subscriptions";
2364
+ query?: never;
2365
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
2560
2366
  };
2561
- export type AdminSearchSubscriptionsErrors = {
2367
+ export type AdminSyncB2bInsuranceErrors = {
2562
2368
  /**
2563
2369
  * Bad Request
2564
2370
  */
@@ -2600,26 +2406,21 @@ export type AdminSearchSubscriptionsErrors = {
2600
2406
  */
2601
2407
  503: ProblemDetails;
2602
2408
  };
2603
- export type AdminSearchSubscriptionsError = AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
2604
- export type AdminSearchSubscriptionsResponses = {
2409
+ export type AdminSyncB2bInsuranceError = AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
2410
+ export type AdminSyncB2bInsuranceResponses = {
2605
2411
  /**
2606
- * OK
2412
+ * Accepted
2607
2413
  */
2608
- 200: AdminReadResult;
2414
+ 202: CommandSuccess;
2609
2415
  };
2610
- export type AdminSearchSubscriptionsResponse = AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
2611
- export type AdminListInsuranceData = {
2416
+ export type AdminSyncB2bInsuranceResponse = AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
2417
+ export type AdminSyncAllB2bInsuranceData = {
2612
2418
  body?: never;
2613
- path: {
2614
- subscriptionId: string;
2615
- provider: "cycler" | "hepster" | "tryg";
2616
- };
2617
- query?: {
2618
- cursor?: string;
2619
- };
2620
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
2419
+ path?: never;
2420
+ query?: never;
2421
+ url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
2621
2422
  };
2622
- export type AdminListInsuranceErrors = {
2423
+ export type AdminSyncAllB2bInsuranceErrors = {
2623
2424
  /**
2624
2425
  * Bad Request
2625
2426
  */
@@ -2661,23 +2462,23 @@ export type AdminListInsuranceErrors = {
2661
2462
  */
2662
2463
  503: ProblemDetails;
2663
2464
  };
2664
- export type AdminListInsuranceError = AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
2665
- export type AdminListInsuranceResponses = {
2465
+ export type AdminSyncAllB2bInsuranceError = AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
2466
+ export type AdminSyncAllB2bInsuranceResponses = {
2666
2467
  /**
2667
- * OK
2468
+ * Accepted
2668
2469
  */
2669
- 200: AdminReadResult;
2470
+ 202: CommandSuccess;
2670
2471
  };
2671
- export type AdminListInsuranceResponse = AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
2672
- export type AdminRequestSubscriptionInsuranceData = {
2673
- body: AdminRequestId;
2472
+ export type AdminSyncAllB2bInsuranceResponse = AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
2473
+ export type SupportQueryTrackerOperationalEvidenceData = {
2474
+ body: SupportOperationalEvidenceRequest;
2674
2475
  path: {
2675
- subscriptionId: string;
2476
+ trackerId: string;
2676
2477
  };
2677
2478
  query?: never;
2678
- url: "/v1/admin/subscriptions/{subscriptionId}/insurance-requests";
2479
+ url: "/v1/support/trackers/{trackerId}/operational-queries";
2679
2480
  };
2680
- export type AdminRequestSubscriptionInsuranceErrors = {
2481
+ export type SupportQueryTrackerOperationalEvidenceErrors = {
2681
2482
  /**
2682
2483
  * Bad Request
2683
2484
  */
@@ -2690,10 +2491,6 @@ export type AdminRequestSubscriptionInsuranceErrors = {
2690
2491
  * Forbidden
2691
2492
  */
2692
2493
  403: ProblemDetails;
2693
- /**
2694
- * Not Found
2695
- */
2696
- 404: ProblemDetails;
2697
2494
  /**
2698
2495
  * Conflict
2699
2496
  */
@@ -2723,23 +2520,23 @@ export type AdminRequestSubscriptionInsuranceErrors = {
2723
2520
  */
2724
2521
  503: ProblemDetails;
2725
2522
  };
2726
- export type AdminRequestSubscriptionInsuranceError = AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
2727
- export type AdminRequestSubscriptionInsuranceResponses = {
2523
+ export type SupportQueryTrackerOperationalEvidenceError = SupportQueryTrackerOperationalEvidenceErrors[keyof SupportQueryTrackerOperationalEvidenceErrors];
2524
+ export type SupportQueryTrackerOperationalEvidenceResponses = {
2728
2525
  /**
2729
- * Accepted
2526
+ * OK
2730
2527
  */
2731
- 202: CommandSuccess;
2528
+ 200: SupportOperationalEvidence;
2732
2529
  };
2733
- export type AdminRequestSubscriptionInsuranceResponse = AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
2734
- export type AdminRefreshSubscriptionData = {
2735
- body: AdminRequestId;
2530
+ export type SupportQueryTrackerOperationalEvidenceResponse = SupportQueryTrackerOperationalEvidenceResponses[keyof SupportQueryTrackerOperationalEvidenceResponses];
2531
+ export type SupportQueryTrackerJobEvidenceData = {
2532
+ body: SupportEvidencePageRequest;
2736
2533
  path: {
2737
- subscriptionId: string;
2534
+ trackerId: string;
2738
2535
  };
2739
2536
  query?: never;
2740
- url: "/v1/admin/subscriptions/{subscriptionId}/refresh-requests";
2537
+ url: "/v1/support/trackers/{trackerId}/job-queries";
2741
2538
  };
2742
- export type AdminRefreshSubscriptionErrors = {
2539
+ export type SupportQueryTrackerJobEvidenceErrors = {
2743
2540
  /**
2744
2541
  * Bad Request
2745
2542
  */
@@ -2752,10 +2549,6 @@ export type AdminRefreshSubscriptionErrors = {
2752
2549
  * Forbidden
2753
2550
  */
2754
2551
  403: ProblemDetails;
2755
- /**
2756
- * Not Found
2757
- */
2758
- 404: ProblemDetails;
2759
2552
  /**
2760
2553
  * Conflict
2761
2554
  */
@@ -2785,23 +2578,23 @@ export type AdminRefreshSubscriptionErrors = {
2785
2578
  */
2786
2579
  503: ProblemDetails;
2787
2580
  };
2788
- export type AdminRefreshSubscriptionError = AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
2789
- export type AdminRefreshSubscriptionResponses = {
2581
+ export type SupportQueryTrackerJobEvidenceError = SupportQueryTrackerJobEvidenceErrors[keyof SupportQueryTrackerJobEvidenceErrors];
2582
+ export type SupportQueryTrackerJobEvidenceResponses = {
2790
2583
  /**
2791
- * Accepted
2584
+ * OK
2792
2585
  */
2793
- 202: CommandSuccess;
2586
+ 200: SupportEvidencePage;
2794
2587
  };
2795
- export type AdminRefreshSubscriptionResponse = AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
2796
- export type AdminListFavoritesData = {
2797
- body?: never;
2798
- path?: never;
2799
- query?: {
2800
- cursor?: string;
2588
+ export type SupportQueryTrackerJobEvidenceResponse = SupportQueryTrackerJobEvidenceResponses[keyof SupportQueryTrackerJobEvidenceResponses];
2589
+ export type SupportQuerySubscriptionInsuranceEvidenceData = {
2590
+ body: SupportInsuranceEvidenceRequest;
2591
+ path: {
2592
+ subscriptionId: string;
2801
2593
  };
2802
- url: "/v1/admin/favorites";
2594
+ query?: never;
2595
+ url: "/v1/support/subscriptions/{subscriptionId}/insurance-queries";
2803
2596
  };
2804
- export type AdminListFavoritesErrors = {
2597
+ export type SupportQuerySubscriptionInsuranceEvidenceErrors = {
2805
2598
  /**
2806
2599
  * Bad Request
2807
2600
  */
@@ -2814,10 +2607,6 @@ export type AdminListFavoritesErrors = {
2814
2607
  * Forbidden
2815
2608
  */
2816
2609
  403: ProblemDetails;
2817
- /**
2818
- * Not Found
2819
- */
2820
- 404: ProblemDetails;
2821
2610
  /**
2822
2611
  * Conflict
2823
2612
  */
@@ -2826,6 +2615,10 @@ export type AdminListFavoritesErrors = {
2826
2615
  * Payload Too Large
2827
2616
  */
2828
2617
  413: ProblemDetails;
2618
+ /**
2619
+ * Unsupported Media Type
2620
+ */
2621
+ 415: ProblemDetails;
2829
2622
  /**
2830
2623
  * Too Many Requests
2831
2624
  */
@@ -2843,23 +2636,25 @@ export type AdminListFavoritesErrors = {
2843
2636
  */
2844
2637
  503: ProblemDetails;
2845
2638
  };
2846
- export type AdminListFavoritesError = AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
2847
- export type AdminListFavoritesResponses = {
2639
+ export type SupportQuerySubscriptionInsuranceEvidenceError = SupportQuerySubscriptionInsuranceEvidenceErrors[keyof SupportQuerySubscriptionInsuranceEvidenceErrors];
2640
+ export type SupportQuerySubscriptionInsuranceEvidenceResponses = {
2848
2641
  /**
2849
2642
  * OK
2850
2643
  */
2851
- 200: AdminReadResult;
2644
+ 200: SupportEvidencePage;
2852
2645
  };
2853
- export type AdminListFavoritesResponse = AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
2854
- export type AdminDeleteFavoriteData = {
2646
+ export type SupportQuerySubscriptionInsuranceEvidenceResponse = SupportQuerySubscriptionInsuranceEvidenceResponses[keyof SupportQuerySubscriptionInsuranceEvidenceResponses];
2647
+ export type SupportListAccountTrackerEvidenceData = {
2855
2648
  body?: never;
2856
2649
  path: {
2857
- trackerId: string;
2650
+ accountId: string;
2858
2651
  };
2859
- query?: never;
2860
- url: "/v1/admin/favorites/{trackerId}";
2652
+ query?: {
2653
+ after?: string;
2654
+ };
2655
+ url: "/v1/support/accounts/{accountId}/trackers";
2861
2656
  };
2862
- export type AdminDeleteFavoriteErrors = {
2657
+ export type SupportListAccountTrackerEvidenceErrors = {
2863
2658
  /**
2864
2659
  * Bad Request
2865
2660
  */
@@ -2872,10 +2667,6 @@ export type AdminDeleteFavoriteErrors = {
2872
2667
  * Forbidden
2873
2668
  */
2874
2669
  403: ProblemDetails;
2875
- /**
2876
- * Not Found
2877
- */
2878
- 404: ProblemDetails;
2879
2670
  /**
2880
2671
  * Conflict
2881
2672
  */
@@ -2901,23 +2692,25 @@ export type AdminDeleteFavoriteErrors = {
2901
2692
  */
2902
2693
  503: ProblemDetails;
2903
2694
  };
2904
- export type AdminDeleteFavoriteError = AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
2905
- export type AdminDeleteFavoriteResponses = {
2695
+ export type SupportListAccountTrackerEvidenceError = SupportListAccountTrackerEvidenceErrors[keyof SupportListAccountTrackerEvidenceErrors];
2696
+ export type SupportListAccountTrackerEvidenceResponses = {
2906
2697
  /**
2907
2698
  * OK
2908
2699
  */
2909
- 200: CommandSuccess;
2700
+ 200: SupportEvidenceSnapshot;
2910
2701
  };
2911
- export type AdminDeleteFavoriteResponse = AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
2912
- export type AdminGetFavoriteData = {
2702
+ export type SupportListAccountTrackerEvidenceResponse = SupportListAccountTrackerEvidenceResponses[keyof SupportListAccountTrackerEvidenceResponses];
2703
+ export type SupportListAccountSubscriptionEvidenceData = {
2913
2704
  body?: never;
2914
2705
  path: {
2915
- trackerId: string;
2706
+ accountId: string;
2916
2707
  };
2917
- query?: never;
2918
- url: "/v1/admin/favorites/{trackerId}";
2708
+ query?: {
2709
+ after?: string;
2710
+ };
2711
+ url: "/v1/support/accounts/{accountId}/subscriptions";
2919
2712
  };
2920
- export type AdminGetFavoriteErrors = {
2713
+ export type SupportListAccountSubscriptionEvidenceErrors = {
2921
2714
  /**
2922
2715
  * Bad Request
2923
2716
  */
@@ -2930,10 +2723,6 @@ export type AdminGetFavoriteErrors = {
2930
2723
  * Forbidden
2931
2724
  */
2932
2725
  403: ProblemDetails;
2933
- /**
2934
- * Not Found
2935
- */
2936
- 404: ProblemDetails;
2937
2726
  /**
2938
2727
  * Conflict
2939
2728
  */
@@ -2959,23 +2748,21 @@ export type AdminGetFavoriteErrors = {
2959
2748
  */
2960
2749
  503: ProblemDetails;
2961
2750
  };
2962
- export type AdminGetFavoriteError = AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
2963
- export type AdminGetFavoriteResponses = {
2751
+ export type SupportListAccountSubscriptionEvidenceError = SupportListAccountSubscriptionEvidenceErrors[keyof SupportListAccountSubscriptionEvidenceErrors];
2752
+ export type SupportListAccountSubscriptionEvidenceResponses = {
2964
2753
  /**
2965
2754
  * OK
2966
2755
  */
2967
- 200: AdminReadResult;
2756
+ 200: SupportEvidenceSnapshot;
2968
2757
  };
2969
- export type AdminGetFavoriteResponse = AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
2970
- export type AdminUpdateFavoriteCommentData = {
2971
- body: AdminFavoriteRequest;
2972
- path: {
2973
- trackerId: string;
2974
- };
2758
+ export type SupportListAccountSubscriptionEvidenceResponse = SupportListAccountSubscriptionEvidenceResponses[keyof SupportListAccountSubscriptionEvidenceResponses];
2759
+ export type SupportQueryTrackerFactEvidenceData = {
2760
+ body: SupportTrackerFactsRequest;
2761
+ path?: never;
2975
2762
  query?: never;
2976
- url: "/v1/admin/favorites/{trackerId}";
2763
+ url: "/v1/support/tracker-fact-queries";
2977
2764
  };
2978
- export type AdminUpdateFavoriteCommentErrors = {
2765
+ export type SupportQueryTrackerFactEvidenceErrors = {
2979
2766
  /**
2980
2767
  * Bad Request
2981
2768
  */
@@ -2988,10 +2775,6 @@ export type AdminUpdateFavoriteCommentErrors = {
2988
2775
  * Forbidden
2989
2776
  */
2990
2777
  403: ProblemDetails;
2991
- /**
2992
- * Not Found
2993
- */
2994
- 404: ProblemDetails;
2995
2778
  /**
2996
2779
  * Conflict
2997
2780
  */
@@ -3021,23 +2804,25 @@ export type AdminUpdateFavoriteCommentErrors = {
3021
2804
  */
3022
2805
  503: ProblemDetails;
3023
2806
  };
3024
- export type AdminUpdateFavoriteCommentError = AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
3025
- export type AdminUpdateFavoriteCommentResponses = {
2807
+ export type SupportQueryTrackerFactEvidenceError = SupportQueryTrackerFactEvidenceErrors[keyof SupportQueryTrackerFactEvidenceErrors];
2808
+ export type SupportQueryTrackerFactEvidenceResponses = {
3026
2809
  /**
3027
2810
  * OK
3028
2811
  */
3029
- 200: CommandSuccess;
2812
+ 200: SupportEvidenceSnapshot;
3030
2813
  };
3031
- export type AdminUpdateFavoriteCommentResponse = AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
3032
- export type AdminPutFavoriteData = {
3033
- body: AdminFavoriteRequest;
2814
+ export type SupportQueryTrackerFactEvidenceResponse = SupportQueryTrackerFactEvidenceResponses[keyof SupportQueryTrackerFactEvidenceResponses];
2815
+ export type SupportGetSubscriptionFactEvidenceData = {
2816
+ body?: never;
3034
2817
  path: {
3035
- trackerId: string;
2818
+ subscriptionId: string;
3036
2819
  };
3037
- query?: never;
3038
- 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}";
3039
2824
  };
3040
- export type AdminPutFavoriteErrors = {
2825
+ export type SupportGetSubscriptionFactEvidenceErrors = {
3041
2826
  /**
3042
2827
  * Bad Request
3043
2828
  */
@@ -3050,10 +2835,6 @@ export type AdminPutFavoriteErrors = {
3050
2835
  * Forbidden
3051
2836
  */
3052
2837
  403: ProblemDetails;
3053
- /**
3054
- * Not Found
3055
- */
3056
- 404: ProblemDetails;
3057
2838
  /**
3058
2839
  * Conflict
3059
2840
  */
@@ -3062,10 +2843,6 @@ export type AdminPutFavoriteErrors = {
3062
2843
  * Payload Too Large
3063
2844
  */
3064
2845
  413: ProblemDetails;
3065
- /**
3066
- * Unsupported Media Type
3067
- */
3068
- 415: ProblemDetails;
3069
2846
  /**
3070
2847
  * Too Many Requests
3071
2848
  */
@@ -3083,21 +2860,23 @@ export type AdminPutFavoriteErrors = {
3083
2860
  */
3084
2861
  503: ProblemDetails;
3085
2862
  };
3086
- export type AdminPutFavoriteError = AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
3087
- export type AdminPutFavoriteResponses = {
2863
+ export type SupportGetSubscriptionFactEvidenceError = SupportGetSubscriptionFactEvidenceErrors[keyof SupportGetSubscriptionFactEvidenceErrors];
2864
+ export type SupportGetSubscriptionFactEvidenceResponses = {
3088
2865
  /**
3089
2866
  * OK
3090
2867
  */
3091
- 200: CommandSuccess;
2868
+ 200: SupportEvidenceSnapshot;
3092
2869
  };
3093
- export type AdminPutFavoriteResponse = AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
3094
- export type AdminCreateB2bSubscriptionData = {
3095
- body: AdminB2bSubscriptionRequest;
3096
- path?: never;
2870
+ export type SupportGetSubscriptionFactEvidenceResponse = SupportGetSubscriptionFactEvidenceResponses[keyof SupportGetSubscriptionFactEvidenceResponses];
2871
+ export type SupportQueryTrackerSubscriptionEvidenceData = {
2872
+ body: SupportEvidenceAccountsRequest;
2873
+ path: {
2874
+ trackerId: string;
2875
+ };
3097
2876
  query?: never;
3098
- url: "/v1/admin/b2b/subscriptions";
2877
+ url: "/v1/support/trackers/{trackerId}/subscription-queries";
3099
2878
  };
3100
- export type AdminCreateB2bSubscriptionErrors = {
2879
+ export type SupportQueryTrackerSubscriptionEvidenceErrors = {
3101
2880
  /**
3102
2881
  * Bad Request
3103
2882
  */
@@ -3110,10 +2889,6 @@ export type AdminCreateB2bSubscriptionErrors = {
3110
2889
  * Forbidden
3111
2890
  */
3112
2891
  403: ProblemDetails;
3113
- /**
3114
- * Not Found
3115
- */
3116
- 404: ProblemDetails;
3117
2892
  /**
3118
2893
  * Conflict
3119
2894
  */
@@ -3143,23 +2918,23 @@ export type AdminCreateB2bSubscriptionErrors = {
3143
2918
  */
3144
2919
  503: ProblemDetails;
3145
2920
  };
3146
- export type AdminCreateB2bSubscriptionError = AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
3147
- export type AdminCreateB2bSubscriptionResponses = {
2921
+ export type SupportQueryTrackerSubscriptionEvidenceError = SupportQueryTrackerSubscriptionEvidenceErrors[keyof SupportQueryTrackerSubscriptionEvidenceErrors];
2922
+ export type SupportQueryTrackerSubscriptionEvidenceResponses = {
3148
2923
  /**
3149
- * Created
2924
+ * OK
3150
2925
  */
3151
- 201: AdminB2bSubscriptionResult;
2926
+ 200: SupportEvidenceSnapshot;
3152
2927
  };
3153
- export type AdminCreateB2bSubscriptionResponse = AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
3154
- export type AdminCancelB2bSubscriptionData = {
3155
- body?: never;
2928
+ export type SupportQueryTrackerSubscriptionEvidenceResponse = SupportQueryTrackerSubscriptionEvidenceResponses[keyof SupportQueryTrackerSubscriptionEvidenceResponses];
2929
+ export type SupportQueryCommerceBindingEvidenceData = {
2930
+ body: SupportEvidenceAccountsRequest;
3156
2931
  path: {
3157
- subscriptionId: string;
2932
+ wooId: number;
3158
2933
  };
3159
2934
  query?: never;
3160
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancellation-requests";
2935
+ url: "/v1/support/commerce-subscriptions/{wooId}/binding-queries";
3161
2936
  };
3162
- export type AdminCancelB2bSubscriptionErrors = {
2937
+ export type SupportQueryCommerceBindingEvidenceErrors = {
3163
2938
  /**
3164
2939
  * Bad Request
3165
2940
  */
@@ -3172,10 +2947,6 @@ export type AdminCancelB2bSubscriptionErrors = {
3172
2947
  * Forbidden
3173
2948
  */
3174
2949
  403: ProblemDetails;
3175
- /**
3176
- * Not Found
3177
- */
3178
- 404: ProblemDetails;
3179
2950
  /**
3180
2951
  * Conflict
3181
2952
  */
@@ -3184,6 +2955,10 @@ export type AdminCancelB2bSubscriptionErrors = {
3184
2955
  * Payload Too Large
3185
2956
  */
3186
2957
  413: ProblemDetails;
2958
+ /**
2959
+ * Unsupported Media Type
2960
+ */
2961
+ 415: ProblemDetails;
3187
2962
  /**
3188
2963
  * Too Many Requests
3189
2964
  */
@@ -3201,23 +2976,23 @@ export type AdminCancelB2bSubscriptionErrors = {
3201
2976
  */
3202
2977
  503: ProblemDetails;
3203
2978
  };
3204
- export type AdminCancelB2bSubscriptionError = AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
3205
- export type AdminCancelB2bSubscriptionResponses = {
2979
+ export type SupportQueryCommerceBindingEvidenceError = SupportQueryCommerceBindingEvidenceErrors[keyof SupportQueryCommerceBindingEvidenceErrors];
2980
+ export type SupportQueryCommerceBindingEvidenceResponses = {
3206
2981
  /**
3207
2982
  * OK
3208
2983
  */
3209
- 200: CommandSuccess;
2984
+ 200: SupportEvidenceSnapshot;
3210
2985
  };
3211
- export type AdminCancelB2bSubscriptionResponse = AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
3212
- export type AdminSyncB2bInsuranceData = {
3213
- body?: never;
2986
+ export type SupportQueryCommerceBindingEvidenceResponse = SupportQueryCommerceBindingEvidenceResponses[keyof SupportQueryCommerceBindingEvidenceResponses];
2987
+ export type SupportQueryTrackerHistoryEvidenceData = {
2988
+ body: SupportEvidenceHistoryRequest;
3214
2989
  path: {
3215
- subscriptionId: string;
2990
+ trackerId: string;
3216
2991
  };
3217
2992
  query?: never;
3218
- url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance-sync-requests";
2993
+ url: "/v1/support/trackers/{trackerId}/history-queries";
3219
2994
  };
3220
- export type AdminSyncB2bInsuranceErrors = {
2995
+ export type SupportQueryTrackerHistoryEvidenceErrors = {
3221
2996
  /**
3222
2997
  * Bad Request
3223
2998
  */
@@ -3230,10 +3005,6 @@ export type AdminSyncB2bInsuranceErrors = {
3230
3005
  * Forbidden
3231
3006
  */
3232
3007
  403: ProblemDetails;
3233
- /**
3234
- * Not Found
3235
- */
3236
- 404: ProblemDetails;
3237
3008
  /**
3238
3009
  * Conflict
3239
3010
  */
@@ -3242,6 +3013,10 @@ export type AdminSyncB2bInsuranceErrors = {
3242
3013
  * Payload Too Large
3243
3014
  */
3244
3015
  413: ProblemDetails;
3016
+ /**
3017
+ * Unsupported Media Type
3018
+ */
3019
+ 415: ProblemDetails;
3245
3020
  /**
3246
3021
  * Too Many Requests
3247
3022
  */
@@ -3259,21 +3034,23 @@ export type AdminSyncB2bInsuranceErrors = {
3259
3034
  */
3260
3035
  503: ProblemDetails;
3261
3036
  };
3262
- export type AdminSyncB2bInsuranceError = AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
3263
- export type AdminSyncB2bInsuranceResponses = {
3037
+ export type SupportQueryTrackerHistoryEvidenceError = SupportQueryTrackerHistoryEvidenceErrors[keyof SupportQueryTrackerHistoryEvidenceErrors];
3038
+ export type SupportQueryTrackerHistoryEvidenceResponses = {
3264
3039
  /**
3265
- * Accepted
3040
+ * OK
3266
3041
  */
3267
- 202: CommandSuccess;
3042
+ 200: SupportEvidenceSnapshot;
3268
3043
  };
3269
- export type AdminSyncB2bInsuranceResponse = AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
3270
- export type AdminSyncAllB2bInsuranceData = {
3271
- body?: never;
3272
- path?: never;
3044
+ export type SupportQueryTrackerHistoryEvidenceResponse = SupportQueryTrackerHistoryEvidenceResponses[keyof SupportQueryTrackerHistoryEvidenceResponses];
3045
+ export type SupportQueryTrackerRelationshipEvidenceData = {
3046
+ body: SupportRelationshipRequest;
3047
+ path: {
3048
+ trackerId: string;
3049
+ };
3273
3050
  query?: never;
3274
- url: "/v1/admin/b2b/subscriptions/insurance-sync-requests";
3051
+ url: "/v1/support/trackers/{trackerId}/relationship-queries";
3275
3052
  };
3276
- export type AdminSyncAllB2bInsuranceErrors = {
3053
+ export type SupportQueryTrackerRelationshipEvidenceErrors = {
3277
3054
  /**
3278
3055
  * Bad Request
3279
3056
  */
@@ -3286,10 +3063,6 @@ export type AdminSyncAllB2bInsuranceErrors = {
3286
3063
  * Forbidden
3287
3064
  */
3288
3065
  403: ProblemDetails;
3289
- /**
3290
- * Not Found
3291
- */
3292
- 404: ProblemDetails;
3293
3066
  /**
3294
3067
  * Conflict
3295
3068
  */
@@ -3298,6 +3071,10 @@ export type AdminSyncAllB2bInsuranceErrors = {
3298
3071
  * Payload Too Large
3299
3072
  */
3300
3073
  413: ProblemDetails;
3074
+ /**
3075
+ * Unsupported Media Type
3076
+ */
3077
+ 415: ProblemDetails;
3301
3078
  /**
3302
3079
  * Too Many Requests
3303
3080
  */
@@ -3315,12 +3092,12 @@ export type AdminSyncAllB2bInsuranceErrors = {
3315
3092
  */
3316
3093
  503: ProblemDetails;
3317
3094
  };
3318
- export type AdminSyncAllB2bInsuranceError = AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
3319
- export type AdminSyncAllB2bInsuranceResponses = {
3095
+ export type SupportQueryTrackerRelationshipEvidenceError = SupportQueryTrackerRelationshipEvidenceErrors[keyof SupportQueryTrackerRelationshipEvidenceErrors];
3096
+ export type SupportQueryTrackerRelationshipEvidenceResponses = {
3320
3097
  /**
3321
- * Accepted
3098
+ * OK
3322
3099
  */
3323
- 202: CommandSuccess;
3100
+ 200: SupportEvidenceSnapshot;
3324
3101
  };
3325
- export type AdminSyncAllB2bInsuranceResponse = AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
3102
+ export type SupportQueryTrackerRelationshipEvidenceResponse = SupportQueryTrackerRelationshipEvidenceResponses[keyof SupportQueryTrackerRelationshipEvidenceResponses];
3326
3103
  //# sourceMappingURL=types.gen.d.ts.map