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