@bikefinder/api-client 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +56 -13
  2. package/dist/admin/generated/client/client.gen.d.ts +3 -0
  3. package/dist/admin/generated/client/client.gen.d.ts.map +1 -0
  4. package/dist/admin/generated/client/client.gen.js +218 -0
  5. package/dist/admin/generated/client/client.gen.js.map +1 -0
  6. package/dist/admin/generated/client/index.d.ts +11 -0
  7. package/dist/admin/generated/client/index.d.ts.map +1 -0
  8. package/dist/admin/generated/client/index.js +7 -0
  9. package/dist/admin/generated/client/index.js.map +1 -0
  10. package/dist/admin/generated/client/types.gen.d.ts +121 -0
  11. package/dist/admin/generated/client/types.gen.d.ts.map +1 -0
  12. package/dist/admin/generated/client/types.gen.js +3 -0
  13. package/dist/admin/generated/client/types.gen.js.map +1 -0
  14. package/dist/admin/generated/client/utils.gen.d.ts +38 -0
  15. package/dist/admin/generated/client/utils.gen.d.ts.map +1 -0
  16. package/dist/admin/generated/client/utils.gen.js +232 -0
  17. package/dist/admin/generated/client/utils.gen.js.map +1 -0
  18. package/dist/admin/generated/client.gen.d.ts +13 -0
  19. package/dist/admin/generated/client.gen.d.ts.map +1 -0
  20. package/dist/admin/generated/client.gen.js +4 -0
  21. package/dist/admin/generated/client.gen.js.map +1 -0
  22. package/dist/admin/generated/core/auth.gen.d.ts +26 -0
  23. package/dist/admin/generated/core/auth.gen.d.ts.map +1 -0
  24. package/dist/admin/generated/core/auth.gen.js +15 -0
  25. package/dist/admin/generated/core/auth.gen.js.map +1 -0
  26. package/dist/admin/generated/core/bodySerializer.gen.d.ts +26 -0
  27. package/dist/admin/generated/core/bodySerializer.gen.d.ts.map +1 -0
  28. package/dist/admin/generated/core/bodySerializer.gen.js +58 -0
  29. package/dist/admin/generated/core/bodySerializer.gen.js.map +1 -0
  30. package/dist/admin/generated/core/params.gen.d.ts +44 -0
  31. package/dist/admin/generated/core/params.gen.d.ts.map +1 -0
  32. package/dist/admin/generated/core/params.gen.js +113 -0
  33. package/dist/admin/generated/core/params.gen.js.map +1 -0
  34. package/dist/admin/generated/core/pathSerializer.gen.d.ts +34 -0
  35. package/dist/admin/generated/core/pathSerializer.gen.d.ts.map +1 -0
  36. package/dist/admin/generated/core/pathSerializer.gen.js +115 -0
  37. package/dist/admin/generated/core/pathSerializer.gen.js.map +1 -0
  38. package/dist/admin/generated/core/queryKeySerializer.gen.d.ts +19 -0
  39. package/dist/admin/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
  40. package/dist/admin/generated/core/queryKeySerializer.gen.js +100 -0
  41. package/dist/admin/generated/core/queryKeySerializer.gen.js.map +1 -0
  42. package/dist/admin/generated/core/serverSentEvents.gen.d.ts +72 -0
  43. package/dist/admin/generated/core/serverSentEvents.gen.d.ts.map +1 -0
  44. package/dist/admin/generated/core/serverSentEvents.gen.js +137 -0
  45. package/dist/admin/generated/core/serverSentEvents.gen.js.map +1 -0
  46. package/dist/admin/generated/core/types.gen.d.ts +84 -0
  47. package/dist/admin/generated/core/types.gen.d.ts.map +1 -0
  48. package/dist/admin/generated/core/types.gen.js +3 -0
  49. package/dist/admin/generated/core/types.gen.js.map +1 -0
  50. package/dist/admin/generated/core/utils.gen.d.ts +20 -0
  51. package/dist/admin/generated/core/utils.gen.d.ts.map +1 -0
  52. package/dist/admin/generated/core/utils.gen.js +88 -0
  53. package/dist/admin/generated/core/utils.gen.js.map +1 -0
  54. package/dist/admin/generated/index.d.ts +3 -0
  55. package/dist/admin/generated/index.d.ts.map +1 -0
  56. package/dist/admin/generated/index.js +3 -0
  57. package/dist/admin/generated/index.js.map +1 -0
  58. package/dist/admin/generated/sdk.gen.d.ts +74 -0
  59. package/dist/admin/generated/sdk.gen.d.ts.map +1 -0
  60. package/dist/admin/generated/sdk.gen.js +417 -0
  61. package/dist/admin/generated/sdk.gen.js.map +1 -0
  62. package/dist/admin/generated/types.gen.d.ts +2087 -0
  63. package/dist/admin/generated/types.gen.d.ts.map +1 -0
  64. package/dist/admin/generated/types.gen.js +3 -0
  65. package/dist/admin/generated/types.gen.js.map +1 -0
  66. package/dist/admin/generated/zod.gen.d.ts +2786 -0
  67. package/dist/admin/generated/zod.gen.d.ts.map +1 -0
  68. package/dist/admin/generated/zod.gen.js +659 -0
  69. package/dist/admin/generated/zod.gen.js.map +1 -0
  70. package/dist/admin/index.d.ts +15 -0
  71. package/dist/admin/index.d.ts.map +1 -0
  72. package/dist/admin/index.js +19 -0
  73. package/dist/admin/index.js.map +1 -0
  74. package/dist/generated/index.d.ts +1 -1
  75. package/dist/generated/index.d.ts.map +1 -1
  76. package/dist/generated/sdk.gen.d.ts +128 -2
  77. package/dist/generated/sdk.gen.d.ts.map +1 -1
  78. package/dist/generated/sdk.gen.js +468 -5
  79. package/dist/generated/sdk.gen.js.map +1 -1
  80. package/dist/generated/types.gen.d.ts +1867 -0
  81. package/dist/generated/types.gen.d.ts.map +1 -1
  82. package/dist/generated/zod.gen.d.ts +1063 -0
  83. package/dist/generated/zod.gen.d.ts.map +1 -1
  84. package/dist/generated/zod.gen.js +801 -0
  85. package/dist/generated/zod.gen.js.map +1 -1
  86. package/dist/http-client.d.ts +1 -1
  87. package/dist/http-client.d.ts.map +1 -1
  88. package/dist/http-client.js +3 -3
  89. package/dist/http-client.js.map +1 -1
  90. package/dist/index.d.ts +2 -0
  91. package/dist/index.d.ts.map +1 -1
  92. package/dist/index.js +3 -2
  93. package/dist/index.js.map +1 -1
  94. package/dist/realtime/watch.d.ts +21 -0
  95. package/dist/realtime/watch.d.ts.map +1 -0
  96. package/dist/realtime/{watch-trackers.js → watch.js} +13 -11
  97. package/dist/realtime/watch.js.map +1 -0
  98. package/package.json +7 -2
  99. package/src/admin/generated/client/client.gen.ts +300 -0
  100. package/src/admin/generated/client/index.ts +27 -0
  101. package/src/admin/generated/client/types.gen.ts +238 -0
  102. package/src/admin/generated/client/utils.gen.ts +337 -0
  103. package/src/admin/generated/client.gen.ts +24 -0
  104. package/src/admin/generated/core/auth.gen.ts +49 -0
  105. package/src/admin/generated/core/bodySerializer.gen.ts +96 -0
  106. package/src/admin/generated/core/params.gen.ts +188 -0
  107. package/src/admin/generated/core/pathSerializer.gen.ts +186 -0
  108. package/src/admin/generated/core/queryKeySerializer.gen.ts +134 -0
  109. package/src/admin/generated/core/serverSentEvents.gen.ts +265 -0
  110. package/src/admin/generated/core/types.gen.ts +126 -0
  111. package/src/admin/generated/core/utils.gen.ts +146 -0
  112. package/src/admin/generated/index.ts +237 -0
  113. package/src/admin/generated/sdk.gen.ts +1066 -0
  114. package/src/admin/generated/types.gen.ts +2418 -0
  115. package/src/admin/generated/zod.gen.ts +805 -0
  116. package/src/admin/index.ts +34 -0
  117. package/src/generated/index.ts +232 -0
  118. package/src/generated/sdk.gen.ts +1072 -11
  119. package/src/generated/types.gen.ts +2215 -42
  120. package/src/generated/zod.gen.ts +968 -14
  121. package/src/http-client.ts +6 -3
  122. package/src/index.ts +10 -2
  123. package/src/realtime/watch.ts +158 -0
  124. package/dist/realtime/watch-trackers.d.ts +0 -10
  125. package/dist/realtime/watch-trackers.d.ts.map +0 -1
  126. package/dist/realtime/watch-trackers.js.map +0 -1
  127. package/src/realtime/watch-trackers.ts +0 -114
