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