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