@@ -0,0 +1,2418 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ export type ClientOptions = {
4
+ baseUrl: `${string}://${string}` | (string & {});
5
+ };
6
+
7
+ export type AdminAddMemberRequest = {
8
+ email: string;
9
+ description?: string;
10
+ };
11
+
12
+ export type AdminB2bSubscriptionRequest = {
13
+ company: string;
14
+ streetName: string;
15
+ postalArea: string;
16
+ tier: AdminB2bTier;
17
+ country: string;
18
+ email: string;
19
+ quantity: number;
20
+ date: string;
21
+ nextPaymentDate: string;
22
+ tierInfo: string;
23
+ description?: string;
24
+ requestId?: null | string;
25
+ };
26
+
27
+ export type AdminB2bSubscriptionResult = {
28
+ success: boolean;
29
+ id: string;
30
+ };
31
+
32
+ export type AdminB2bTier =
33
+ "b2b_0" | "b2b_1" | "b2b_2" | "b2b_3" | "b2b_4" | "b2b_5" | "b2b_6" | "b2b_7";
34
+
35
+ export type AdminBikeRequest = {
36
+ changes: {
37
+ [key: string]: string;
38
+ };
39
+ };
40
+
41
+ export type AdminConfigurationRequest = {
42
+ values: {
43
+ [key: string]: unknown;
44
+ };
45
+ };
46
+
47
+ export type AdminDenylistRequest = {
48
+ requestId: string;
49
+ value: boolean;
50
+ expected: boolean;
51
+ reason?: null | string;
52
+ };
53
+
54
+ export type AdminDeviceCommandResult = {
55
+ success: boolean;
56
+ commandId: string;
57
+ jobIds: Array<string>;
58
+ };
59
+
60
+ export type AdminDocument = {
61
+ id: string;
62
+ fields: AdminSupportValue;
63
+ };
64
+
65
+ export type AdminFavoriteRequest = {
66
+ comment: string;
67
+ };
68
+
69
+ export type AdminGeneration = "g1" | "gen2";
70
+
71
+ export type AdminHistoryCollection =
72
+ "data" | "images" | "logs" | "productionData" | "sanitizedData";
73
+
74
+ export type AdminInsuranceProvider = "cycler" | "hepster" | "tryg";
75
+
76
+ export type AdminLinkSubscriptionRequest = {
77
+ subscriptionId: string;
78
+ };
79
+
80
+ export type AdminLookupRequest = {
81
+ uids?: null | Array<string>;
82
+ emails?: null | Array<string>;
83
+ };
84
+
85
+ export type AdminLookupResult = {
86
+ uidsLookup: Array<AdminLookupUser>;
87
+ emailsLookup: Array<AdminLookupUser>;
88
+ };
89
+
90
+ export type AdminLookupUser = {
91
+ userId: string;
92
+ email?: null | string;
93
+ nickname?: null | string;
94
+ };
95
+
96
+ export type AdminMode = "passive" | "security" | "standard" | "tracking";
97
+
98
+ export type AdminModeRequest = {
99
+ mode: AdminMode;
100
+ };
101
+
102
+ export type AdminNotificationRequest = {
103
+ requestId: string;
104
+ title: string;
105
+ message: string;
106
+ supportTimestamp?: null | boolean;
107
+ log?: null | string;
108
+ };
109
+
110
+ export type AdminOperationalDomain = {
111
+ state: JsonElement;
112
+ updatedAt: AdminTimestamp;
113
+ };
114
+
115
+ export type AdminOperationalDomains = {
116
+ battery?: null | AdminOperationalDomain;
117
+ runtime?: null | AdminOperationalDomain;
118
+ statistics?: null | AdminOperationalDomain;
119
+ firmware?: null | AdminOperationalDomain;
120
+ };
121
+
122
+ export type AdminOperationalState = {
123
+ schemaVersion: number;
124
+ deviceId: string;
125
+ deviceEpoch: string;
126
+ deviceCreatedAt: AdminTimestamp;
127
+ domains: AdminOperationalDomains;
128
+ };
129
+
130
+ export type AdminPrivateDomain =
131
+ "battery" | "firmware" | "runtime" | "statistics";
132
+
133
+ export type AdminPublicDomain =
134
+ "battery" | "configuration" | "contact" | "location";
135
+
136
+ export type AdminPublicStates = {
137
+ contact?: null | AdminDocument;
138
+ battery?: null | AdminDocument;
139
+ location?: null | AdminDocument;
140
+ configuration?: null | AdminDocument;
141
+ };
142
+
143
+ export type AdminReadResult = {
144
+ documents: Array<AdminDocument>;
145
+ nextCursor: null | string;
146
+ states?: null | AdminPublicStates;
147
+ };
148
+
149
+ export type AdminRequestId = {
150
+ requestId: string;
151
+ };
152
+
153
+ export type AdminSession = {
154
+ uid: string;
155
+ canRead: boolean;
156
+ canWrite: boolean;
157
+ isSalesUser: boolean;
158
+ };
159
+
160
+ export type AdminSubscriptionSearchKind = "b2b" | "uid" | "wooId";
161
+
162
+ export type AdminSupportValue =
163
+ | null
164
+ | boolean
165
+ | string
166
+ | number
167
+ | {
168
+ map: {
169
+ [key: string]: AdminSupportValue;
170
+ };
171
+ }
172
+ | {
173
+ array: Array<AdminSupportValue>;
174
+ }
175
+ | {
176
+ timestamp: {
177
+ seconds: number;
178
+ nanoseconds: number;
179
+ };
180
+ }
181
+ | {
182
+ geoPoint: {
183
+ latitude: number;
184
+ longitude: number;
185
+ };
186
+ }
187
+ | {
188
+ reference: string;
189
+ }
190
+ | {
191
+ bytes: string;
192
+ }
193
+ | {
194
+ number: "NaN" | "Infinity" | "-Infinity";
195
+ };
196
+
197
+ export type AdminTimestamp = {
198
+ seconds: number;
199
+ nanoseconds: number;
200
+ };
201
+
202
+ export type AdminTrackerCommand =
203
+ | "changeEncryptionKey"
204
+ | "changeRareConfigs"
205
+ | "eraseExternalFlash"
206
+ | "factoryReset"
207
+ | "flightMode"
208
+ | "installFota"
209
+ | "powerDown"
210
+ | "reset";
211
+
212
+ export type AdminTrackerCommandRequest = {
213
+ generation: AdminGeneration;
214
+ command: null | AdminTrackerCommand;
215
+ expectedCommand: null | string;
216
+ };
217
+
218
+ export type AdminTrackerSearchKind =
219
+ "iccid" | "imei" | "subscriptionId" | "uid";
220
+
221
+ export type AdminTrackerView = {
222
+ tracker: AdminReadResult;
223
+ operationalState: null | AdminOperationalState;
224
+ };
225
+
226
+ export type CommandSuccess = {
227
+ success: boolean;
228
+ };
229
+
230
+ export type IFormFile = Blob | File;
231
+
232
+ export type JsonElement = unknown;
233
+
234
+ export type PhotoUploadResult = {
235
+ id: string;
236
+ };
237
+
238
+ export type ProblemDetails = {
239
+ type?: null | string;
240
+ title?: null | string;
241
+ status?: null | number;
242
+ detail?: null | string;
243
+ instance?: null | string;
244
+ };
245
+
246
+ export type AdminUploadTrackerPhotoData = {
247
+ body: {
248
+ file: IFormFile;
249
+ } & {
250
+ kind: string;
251
+ } & {
252
+ width: number;
253
+ } & {
254
+ height: number;
255
+ };
256
+ path: {
257
+ trackerId: string;
258
+ };
259
+ query?: never;
260
+ url: "/v1/admin/trackers/{trackerId}/photos";
261
+ };
262
+
263
+ export type AdminUploadTrackerPhotoErrors = {
264
+ /**
265
+ * Bad Request
266
+ */
267
+ 400: ProblemDetails;
268
+ /**
269
+ * Unauthorized
270
+ */
271
+ 401: ProblemDetails;
272
+ /**
273
+ * Forbidden
274
+ */
275
+ 403: ProblemDetails;
276
+ /**
277
+ * Not Found
278
+ */
279
+ 404: ProblemDetails;
280
+ /**
281
+ * Payload Too Large
282
+ */
283
+ 413: ProblemDetails;
284
+ /**
285
+ * Service Unavailable
286
+ */
287
+ 503: ProblemDetails;
288
+ };
289
+
290
+ export type AdminUploadTrackerPhotoError =
291
+ AdminUploadTrackerPhotoErrors[keyof AdminUploadTrackerPhotoErrors];
292
+
293
+ export type AdminUploadTrackerPhotoResponses = {
294
+ /**
295
+ * OK
296
+ */
297
+ 200: PhotoUploadResult;
298
+ };
299
+
300
+ export type AdminUploadTrackerPhotoResponse =
301
+ AdminUploadTrackerPhotoResponses[keyof AdminUploadTrackerPhotoResponses];
302
+
303
+ export type AdminGetTrackerData = {
304
+ body?: never;
305
+ path: {
306
+ trackerId: string;
307
+ };
308
+ query?: {
309
+ domains?: Array<AdminPublicDomain>;
310
+ };
311
+ url: "/v1/admin/trackers/{trackerId}";
312
+ };
313
+
314
+ export type AdminGetTrackerErrors = {
315
+ /**
316
+ * Bad Request
317
+ */
318
+ 400: ProblemDetails;
319
+ /**
320
+ * Unauthorized
321
+ */
322
+ 401: ProblemDetails;
323
+ /**
324
+ * Forbidden
325
+ */
326
+ 403: ProblemDetails;
327
+ /**
328
+ * Not Found
329
+ */
330
+ 404: ProblemDetails;
331
+ /**
332
+ * Conflict
333
+ */
334
+ 409: ProblemDetails;
335
+ /**
336
+ * Too Many Requests
337
+ */
338
+ 429: ProblemDetails;
339
+ /**
340
+ * Bad Gateway
341
+ */
342
+ 502: ProblemDetails;
343
+ /**
344
+ * Service Unavailable
345
+ */
346
+ 503: ProblemDetails;
347
+ };
348
+
349
+ export type AdminGetTrackerError =
350
+ AdminGetTrackerErrors[keyof AdminGetTrackerErrors];
351
+
352
+ export type AdminGetTrackerResponses = {
353
+ /**
354
+ * OK
355
+ */
356
+ 200: AdminReadResult;
357
+ };
358
+
359
+ export type AdminGetTrackerResponse =
360
+ AdminGetTrackerResponses[keyof AdminGetTrackerResponses];
361
+
362
+ export type AdminSearchTrackersData = {
363
+ body?: never;
364
+ path?: never;
365
+ query: {
366
+ kind: AdminTrackerSearchKind;
367
+ value: string;
368
+ cursor?: string;
369
+ };
370
+ url: "/v1/admin/trackers";
371
+ };
372
+
373
+ export type AdminSearchTrackersErrors = {
374
+ /**
375
+ * Bad Request
376
+ */
377
+ 400: ProblemDetails;
378
+ /**
379
+ * Unauthorized
380
+ */
381
+ 401: ProblemDetails;
382
+ /**
383
+ * Forbidden
384
+ */
385
+ 403: ProblemDetails;
386
+ /**
387
+ * Not Found
388
+ */
389
+ 404: ProblemDetails;
390
+ /**
391
+ * Conflict
392
+ */
393
+ 409: ProblemDetails;
394
+ /**
395
+ * Too Many Requests
396
+ */
397
+ 429: ProblemDetails;
398
+ /**
399
+ * Bad Gateway
400
+ */
401
+ 502: ProblemDetails;
402
+ /**
403
+ * Service Unavailable
404
+ */
405
+ 503: ProblemDetails;
406
+ };
407
+
408
+ export type AdminSearchTrackersError =
409
+ AdminSearchTrackersErrors[keyof AdminSearchTrackersErrors];
410
+
411
+ export type AdminSearchTrackersResponses = {
412
+ /**
413
+ * OK
414
+ */
415
+ 200: AdminReadResult;
416
+ };
417
+
418
+ export type AdminSearchTrackersResponse =
419
+ AdminSearchTrackersResponses[keyof AdminSearchTrackersResponses];
420
+
421
+ export type AdminGetUserData = {
422
+ body?: never;
423
+ path: {
424
+ uid: string;
425
+ };
426
+ query?: never;
427
+ url: "/v1/admin/users/{uid}";
428
+ };
429
+
430
+ export type AdminGetUserErrors = {
431
+ /**
432
+ * Bad Request
433
+ */
434
+ 400: ProblemDetails;
435
+ /**
436
+ * Unauthorized
437
+ */
438
+ 401: ProblemDetails;
439
+ /**
440
+ * Forbidden
441
+ */
442
+ 403: ProblemDetails;
443
+ /**
444
+ * Not Found
445
+ */
446
+ 404: ProblemDetails;
447
+ /**
448
+ * Conflict
449
+ */
450
+ 409: ProblemDetails;
451
+ /**
452
+ * Too Many Requests
453
+ */
454
+ 429: ProblemDetails;
455
+ /**
456
+ * Bad Gateway
457
+ */
458
+ 502: ProblemDetails;
459
+ /**
460
+ * Service Unavailable
461
+ */
462
+ 503: ProblemDetails;
463
+ };
464
+
465
+ export type AdminGetUserError = AdminGetUserErrors[keyof AdminGetUserErrors];
466
+
467
+ export type AdminGetUserResponses = {
468
+ /**
469
+ * OK
470
+ */
471
+ 200: AdminReadResult;
472
+ };
473
+
474
+ export type AdminGetUserResponse =
475
+ AdminGetUserResponses[keyof AdminGetUserResponses];
476
+
477
+ export type AdminGetSubscriptionData = {
478
+ body?: never;
479
+ path: {
480
+ subscriptionId: string;
481
+ };
482
+ query?: never;
483
+ url: "/v1/admin/subscriptions/{subscriptionId}";
484
+ };
485
+
486
+ export type AdminGetSubscriptionErrors = {
487
+ /**
488
+ * Bad Request
489
+ */
490
+ 400: ProblemDetails;
491
+ /**
492
+ * Unauthorized
493
+ */
494
+ 401: ProblemDetails;
495
+ /**
496
+ * Forbidden
497
+ */
498
+ 403: ProblemDetails;
499
+ /**
500
+ * Not Found
501
+ */
502
+ 404: ProblemDetails;
503
+ /**
504
+ * Conflict
505
+ */
506
+ 409: ProblemDetails;
507
+ /**
508
+ * Too Many Requests
509
+ */
510
+ 429: ProblemDetails;
511
+ /**
512
+ * Bad Gateway
513
+ */
514
+ 502: ProblemDetails;
515
+ /**
516
+ * Service Unavailable
517
+ */
518
+ 503: ProblemDetails;
519
+ };
520
+
521
+ export type AdminGetSubscriptionError =
522
+ AdminGetSubscriptionErrors[keyof AdminGetSubscriptionErrors];
523
+
524
+ export type AdminGetSubscriptionResponses = {
525
+ /**
526
+ * OK
527
+ */
528
+ 200: AdminReadResult;
529
+ };
530
+
531
+ export type AdminGetSubscriptionResponse =
532
+ AdminGetSubscriptionResponses[keyof AdminGetSubscriptionResponses];
533
+
534
+ export type AdminSearchSubscriptionsData = {
535
+ body?: never;
536
+ path?: never;
537
+ query: {
538
+ kind: AdminSubscriptionSearchKind;
539
+ value?: string;
540
+ cursor?: string;
541
+ };
542
+ url: "/v1/admin/subscriptions";
543
+ };
544
+
545
+ export type AdminSearchSubscriptionsErrors = {
546
+ /**
547
+ * Bad Request
548
+ */
549
+ 400: ProblemDetails;
550
+ /**
551
+ * Unauthorized
552
+ */
553
+ 401: ProblemDetails;
554
+ /**
555
+ * Forbidden
556
+ */
557
+ 403: ProblemDetails;
558
+ /**
559
+ * Not Found
560
+ */
561
+ 404: ProblemDetails;
562
+ /**
563
+ * Conflict
564
+ */
565
+ 409: ProblemDetails;
566
+ /**
567
+ * Too Many Requests
568
+ */
569
+ 429: ProblemDetails;
570
+ /**
571
+ * Bad Gateway
572
+ */
573
+ 502: ProblemDetails;
574
+ /**
575
+ * Service Unavailable
576
+ */
577
+ 503: ProblemDetails;
578
+ };
579
+
580
+ export type AdminSearchSubscriptionsError =
581
+ AdminSearchSubscriptionsErrors[keyof AdminSearchSubscriptionsErrors];
582
+
583
+ export type AdminSearchSubscriptionsResponses = {
584
+ /**
585
+ * OK
586
+ */
587
+ 200: AdminReadResult;
588
+ };
589
+
590
+ export type AdminSearchSubscriptionsResponse =
591
+ AdminSearchSubscriptionsResponses[keyof AdminSearchSubscriptionsResponses];
592
+
593
+ export type AdminListInsuranceData = {
594
+ body?: never;
595
+ path: {
596
+ subscriptionId: string;
597
+ provider: AdminInsuranceProvider;
598
+ };
599
+ query?: {
600
+ cursor?: string;
601
+ };
602
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance/{provider}";
603
+ };
604
+
605
+ export type AdminListInsuranceErrors = {
606
+ /**
607
+ * Bad Request
608
+ */
609
+ 400: ProblemDetails;
610
+ /**
611
+ * Unauthorized
612
+ */
613
+ 401: ProblemDetails;
614
+ /**
615
+ * Forbidden
616
+ */
617
+ 403: ProblemDetails;
618
+ /**
619
+ * Not Found
620
+ */
621
+ 404: ProblemDetails;
622
+ /**
623
+ * Conflict
624
+ */
625
+ 409: ProblemDetails;
626
+ /**
627
+ * Too Many Requests
628
+ */
629
+ 429: ProblemDetails;
630
+ /**
631
+ * Bad Gateway
632
+ */
633
+ 502: ProblemDetails;
634
+ /**
635
+ * Service Unavailable
636
+ */
637
+ 503: ProblemDetails;
638
+ };
639
+
640
+ export type AdminListInsuranceError =
641
+ AdminListInsuranceErrors[keyof AdminListInsuranceErrors];
642
+
643
+ export type AdminListInsuranceResponses = {
644
+ /**
645
+ * OK
646
+ */
647
+ 200: AdminReadResult;
648
+ };
649
+
650
+ export type AdminListInsuranceResponse =
651
+ AdminListInsuranceResponses[keyof AdminListInsuranceResponses];
652
+
653
+ export type AdminListFavoritesData = {
654
+ body?: never;
655
+ path?: never;
656
+ query?: {
657
+ cursor?: string;
658
+ };
659
+ url: "/v1/admin/favorites";
660
+ };
661
+
662
+ export type AdminListFavoritesErrors = {
663
+ /**
664
+ * Bad Request
665
+ */
666
+ 400: ProblemDetails;
667
+ /**
668
+ * Unauthorized
669
+ */
670
+ 401: ProblemDetails;
671
+ /**
672
+ * Forbidden
673
+ */
674
+ 403: ProblemDetails;
675
+ /**
676
+ * Not Found
677
+ */
678
+ 404: ProblemDetails;
679
+ /**
680
+ * Conflict
681
+ */
682
+ 409: ProblemDetails;
683
+ /**
684
+ * Too Many Requests
685
+ */
686
+ 429: ProblemDetails;
687
+ /**
688
+ * Bad Gateway
689
+ */
690
+ 502: ProblemDetails;
691
+ /**
692
+ * Service Unavailable
693
+ */
694
+ 503: ProblemDetails;
695
+ };
696
+
697
+ export type AdminListFavoritesError =
698
+ AdminListFavoritesErrors[keyof AdminListFavoritesErrors];
699
+
700
+ export type AdminListFavoritesResponses = {
701
+ /**
702
+ * OK
703
+ */
704
+ 200: AdminReadResult;
705
+ };
706
+
707
+ export type AdminListFavoritesResponse =
708
+ AdminListFavoritesResponses[keyof AdminListFavoritesResponses];
709
+
710
+ export type AdminDeleteFavoriteData = {
711
+ body?: never;
712
+ path: {
713
+ trackerId: string;
714
+ };
715
+ query?: never;
716
+ url: "/v1/admin/favorites/{trackerId}";
717
+ };
718
+
719
+ export type AdminDeleteFavoriteErrors = {
720
+ /**
721
+ * Bad Request
722
+ */
723
+ 400: ProblemDetails;
724
+ /**
725
+ * Unauthorized
726
+ */
727
+ 401: ProblemDetails;
728
+ /**
729
+ * Forbidden
730
+ */
731
+ 403: ProblemDetails;
732
+ /**
733
+ * Not Found
734
+ */
735
+ 404: ProblemDetails;
736
+ /**
737
+ * Conflict
738
+ */
739
+ 409: ProblemDetails;
740
+ /**
741
+ * Too Many Requests
742
+ */
743
+ 429: ProblemDetails;
744
+ /**
745
+ * Bad Gateway
746
+ */
747
+ 502: ProblemDetails;
748
+ /**
749
+ * Service Unavailable
750
+ */
751
+ 503: ProblemDetails;
752
+ };
753
+
754
+ export type AdminDeleteFavoriteError =
755
+ AdminDeleteFavoriteErrors[keyof AdminDeleteFavoriteErrors];
756
+
757
+ export type AdminDeleteFavoriteResponses = {
758
+ /**
759
+ * OK
760
+ */
761
+ 200: CommandSuccess;
762
+ };
763
+
764
+ export type AdminDeleteFavoriteResponse =
765
+ AdminDeleteFavoriteResponses[keyof AdminDeleteFavoriteResponses];
766
+
767
+ export type AdminGetFavoriteData = {
768
+ body?: never;
769
+ path: {
770
+ trackerId: string;
771
+ };
772
+ query?: never;
773
+ url: "/v1/admin/favorites/{trackerId}";
774
+ };
775
+
776
+ export type AdminGetFavoriteErrors = {
777
+ /**
778
+ * Bad Request
779
+ */
780
+ 400: ProblemDetails;
781
+ /**
782
+ * Unauthorized
783
+ */
784
+ 401: ProblemDetails;
785
+ /**
786
+ * Forbidden
787
+ */
788
+ 403: ProblemDetails;
789
+ /**
790
+ * Not Found
791
+ */
792
+ 404: ProblemDetails;
793
+ /**
794
+ * Conflict
795
+ */
796
+ 409: ProblemDetails;
797
+ /**
798
+ * Too Many Requests
799
+ */
800
+ 429: ProblemDetails;
801
+ /**
802
+ * Bad Gateway
803
+ */
804
+ 502: ProblemDetails;
805
+ /**
806
+ * Service Unavailable
807
+ */
808
+ 503: ProblemDetails;
809
+ };
810
+
811
+ export type AdminGetFavoriteError =
812
+ AdminGetFavoriteErrors[keyof AdminGetFavoriteErrors];
813
+
814
+ export type AdminGetFavoriteResponses = {
815
+ /**
816
+ * OK
817
+ */
818
+ 200: AdminReadResult;
819
+ };
820
+
821
+ export type AdminGetFavoriteResponse =
822
+ AdminGetFavoriteResponses[keyof AdminGetFavoriteResponses];
823
+
824
+ export type AdminUpdateFavoriteCommentData = {
825
+ body: AdminFavoriteRequest;
826
+ path: {
827
+ trackerId: string;
828
+ };
829
+ query?: never;
830
+ url: "/v1/admin/favorites/{trackerId}";
831
+ };
832
+
833
+ export type AdminUpdateFavoriteCommentErrors = {
834
+ /**
835
+ * Bad Request
836
+ */
837
+ 400: ProblemDetails;
838
+ /**
839
+ * Unauthorized
840
+ */
841
+ 401: ProblemDetails;
842
+ /**
843
+ * Forbidden
844
+ */
845
+ 403: ProblemDetails;
846
+ /**
847
+ * Not Found
848
+ */
849
+ 404: ProblemDetails;
850
+ /**
851
+ * Conflict
852
+ */
853
+ 409: ProblemDetails;
854
+ /**
855
+ * Too Many Requests
856
+ */
857
+ 429: ProblemDetails;
858
+ /**
859
+ * Bad Gateway
860
+ */
861
+ 502: ProblemDetails;
862
+ /**
863
+ * Service Unavailable
864
+ */
865
+ 503: ProblemDetails;
866
+ };
867
+
868
+ export type AdminUpdateFavoriteCommentError =
869
+ AdminUpdateFavoriteCommentErrors[keyof AdminUpdateFavoriteCommentErrors];
870
+
871
+ export type AdminUpdateFavoriteCommentResponses = {
872
+ /**
873
+ * OK
874
+ */
875
+ 200: CommandSuccess;
876
+ };
877
+
878
+ export type AdminUpdateFavoriteCommentResponse =
879
+ AdminUpdateFavoriteCommentResponses[keyof AdminUpdateFavoriteCommentResponses];
880
+
881
+ export type AdminPutFavoriteData = {
882
+ body: AdminFavoriteRequest;
883
+ path: {
884
+ trackerId: string;
885
+ };
886
+ query?: never;
887
+ url: "/v1/admin/favorites/{trackerId}";
888
+ };
889
+
890
+ export type AdminPutFavoriteErrors = {
891
+ /**
892
+ * Bad Request
893
+ */
894
+ 400: ProblemDetails;
895
+ /**
896
+ * Unauthorized
897
+ */
898
+ 401: ProblemDetails;
899
+ /**
900
+ * Forbidden
901
+ */
902
+ 403: ProblemDetails;
903
+ /**
904
+ * Not Found
905
+ */
906
+ 404: ProblemDetails;
907
+ /**
908
+ * Conflict
909
+ */
910
+ 409: ProblemDetails;
911
+ /**
912
+ * Too Many Requests
913
+ */
914
+ 429: ProblemDetails;
915
+ /**
916
+ * Bad Gateway
917
+ */
918
+ 502: ProblemDetails;
919
+ /**
920
+ * Service Unavailable
921
+ */
922
+ 503: ProblemDetails;
923
+ };
924
+
925
+ export type AdminPutFavoriteError =
926
+ AdminPutFavoriteErrors[keyof AdminPutFavoriteErrors];
927
+
928
+ export type AdminPutFavoriteResponses = {
929
+ /**
930
+ * OK
931
+ */
932
+ 200: CommandSuccess;
933
+ };
934
+
935
+ export type AdminPutFavoriteResponse =
936
+ AdminPutFavoriteResponses[keyof AdminPutFavoriteResponses];
937
+
938
+ export type AdminListTrackerHistoryData = {
939
+ body?: never;
940
+ path: {
941
+ trackerId: string;
942
+ collection: AdminHistoryCollection;
943
+ };
944
+ query?: {
945
+ from?: number;
946
+ to?: number;
947
+ cursor?: string;
948
+ };
949
+ url: "/v1/admin/trackers/{trackerId}/history/{collection}";
950
+ };
951
+
952
+ export type AdminListTrackerHistoryErrors = {
953
+ /**
954
+ * Bad Request
955
+ */
956
+ 400: ProblemDetails;
957
+ /**
958
+ * Unauthorized
959
+ */
960
+ 401: ProblemDetails;
961
+ /**
962
+ * Forbidden
963
+ */
964
+ 403: ProblemDetails;
965
+ /**
966
+ * Not Found
967
+ */
968
+ 404: ProblemDetails;
969
+ /**
970
+ * Conflict
971
+ */
972
+ 409: ProblemDetails;
973
+ /**
974
+ * Too Many Requests
975
+ */
976
+ 429: ProblemDetails;
977
+ /**
978
+ * Bad Gateway
979
+ */
980
+ 502: ProblemDetails;
981
+ /**
982
+ * Service Unavailable
983
+ */
984
+ 503: ProblemDetails;
985
+ };
986
+
987
+ export type AdminListTrackerHistoryError =
988
+ AdminListTrackerHistoryErrors[keyof AdminListTrackerHistoryErrors];
989
+
990
+ export type AdminListTrackerHistoryResponses = {
991
+ /**
992
+ * OK
993
+ */
994
+ 200: AdminReadResult;
995
+ };
996
+
997
+ export type AdminListTrackerHistoryResponse =
998
+ AdminListTrackerHistoryResponses[keyof AdminListTrackerHistoryResponses];
999
+
1000
+ export type AdminGetTrackerOperationalStateData = {
1001
+ body?: never;
1002
+ path: {
1003
+ trackerId: string;
1004
+ };
1005
+ query: {
1006
+ domains: Array<AdminPrivateDomain>;
1007
+ };
1008
+ url: "/v1/admin/trackers/{trackerId}/operational-state";
1009
+ };
1010
+
1011
+ export type AdminGetTrackerOperationalStateErrors = {
1012
+ /**
1013
+ * Bad Request
1014
+ */
1015
+ 400: ProblemDetails;
1016
+ /**
1017
+ * Unauthorized
1018
+ */
1019
+ 401: ProblemDetails;
1020
+ /**
1021
+ * Forbidden
1022
+ */
1023
+ 403: ProblemDetails;
1024
+ /**
1025
+ * Not Found
1026
+ */
1027
+ 404: ProblemDetails;
1028
+ /**
1029
+ * Conflict
1030
+ */
1031
+ 409: ProblemDetails;
1032
+ /**
1033
+ * Too Many Requests
1034
+ */
1035
+ 429: ProblemDetails;
1036
+ /**
1037
+ * Bad Gateway
1038
+ */
1039
+ 502: ProblemDetails;
1040
+ /**
1041
+ * Service Unavailable
1042
+ */
1043
+ 503: ProblemDetails;
1044
+ };
1045
+
1046
+ export type AdminGetTrackerOperationalStateError =
1047
+ AdminGetTrackerOperationalStateErrors[keyof AdminGetTrackerOperationalStateErrors];
1048
+
1049
+ export type AdminGetTrackerOperationalStateResponses = {
1050
+ /**
1051
+ * OK
1052
+ */
1053
+ 200: AdminOperationalState;
1054
+ };
1055
+
1056
+ export type AdminGetTrackerOperationalStateResponse =
1057
+ AdminGetTrackerOperationalStateResponses[keyof AdminGetTrackerOperationalStateResponses];
1058
+
1059
+ export type AdminGetSessionData = {
1060
+ body?: never;
1061
+ path?: never;
1062
+ query?: never;
1063
+ url: "/v1/admin/session";
1064
+ };
1065
+
1066
+ export type AdminGetSessionErrors = {
1067
+ /**
1068
+ * Bad Request
1069
+ */
1070
+ 400: ProblemDetails;
1071
+ /**
1072
+ * Unauthorized
1073
+ */
1074
+ 401: ProblemDetails;
1075
+ /**
1076
+ * Forbidden
1077
+ */
1078
+ 403: ProblemDetails;
1079
+ /**
1080
+ * Not Found
1081
+ */
1082
+ 404: ProblemDetails;
1083
+ /**
1084
+ * Conflict
1085
+ */
1086
+ 409: ProblemDetails;
1087
+ /**
1088
+ * Too Many Requests
1089
+ */
1090
+ 429: ProblemDetails;
1091
+ /**
1092
+ * Bad Gateway
1093
+ */
1094
+ 502: ProblemDetails;
1095
+ /**
1096
+ * Service Unavailable
1097
+ */
1098
+ 503: ProblemDetails;
1099
+ };
1100
+
1101
+ export type AdminGetSessionError =
1102
+ AdminGetSessionErrors[keyof AdminGetSessionErrors];
1103
+
1104
+ export type AdminGetSessionResponses = {
1105
+ /**
1106
+ * OK
1107
+ */
1108
+ 200: AdminSession;
1109
+ };
1110
+
1111
+ export type AdminGetSessionResponse =
1112
+ AdminGetSessionResponses[keyof AdminGetSessionResponses];
1113
+
1114
+ export type AdminLookupUsersData = {
1115
+ body: AdminLookupRequest;
1116
+ path?: never;
1117
+ query?: never;
1118
+ url: "/v1/admin/users/lookup";
1119
+ };
1120
+
1121
+ export type AdminLookupUsersErrors = {
1122
+ /**
1123
+ * Bad Request
1124
+ */
1125
+ 400: ProblemDetails;
1126
+ /**
1127
+ * Unauthorized
1128
+ */
1129
+ 401: ProblemDetails;
1130
+ /**
1131
+ * Forbidden
1132
+ */
1133
+ 403: ProblemDetails;
1134
+ /**
1135
+ * Not Found
1136
+ */
1137
+ 404: ProblemDetails;
1138
+ /**
1139
+ * Conflict
1140
+ */
1141
+ 409: ProblemDetails;
1142
+ /**
1143
+ * Too Many Requests
1144
+ */
1145
+ 429: ProblemDetails;
1146
+ /**
1147
+ * Bad Gateway
1148
+ */
1149
+ 502: ProblemDetails;
1150
+ /**
1151
+ * Service Unavailable
1152
+ */
1153
+ 503: ProblemDetails;
1154
+ };
1155
+
1156
+ export type AdminLookupUsersError =
1157
+ AdminLookupUsersErrors[keyof AdminLookupUsersErrors];
1158
+
1159
+ export type AdminLookupUsersResponses = {
1160
+ /**
1161
+ * OK
1162
+ */
1163
+ 200: AdminLookupResult;
1164
+ };
1165
+
1166
+ export type AdminLookupUsersResponse =
1167
+ AdminLookupUsersResponses[keyof AdminLookupUsersResponses];
1168
+
1169
+ export type AdminAddTrackerMemberData = {
1170
+ body: AdminAddMemberRequest;
1171
+ path: {
1172
+ trackerId: string;
1173
+ };
1174
+ query?: never;
1175
+ url: "/v1/admin/trackers/{trackerId}/members";
1176
+ };
1177
+
1178
+ export type AdminAddTrackerMemberErrors = {
1179
+ /**
1180
+ * Bad Request
1181
+ */
1182
+ 400: ProblemDetails;
1183
+ /**
1184
+ * Unauthorized
1185
+ */
1186
+ 401: ProblemDetails;
1187
+ /**
1188
+ * Forbidden
1189
+ */
1190
+ 403: ProblemDetails;
1191
+ /**
1192
+ * Not Found
1193
+ */
1194
+ 404: ProblemDetails;
1195
+ /**
1196
+ * Conflict
1197
+ */
1198
+ 409: ProblemDetails;
1199
+ /**
1200
+ * Too Many Requests
1201
+ */
1202
+ 429: ProblemDetails;
1203
+ /**
1204
+ * Bad Gateway
1205
+ */
1206
+ 502: ProblemDetails;
1207
+ /**
1208
+ * Service Unavailable
1209
+ */
1210
+ 503: ProblemDetails;
1211
+ };
1212
+
1213
+ export type AdminAddTrackerMemberError =
1214
+ AdminAddTrackerMemberErrors[keyof AdminAddTrackerMemberErrors];
1215
+
1216
+ export type AdminAddTrackerMemberResponses = {
1217
+ /**
1218
+ * OK
1219
+ */
1220
+ 200: CommandSuccess;
1221
+ };
1222
+
1223
+ export type AdminAddTrackerMemberResponse =
1224
+ AdminAddTrackerMemberResponses[keyof AdminAddTrackerMemberResponses];
1225
+
1226
+ export type AdminRemoveTrackerMemberData = {
1227
+ body?: never;
1228
+ path: {
1229
+ trackerId: string;
1230
+ uid: string;
1231
+ };
1232
+ query?: never;
1233
+ url: "/v1/admin/trackers/{trackerId}/members/{uid}";
1234
+ };
1235
+
1236
+ export type AdminRemoveTrackerMemberErrors = {
1237
+ /**
1238
+ * Bad Request
1239
+ */
1240
+ 400: ProblemDetails;
1241
+ /**
1242
+ * Unauthorized
1243
+ */
1244
+ 401: ProblemDetails;
1245
+ /**
1246
+ * Forbidden
1247
+ */
1248
+ 403: ProblemDetails;
1249
+ /**
1250
+ * Not Found
1251
+ */
1252
+ 404: ProblemDetails;
1253
+ /**
1254
+ * Conflict
1255
+ */
1256
+ 409: ProblemDetails;
1257
+ /**
1258
+ * Too Many Requests
1259
+ */
1260
+ 429: ProblemDetails;
1261
+ /**
1262
+ * Bad Gateway
1263
+ */
1264
+ 502: ProblemDetails;
1265
+ /**
1266
+ * Service Unavailable
1267
+ */
1268
+ 503: ProblemDetails;
1269
+ };
1270
+
1271
+ export type AdminRemoveTrackerMemberError =
1272
+ AdminRemoveTrackerMemberErrors[keyof AdminRemoveTrackerMemberErrors];
1273
+
1274
+ export type AdminRemoveTrackerMemberResponses = {
1275
+ /**
1276
+ * OK
1277
+ */
1278
+ 200: CommandSuccess;
1279
+ };
1280
+
1281
+ export type AdminRemoveTrackerMemberResponse =
1282
+ AdminRemoveTrackerMemberResponses[keyof AdminRemoveTrackerMemberResponses];
1283
+
1284
+ export type AdminRequestTrackerModeData = {
1285
+ body: AdminModeRequest;
1286
+ path: {
1287
+ trackerId: string;
1288
+ };
1289
+ query?: never;
1290
+ url: "/v1/admin/trackers/{trackerId}/mode";
1291
+ };
1292
+
1293
+ export type AdminRequestTrackerModeErrors = {
1294
+ /**
1295
+ * Bad Request
1296
+ */
1297
+ 400: ProblemDetails;
1298
+ /**
1299
+ * Unauthorized
1300
+ */
1301
+ 401: ProblemDetails;
1302
+ /**
1303
+ * Forbidden
1304
+ */
1305
+ 403: ProblemDetails;
1306
+ /**
1307
+ * Not Found
1308
+ */
1309
+ 404: ProblemDetails;
1310
+ /**
1311
+ * Conflict
1312
+ */
1313
+ 409: ProblemDetails;
1314
+ /**
1315
+ * Too Many Requests
1316
+ */
1317
+ 429: ProblemDetails;
1318
+ /**
1319
+ * Bad Gateway
1320
+ */
1321
+ 502: ProblemDetails;
1322
+ /**
1323
+ * Service Unavailable
1324
+ */
1325
+ 503: ProblemDetails;
1326
+ };
1327
+
1328
+ export type AdminRequestTrackerModeError =
1329
+ AdminRequestTrackerModeErrors[keyof AdminRequestTrackerModeErrors];
1330
+
1331
+ export type AdminRequestTrackerModeResponses = {
1332
+ /**
1333
+ * OK
1334
+ */
1335
+ 200: CommandSuccess;
1336
+ };
1337
+
1338
+ export type AdminRequestTrackerModeResponse =
1339
+ AdminRequestTrackerModeResponses[keyof AdminRequestTrackerModeResponses];
1340
+
1341
+ export type AdminRequestTrackerCommandData = {
1342
+ body: AdminTrackerCommandRequest;
1343
+ path: {
1344
+ trackerId: string;
1345
+ };
1346
+ query?: never;
1347
+ url: "/v1/admin/trackers/{trackerId}/command";
1348
+ };
1349
+
1350
+ export type AdminRequestTrackerCommandErrors = {
1351
+ /**
1352
+ * Bad Request
1353
+ */
1354
+ 400: ProblemDetails;
1355
+ /**
1356
+ * Unauthorized
1357
+ */
1358
+ 401: ProblemDetails;
1359
+ /**
1360
+ * Forbidden
1361
+ */
1362
+ 403: ProblemDetails;
1363
+ /**
1364
+ * Not Found
1365
+ */
1366
+ 404: ProblemDetails;
1367
+ /**
1368
+ * Conflict
1369
+ */
1370
+ 409: ProblemDetails;
1371
+ /**
1372
+ * Too Many Requests
1373
+ */
1374
+ 429: ProblemDetails;
1375
+ /**
1376
+ * Bad Gateway
1377
+ */
1378
+ 502: ProblemDetails;
1379
+ /**
1380
+ * Service Unavailable
1381
+ */
1382
+ 503: ProblemDetails;
1383
+ };
1384
+
1385
+ export type AdminRequestTrackerCommandError =
1386
+ AdminRequestTrackerCommandErrors[keyof AdminRequestTrackerCommandErrors];
1387
+
1388
+ export type AdminRequestTrackerCommandResponses = {
1389
+ /**
1390
+ * OK
1391
+ */
1392
+ 200: CommandSuccess;
1393
+ };
1394
+
1395
+ export type AdminRequestTrackerCommandResponse =
1396
+ AdminRequestTrackerCommandResponses[keyof AdminRequestTrackerCommandResponses];
1397
+
1398
+ export type AdminUpdateTrackerConfigurationData = {
1399
+ body: AdminConfigurationRequest;
1400
+ path: {
1401
+ trackerId: string;
1402
+ };
1403
+ query?: never;
1404
+ url: "/v1/admin/trackers/{trackerId}/configuration";
1405
+ };
1406
+
1407
+ export type AdminUpdateTrackerConfigurationErrors = {
1408
+ /**
1409
+ * Bad Request
1410
+ */
1411
+ 400: ProblemDetails;
1412
+ /**
1413
+ * Unauthorized
1414
+ */
1415
+ 401: ProblemDetails;
1416
+ /**
1417
+ * Forbidden
1418
+ */
1419
+ 403: ProblemDetails;
1420
+ /**
1421
+ * Not Found
1422
+ */
1423
+ 404: ProblemDetails;
1424
+ /**
1425
+ * Conflict
1426
+ */
1427
+ 409: ProblemDetails;
1428
+ /**
1429
+ * Too Many Requests
1430
+ */
1431
+ 429: ProblemDetails;
1432
+ /**
1433
+ * Bad Gateway
1434
+ */
1435
+ 502: ProblemDetails;
1436
+ /**
1437
+ * Service Unavailable
1438
+ */
1439
+ 503: ProblemDetails;
1440
+ };
1441
+
1442
+ export type AdminUpdateTrackerConfigurationError =
1443
+ AdminUpdateTrackerConfigurationErrors[keyof AdminUpdateTrackerConfigurationErrors];
1444
+
1445
+ export type AdminUpdateTrackerConfigurationResponses = {
1446
+ /**
1447
+ * OK
1448
+ */
1449
+ 200: CommandSuccess;
1450
+ };
1451
+
1452
+ export type AdminUpdateTrackerConfigurationResponse =
1453
+ AdminUpdateTrackerConfigurationResponses[keyof AdminUpdateTrackerConfigurationResponses];
1454
+
1455
+ export type AdminUpdateTrackerBikeData = {
1456
+ body: AdminBikeRequest;
1457
+ path: {
1458
+ trackerId: string;
1459
+ };
1460
+ query?: never;
1461
+ url: "/v1/admin/trackers/{trackerId}/bike";
1462
+ };
1463
+
1464
+ export type AdminUpdateTrackerBikeErrors = {
1465
+ /**
1466
+ * Bad Request
1467
+ */
1468
+ 400: ProblemDetails;
1469
+ /**
1470
+ * Unauthorized
1471
+ */
1472
+ 401: ProblemDetails;
1473
+ /**
1474
+ * Forbidden
1475
+ */
1476
+ 403: ProblemDetails;
1477
+ /**
1478
+ * Not Found
1479
+ */
1480
+ 404: ProblemDetails;
1481
+ /**
1482
+ * Conflict
1483
+ */
1484
+ 409: ProblemDetails;
1485
+ /**
1486
+ * Too Many Requests
1487
+ */
1488
+ 429: ProblemDetails;
1489
+ /**
1490
+ * Bad Gateway
1491
+ */
1492
+ 502: ProblemDetails;
1493
+ /**
1494
+ * Service Unavailable
1495
+ */
1496
+ 503: ProblemDetails;
1497
+ };
1498
+
1499
+ export type AdminUpdateTrackerBikeError =
1500
+ AdminUpdateTrackerBikeErrors[keyof AdminUpdateTrackerBikeErrors];
1501
+
1502
+ export type AdminUpdateTrackerBikeResponses = {
1503
+ /**
1504
+ * OK
1505
+ */
1506
+ 200: CommandSuccess;
1507
+ };
1508
+
1509
+ export type AdminUpdateTrackerBikeResponse =
1510
+ AdminUpdateTrackerBikeResponses[keyof AdminUpdateTrackerBikeResponses];
1511
+
1512
+ export type AdminCleanTrackerData = {
1513
+ body: AdminRequestId;
1514
+ path: {
1515
+ trackerId: string;
1516
+ };
1517
+ query?: never;
1518
+ url: "/v1/admin/trackers/{trackerId}/clean";
1519
+ };
1520
+
1521
+ export type AdminCleanTrackerErrors = {
1522
+ /**
1523
+ * Bad Request
1524
+ */
1525
+ 400: ProblemDetails;
1526
+ /**
1527
+ * Unauthorized
1528
+ */
1529
+ 401: ProblemDetails;
1530
+ /**
1531
+ * Forbidden
1532
+ */
1533
+ 403: ProblemDetails;
1534
+ /**
1535
+ * Not Found
1536
+ */
1537
+ 404: ProblemDetails;
1538
+ /**
1539
+ * Conflict
1540
+ */
1541
+ 409: ProblemDetails;
1542
+ /**
1543
+ * Too Many Requests
1544
+ */
1545
+ 429: ProblemDetails;
1546
+ /**
1547
+ * Bad Gateway
1548
+ */
1549
+ 502: ProblemDetails;
1550
+ /**
1551
+ * Service Unavailable
1552
+ */
1553
+ 503: ProblemDetails;
1554
+ };
1555
+
1556
+ export type AdminCleanTrackerError =
1557
+ AdminCleanTrackerErrors[keyof AdminCleanTrackerErrors];
1558
+
1559
+ export type AdminCleanTrackerResponses = {
1560
+ /**
1561
+ * OK
1562
+ */
1563
+ 200: AdminDeviceCommandResult;
1564
+ };
1565
+
1566
+ export type AdminCleanTrackerResponse =
1567
+ AdminCleanTrackerResponses[keyof AdminCleanTrackerResponses];
1568
+
1569
+ export type AdminSetTrackerDenylistData = {
1570
+ body: AdminDenylistRequest;
1571
+ path: {
1572
+ trackerId: string;
1573
+ };
1574
+ query?: never;
1575
+ url: "/v1/admin/trackers/{trackerId}/denylist";
1576
+ };
1577
+
1578
+ export type AdminSetTrackerDenylistErrors = {
1579
+ /**
1580
+ * Bad Request
1581
+ */
1582
+ 400: ProblemDetails;
1583
+ /**
1584
+ * Unauthorized
1585
+ */
1586
+ 401: ProblemDetails;
1587
+ /**
1588
+ * Forbidden
1589
+ */
1590
+ 403: ProblemDetails;
1591
+ /**
1592
+ * Not Found
1593
+ */
1594
+ 404: ProblemDetails;
1595
+ /**
1596
+ * Conflict
1597
+ */
1598
+ 409: ProblemDetails;
1599
+ /**
1600
+ * Too Many Requests
1601
+ */
1602
+ 429: ProblemDetails;
1603
+ /**
1604
+ * Bad Gateway
1605
+ */
1606
+ 502: ProblemDetails;
1607
+ /**
1608
+ * Service Unavailable
1609
+ */
1610
+ 503: ProblemDetails;
1611
+ };
1612
+
1613
+ export type AdminSetTrackerDenylistError =
1614
+ AdminSetTrackerDenylistErrors[keyof AdminSetTrackerDenylistErrors];
1615
+
1616
+ export type AdminSetTrackerDenylistResponses = {
1617
+ /**
1618
+ * OK
1619
+ */
1620
+ 200: AdminDeviceCommandResult;
1621
+ };
1622
+
1623
+ export type AdminSetTrackerDenylistResponse =
1624
+ AdminSetTrackerDenylistResponses[keyof AdminSetTrackerDenylistResponses];
1625
+
1626
+ export type AdminNotifyTrackerData = {
1627
+ body: AdminNotificationRequest;
1628
+ path: {
1629
+ trackerId: string;
1630
+ };
1631
+ query?: never;
1632
+ url: "/v1/admin/trackers/{trackerId}/notifications";
1633
+ };
1634
+
1635
+ export type AdminNotifyTrackerErrors = {
1636
+ /**
1637
+ * Bad Request
1638
+ */
1639
+ 400: ProblemDetails;
1640
+ /**
1641
+ * Unauthorized
1642
+ */
1643
+ 401: ProblemDetails;
1644
+ /**
1645
+ * Forbidden
1646
+ */
1647
+ 403: ProblemDetails;
1648
+ /**
1649
+ * Not Found
1650
+ */
1651
+ 404: ProblemDetails;
1652
+ /**
1653
+ * Conflict
1654
+ */
1655
+ 409: ProblemDetails;
1656
+ /**
1657
+ * Too Many Requests
1658
+ */
1659
+ 429: ProblemDetails;
1660
+ /**
1661
+ * Bad Gateway
1662
+ */
1663
+ 502: ProblemDetails;
1664
+ /**
1665
+ * Service Unavailable
1666
+ */
1667
+ 503: ProblemDetails;
1668
+ };
1669
+
1670
+ export type AdminNotifyTrackerError =
1671
+ AdminNotifyTrackerErrors[keyof AdminNotifyTrackerErrors];
1672
+
1673
+ export type AdminNotifyTrackerResponses = {
1674
+ /**
1675
+ * OK
1676
+ */
1677
+ 200: AdminDeviceCommandResult;
1678
+ };
1679
+
1680
+ export type AdminNotifyTrackerResponse =
1681
+ AdminNotifyTrackerResponses[keyof AdminNotifyTrackerResponses];
1682
+
1683
+ export type AdminUnlinkTrackerSubscriptionData = {
1684
+ body?: never;
1685
+ path: {
1686
+ trackerId: string;
1687
+ };
1688
+ query?: never;
1689
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1690
+ };
1691
+
1692
+ export type AdminUnlinkTrackerSubscriptionErrors = {
1693
+ /**
1694
+ * Bad Request
1695
+ */
1696
+ 400: ProblemDetails;
1697
+ /**
1698
+ * Unauthorized
1699
+ */
1700
+ 401: ProblemDetails;
1701
+ /**
1702
+ * Forbidden
1703
+ */
1704
+ 403: ProblemDetails;
1705
+ /**
1706
+ * Not Found
1707
+ */
1708
+ 404: ProblemDetails;
1709
+ /**
1710
+ * Conflict
1711
+ */
1712
+ 409: ProblemDetails;
1713
+ /**
1714
+ * Too Many Requests
1715
+ */
1716
+ 429: ProblemDetails;
1717
+ /**
1718
+ * Bad Gateway
1719
+ */
1720
+ 502: ProblemDetails;
1721
+ /**
1722
+ * Service Unavailable
1723
+ */
1724
+ 503: ProblemDetails;
1725
+ };
1726
+
1727
+ export type AdminUnlinkTrackerSubscriptionError =
1728
+ AdminUnlinkTrackerSubscriptionErrors[keyof AdminUnlinkTrackerSubscriptionErrors];
1729
+
1730
+ export type AdminUnlinkTrackerSubscriptionResponses = {
1731
+ /**
1732
+ * OK
1733
+ */
1734
+ 200: CommandSuccess;
1735
+ };
1736
+
1737
+ export type AdminUnlinkTrackerSubscriptionResponse =
1738
+ AdminUnlinkTrackerSubscriptionResponses[keyof AdminUnlinkTrackerSubscriptionResponses];
1739
+
1740
+ export type AdminLinkTrackerSubscriptionData = {
1741
+ body: AdminLinkSubscriptionRequest;
1742
+ path: {
1743
+ trackerId: string;
1744
+ };
1745
+ query?: never;
1746
+ url: "/v1/admin/trackers/{trackerId}/subscription";
1747
+ };
1748
+
1749
+ export type AdminLinkTrackerSubscriptionErrors = {
1750
+ /**
1751
+ * Bad Request
1752
+ */
1753
+ 400: ProblemDetails;
1754
+ /**
1755
+ * Unauthorized
1756
+ */
1757
+ 401: ProblemDetails;
1758
+ /**
1759
+ * Forbidden
1760
+ */
1761
+ 403: ProblemDetails;
1762
+ /**
1763
+ * Not Found
1764
+ */
1765
+ 404: ProblemDetails;
1766
+ /**
1767
+ * Conflict
1768
+ */
1769
+ 409: ProblemDetails;
1770
+ /**
1771
+ * Too Many Requests
1772
+ */
1773
+ 429: ProblemDetails;
1774
+ /**
1775
+ * Bad Gateway
1776
+ */
1777
+ 502: ProblemDetails;
1778
+ /**
1779
+ * Service Unavailable
1780
+ */
1781
+ 503: ProblemDetails;
1782
+ };
1783
+
1784
+ export type AdminLinkTrackerSubscriptionError =
1785
+ AdminLinkTrackerSubscriptionErrors[keyof AdminLinkTrackerSubscriptionErrors];
1786
+
1787
+ export type AdminLinkTrackerSubscriptionResponses = {
1788
+ /**
1789
+ * OK
1790
+ */
1791
+ 200: CommandSuccess;
1792
+ };
1793
+
1794
+ export type AdminLinkTrackerSubscriptionResponse =
1795
+ AdminLinkTrackerSubscriptionResponses[keyof AdminLinkTrackerSubscriptionResponses];
1796
+
1797
+ export type AdminRequestSubscriptionInsuranceData = {
1798
+ body: AdminRequestId;
1799
+ path: {
1800
+ subscriptionId: string;
1801
+ };
1802
+ query?: never;
1803
+ url: "/v1/admin/subscriptions/{subscriptionId}/insurance";
1804
+ };
1805
+
1806
+ export type AdminRequestSubscriptionInsuranceErrors = {
1807
+ /**
1808
+ * Bad Request
1809
+ */
1810
+ 400: ProblemDetails;
1811
+ /**
1812
+ * Unauthorized
1813
+ */
1814
+ 401: ProblemDetails;
1815
+ /**
1816
+ * Forbidden
1817
+ */
1818
+ 403: ProblemDetails;
1819
+ /**
1820
+ * Not Found
1821
+ */
1822
+ 404: ProblemDetails;
1823
+ /**
1824
+ * Conflict
1825
+ */
1826
+ 409: ProblemDetails;
1827
+ /**
1828
+ * Too Many Requests
1829
+ */
1830
+ 429: ProblemDetails;
1831
+ /**
1832
+ * Bad Gateway
1833
+ */
1834
+ 502: ProblemDetails;
1835
+ /**
1836
+ * Service Unavailable
1837
+ */
1838
+ 503: ProblemDetails;
1839
+ };
1840
+
1841
+ export type AdminRequestSubscriptionInsuranceError =
1842
+ AdminRequestSubscriptionInsuranceErrors[keyof AdminRequestSubscriptionInsuranceErrors];
1843
+
1844
+ export type AdminRequestSubscriptionInsuranceResponses = {
1845
+ /**
1846
+ * OK
1847
+ */
1848
+ 200: CommandSuccess;
1849
+ };
1850
+
1851
+ export type AdminRequestSubscriptionInsuranceResponse =
1852
+ AdminRequestSubscriptionInsuranceResponses[keyof AdminRequestSubscriptionInsuranceResponses];
1853
+
1854
+ export type AdminRequestUserInsuranceData = {
1855
+ body: AdminRequestId;
1856
+ path: {
1857
+ uid: string;
1858
+ };
1859
+ query?: never;
1860
+ url: "/v1/admin/users/{uid}/insurance";
1861
+ };
1862
+
1863
+ export type AdminRequestUserInsuranceErrors = {
1864
+ /**
1865
+ * Bad Request
1866
+ */
1867
+ 400: ProblemDetails;
1868
+ /**
1869
+ * Unauthorized
1870
+ */
1871
+ 401: ProblemDetails;
1872
+ /**
1873
+ * Forbidden
1874
+ */
1875
+ 403: ProblemDetails;
1876
+ /**
1877
+ * Not Found
1878
+ */
1879
+ 404: ProblemDetails;
1880
+ /**
1881
+ * Conflict
1882
+ */
1883
+ 409: ProblemDetails;
1884
+ /**
1885
+ * Too Many Requests
1886
+ */
1887
+ 429: ProblemDetails;
1888
+ /**
1889
+ * Bad Gateway
1890
+ */
1891
+ 502: ProblemDetails;
1892
+ /**
1893
+ * Service Unavailable
1894
+ */
1895
+ 503: ProblemDetails;
1896
+ };
1897
+
1898
+ export type AdminRequestUserInsuranceError =
1899
+ AdminRequestUserInsuranceErrors[keyof AdminRequestUserInsuranceErrors];
1900
+
1901
+ export type AdminRequestUserInsuranceResponses = {
1902
+ /**
1903
+ * OK
1904
+ */
1905
+ 200: CommandSuccess;
1906
+ };
1907
+
1908
+ export type AdminRequestUserInsuranceResponse =
1909
+ AdminRequestUserInsuranceResponses[keyof AdminRequestUserInsuranceResponses];
1910
+
1911
+ export type AdminRequestTrackerInsuranceData = {
1912
+ body: AdminRequestId;
1913
+ path: {
1914
+ trackerId: string;
1915
+ };
1916
+ query?: never;
1917
+ url: "/v1/admin/trackers/{trackerId}/insurance";
1918
+ };
1919
+
1920
+ export type AdminRequestTrackerInsuranceErrors = {
1921
+ /**
1922
+ * Bad Request
1923
+ */
1924
+ 400: ProblemDetails;
1925
+ /**
1926
+ * Unauthorized
1927
+ */
1928
+ 401: ProblemDetails;
1929
+ /**
1930
+ * Forbidden
1931
+ */
1932
+ 403: ProblemDetails;
1933
+ /**
1934
+ * Not Found
1935
+ */
1936
+ 404: ProblemDetails;
1937
+ /**
1938
+ * Conflict
1939
+ */
1940
+ 409: ProblemDetails;
1941
+ /**
1942
+ * Too Many Requests
1943
+ */
1944
+ 429: ProblemDetails;
1945
+ /**
1946
+ * Bad Gateway
1947
+ */
1948
+ 502: ProblemDetails;
1949
+ /**
1950
+ * Service Unavailable
1951
+ */
1952
+ 503: ProblemDetails;
1953
+ };
1954
+
1955
+ export type AdminRequestTrackerInsuranceError =
1956
+ AdminRequestTrackerInsuranceErrors[keyof AdminRequestTrackerInsuranceErrors];
1957
+
1958
+ export type AdminRequestTrackerInsuranceResponses = {
1959
+ /**
1960
+ * OK
1961
+ */
1962
+ 200: CommandSuccess;
1963
+ };
1964
+
1965
+ export type AdminRequestTrackerInsuranceResponse =
1966
+ AdminRequestTrackerInsuranceResponses[keyof AdminRequestTrackerInsuranceResponses];
1967
+
1968
+ export type AdminReconcileTrackerSubscriptionData = {
1969
+ body: AdminRequestId;
1970
+ path: {
1971
+ trackerId: string;
1972
+ };
1973
+ query?: never;
1974
+ url: "/v1/admin/trackers/{trackerId}/subscription/reconcile";
1975
+ };
1976
+
1977
+ export type AdminReconcileTrackerSubscriptionErrors = {
1978
+ /**
1979
+ * Bad Request
1980
+ */
1981
+ 400: ProblemDetails;
1982
+ /**
1983
+ * Unauthorized
1984
+ */
1985
+ 401: ProblemDetails;
1986
+ /**
1987
+ * Forbidden
1988
+ */
1989
+ 403: ProblemDetails;
1990
+ /**
1991
+ * Not Found
1992
+ */
1993
+ 404: ProblemDetails;
1994
+ /**
1995
+ * Conflict
1996
+ */
1997
+ 409: ProblemDetails;
1998
+ /**
1999
+ * Too Many Requests
2000
+ */
2001
+ 429: ProblemDetails;
2002
+ /**
2003
+ * Bad Gateway
2004
+ */
2005
+ 502: ProblemDetails;
2006
+ /**
2007
+ * Service Unavailable
2008
+ */
2009
+ 503: ProblemDetails;
2010
+ };
2011
+
2012
+ export type AdminReconcileTrackerSubscriptionError =
2013
+ AdminReconcileTrackerSubscriptionErrors[keyof AdminReconcileTrackerSubscriptionErrors];
2014
+
2015
+ export type AdminReconcileTrackerSubscriptionResponses = {
2016
+ /**
2017
+ * OK
2018
+ */
2019
+ 200: CommandSuccess;
2020
+ };
2021
+
2022
+ export type AdminReconcileTrackerSubscriptionResponse =
2023
+ AdminReconcileTrackerSubscriptionResponses[keyof AdminReconcileTrackerSubscriptionResponses];
2024
+
2025
+ export type AdminRefreshSubscriptionData = {
2026
+ body: AdminRequestId;
2027
+ path: {
2028
+ subscriptionId: string;
2029
+ };
2030
+ query?: never;
2031
+ url: "/v1/admin/subscriptions/{subscriptionId}/refresh";
2032
+ };
2033
+
2034
+ export type AdminRefreshSubscriptionErrors = {
2035
+ /**
2036
+ * Bad Request
2037
+ */
2038
+ 400: ProblemDetails;
2039
+ /**
2040
+ * Unauthorized
2041
+ */
2042
+ 401: ProblemDetails;
2043
+ /**
2044
+ * Forbidden
2045
+ */
2046
+ 403: ProblemDetails;
2047
+ /**
2048
+ * Not Found
2049
+ */
2050
+ 404: ProblemDetails;
2051
+ /**
2052
+ * Conflict
2053
+ */
2054
+ 409: ProblemDetails;
2055
+ /**
2056
+ * Too Many Requests
2057
+ */
2058
+ 429: ProblemDetails;
2059
+ /**
2060
+ * Bad Gateway
2061
+ */
2062
+ 502: ProblemDetails;
2063
+ /**
2064
+ * Service Unavailable
2065
+ */
2066
+ 503: ProblemDetails;
2067
+ };
2068
+
2069
+ export type AdminRefreshSubscriptionError =
2070
+ AdminRefreshSubscriptionErrors[keyof AdminRefreshSubscriptionErrors];
2071
+
2072
+ export type AdminRefreshSubscriptionResponses = {
2073
+ /**
2074
+ * OK
2075
+ */
2076
+ 200: CommandSuccess;
2077
+ };
2078
+
2079
+ export type AdminRefreshSubscriptionResponse =
2080
+ AdminRefreshSubscriptionResponses[keyof AdminRefreshSubscriptionResponses];
2081
+
2082
+ export type AdminLinkSingleSubscriptionData = {
2083
+ body: AdminRequestId;
2084
+ path: {
2085
+ uid: string;
2086
+ };
2087
+ query?: never;
2088
+ url: "/v1/admin/users/{uid}/subscription/link-single";
2089
+ };
2090
+
2091
+ export type AdminLinkSingleSubscriptionErrors = {
2092
+ /**
2093
+ * Bad Request
2094
+ */
2095
+ 400: ProblemDetails;
2096
+ /**
2097
+ * Unauthorized
2098
+ */
2099
+ 401: ProblemDetails;
2100
+ /**
2101
+ * Forbidden
2102
+ */
2103
+ 403: ProblemDetails;
2104
+ /**
2105
+ * Not Found
2106
+ */
2107
+ 404: ProblemDetails;
2108
+ /**
2109
+ * Conflict
2110
+ */
2111
+ 409: ProblemDetails;
2112
+ /**
2113
+ * Too Many Requests
2114
+ */
2115
+ 429: ProblemDetails;
2116
+ /**
2117
+ * Bad Gateway
2118
+ */
2119
+ 502: ProblemDetails;
2120
+ /**
2121
+ * Service Unavailable
2122
+ */
2123
+ 503: ProblemDetails;
2124
+ };
2125
+
2126
+ export type AdminLinkSingleSubscriptionError =
2127
+ AdminLinkSingleSubscriptionErrors[keyof AdminLinkSingleSubscriptionErrors];
2128
+
2129
+ export type AdminLinkSingleSubscriptionResponses = {
2130
+ /**
2131
+ * OK
2132
+ */
2133
+ 200: CommandSuccess;
2134
+ };
2135
+
2136
+ export type AdminLinkSingleSubscriptionResponse =
2137
+ AdminLinkSingleSubscriptionResponses[keyof AdminLinkSingleSubscriptionResponses];
2138
+
2139
+ export type AdminCreateB2bSubscriptionData = {
2140
+ body: AdminB2bSubscriptionRequest;
2141
+ path?: never;
2142
+ query?: never;
2143
+ url: "/v1/admin/b2b/subscriptions";
2144
+ };
2145
+
2146
+ export type AdminCreateB2bSubscriptionErrors = {
2147
+ /**
2148
+ * Bad Request
2149
+ */
2150
+ 400: ProblemDetails;
2151
+ /**
2152
+ * Unauthorized
2153
+ */
2154
+ 401: ProblemDetails;
2155
+ /**
2156
+ * Forbidden
2157
+ */
2158
+ 403: ProblemDetails;
2159
+ /**
2160
+ * Not Found
2161
+ */
2162
+ 404: ProblemDetails;
2163
+ /**
2164
+ * Conflict
2165
+ */
2166
+ 409: ProblemDetails;
2167
+ /**
2168
+ * Too Many Requests
2169
+ */
2170
+ 429: ProblemDetails;
2171
+ /**
2172
+ * Bad Gateway
2173
+ */
2174
+ 502: ProblemDetails;
2175
+ /**
2176
+ * Service Unavailable
2177
+ */
2178
+ 503: ProblemDetails;
2179
+ };
2180
+
2181
+ export type AdminCreateB2bSubscriptionError =
2182
+ AdminCreateB2bSubscriptionErrors[keyof AdminCreateB2bSubscriptionErrors];
2183
+
2184
+ export type AdminCreateB2bSubscriptionResponses = {
2185
+ /**
2186
+ * OK
2187
+ */
2188
+ 200: AdminB2bSubscriptionResult;
2189
+ };
2190
+
2191
+ export type AdminCreateB2bSubscriptionResponse =
2192
+ AdminCreateB2bSubscriptionResponses[keyof AdminCreateB2bSubscriptionResponses];
2193
+
2194
+ export type AdminCancelB2bSubscriptionData = {
2195
+ body?: never;
2196
+ path: {
2197
+ subscriptionId: string;
2198
+ };
2199
+ query?: never;
2200
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/cancel";
2201
+ };
2202
+
2203
+ export type AdminCancelB2bSubscriptionErrors = {
2204
+ /**
2205
+ * Bad Request
2206
+ */
2207
+ 400: ProblemDetails;
2208
+ /**
2209
+ * Unauthorized
2210
+ */
2211
+ 401: ProblemDetails;
2212
+ /**
2213
+ * Forbidden
2214
+ */
2215
+ 403: ProblemDetails;
2216
+ /**
2217
+ * Not Found
2218
+ */
2219
+ 404: ProblemDetails;
2220
+ /**
2221
+ * Conflict
2222
+ */
2223
+ 409: ProblemDetails;
2224
+ /**
2225
+ * Too Many Requests
2226
+ */
2227
+ 429: ProblemDetails;
2228
+ /**
2229
+ * Bad Gateway
2230
+ */
2231
+ 502: ProblemDetails;
2232
+ /**
2233
+ * Service Unavailable
2234
+ */
2235
+ 503: ProblemDetails;
2236
+ };
2237
+
2238
+ export type AdminCancelB2bSubscriptionError =
2239
+ AdminCancelB2bSubscriptionErrors[keyof AdminCancelB2bSubscriptionErrors];
2240
+
2241
+ export type AdminCancelB2bSubscriptionResponses = {
2242
+ /**
2243
+ * OK
2244
+ */
2245
+ 200: CommandSuccess;
2246
+ };
2247
+
2248
+ export type AdminCancelB2bSubscriptionResponse =
2249
+ AdminCancelB2bSubscriptionResponses[keyof AdminCancelB2bSubscriptionResponses];
2250
+
2251
+ export type AdminSyncB2bInsuranceData = {
2252
+ body?: never;
2253
+ path: {
2254
+ subscriptionId: string;
2255
+ };
2256
+ query?: never;
2257
+ url: "/v1/admin/b2b/subscriptions/{subscriptionId}/insurance/sync";
2258
+ };
2259
+
2260
+ export type AdminSyncB2bInsuranceErrors = {
2261
+ /**
2262
+ * Bad Request
2263
+ */
2264
+ 400: ProblemDetails;
2265
+ /**
2266
+ * Unauthorized
2267
+ */
2268
+ 401: ProblemDetails;
2269
+ /**
2270
+ * Forbidden
2271
+ */
2272
+ 403: ProblemDetails;
2273
+ /**
2274
+ * Not Found
2275
+ */
2276
+ 404: ProblemDetails;
2277
+ /**
2278
+ * Conflict
2279
+ */
2280
+ 409: ProblemDetails;
2281
+ /**
2282
+ * Too Many Requests
2283
+ */
2284
+ 429: ProblemDetails;
2285
+ /**
2286
+ * Bad Gateway
2287
+ */
2288
+ 502: ProblemDetails;
2289
+ /**
2290
+ * Service Unavailable
2291
+ */
2292
+ 503: ProblemDetails;
2293
+ };
2294
+
2295
+ export type AdminSyncB2bInsuranceError =
2296
+ AdminSyncB2bInsuranceErrors[keyof AdminSyncB2bInsuranceErrors];
2297
+
2298
+ export type AdminSyncB2bInsuranceResponses = {
2299
+ /**
2300
+ * OK
2301
+ */
2302
+ 200: CommandSuccess;
2303
+ };
2304
+
2305
+ export type AdminSyncB2bInsuranceResponse =
2306
+ AdminSyncB2bInsuranceResponses[keyof AdminSyncB2bInsuranceResponses];
2307
+
2308
+ export type AdminSyncAllB2bInsuranceData = {
2309
+ body?: never;
2310
+ path?: never;
2311
+ query?: never;
2312
+ url: "/v1/admin/b2b/subscriptions/insurance/sync";
2313
+ };
2314
+
2315
+ export type AdminSyncAllB2bInsuranceErrors = {
2316
+ /**
2317
+ * Bad Request
2318
+ */
2319
+ 400: ProblemDetails;
2320
+ /**
2321
+ * Unauthorized
2322
+ */
2323
+ 401: ProblemDetails;
2324
+ /**
2325
+ * Forbidden
2326
+ */
2327
+ 403: ProblemDetails;
2328
+ /**
2329
+ * Not Found
2330
+ */
2331
+ 404: ProblemDetails;
2332
+ /**
2333
+ * Conflict
2334
+ */
2335
+ 409: ProblemDetails;
2336
+ /**
2337
+ * Too Many Requests
2338
+ */
2339
+ 429: ProblemDetails;
2340
+ /**
2341
+ * Bad Gateway
2342
+ */
2343
+ 502: ProblemDetails;
2344
+ /**
2345
+ * Service Unavailable
2346
+ */
2347
+ 503: ProblemDetails;
2348
+ };
2349
+
2350
+ export type AdminSyncAllB2bInsuranceError =
2351
+ AdminSyncAllB2bInsuranceErrors[keyof AdminSyncAllB2bInsuranceErrors];
2352
+
2353
+ export type AdminSyncAllB2bInsuranceResponses = {
2354
+ /**
2355
+ * OK
2356
+ */
2357
+ 200: CommandSuccess;
2358
+ };
2359
+
2360
+ export type AdminSyncAllB2bInsuranceResponse =
2361
+ AdminSyncAllB2bInsuranceResponses[keyof AdminSyncAllB2bInsuranceResponses];
2362
+
2363
+ export type AdminSubscribeTrackerData = {
2364
+ body?: never;
2365
+ path: {
2366
+ trackerId: string;
2367
+ };
2368
+ query?: never;
2369
+ url: "/v1/admin/trackers/{trackerId}/stream";
2370
+ };
2371
+
2372
+ export type AdminSubscribeTrackerErrors = {
2373
+ /**
2374
+ * Bad Request
2375
+ */
2376
+ 400: ProblemDetails;
2377
+ /**
2378
+ * Unauthorized
2379
+ */
2380
+ 401: ProblemDetails;
2381
+ /**
2382
+ * Forbidden
2383
+ */
2384
+ 403: ProblemDetails;
2385
+ /**
2386
+ * Not Found
2387
+ */
2388
+ 404: ProblemDetails;
2389
+ /**
2390
+ * Conflict
2391
+ */
2392
+ 409: ProblemDetails;
2393
+ /**
2394
+ * Too Many Requests
2395
+ */
2396
+ 429: ProblemDetails;
2397
+ /**
2398
+ * Bad Gateway
2399
+ */
2400
+ 502: ProblemDetails;
2401
+ /**
2402
+ * Service Unavailable
2403
+ */
2404
+ 503: ProblemDetails;
2405
+ };
2406
+
2407
+ export type AdminSubscribeTrackerError =
2408
+ AdminSubscribeTrackerErrors[keyof AdminSubscribeTrackerErrors];
2409
+
2410
+ export type AdminSubscribeTrackerResponses = {
2411
+ /**
2412
+ * OK
2413
+ */
2414
+ 200: AdminTrackerView | null;
2415
+ };
2416
+
2417
+ export type AdminSubscribeTrackerResponse =
2418
+ AdminSubscribeTrackerResponses[keyof AdminSubscribeTrackerResponses];