@bikefinder/api-client 0.4.0 → 0.6.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/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 +53 -1
- package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
- package/dist/admin/generated/sdk.gen.js +184 -1
- package/dist/admin/generated/sdk.gen.js.map +1 -1
- package/dist/admin/generated/types.gen.d.ts +833 -0
- package/dist/admin/generated/types.gen.d.ts.map +1 -1
- package/dist/admin/generated/zod.gen.d.ts +1966 -272
- package/dist/admin/generated/zod.gen.d.ts.map +1 -1
- package/dist/admin/generated/zod.gen.js +265 -0
- package/dist/admin/generated/zod.gen.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/generated/index.ts +88 -0
- package/src/admin/generated/sdk.gen.ts +403 -0
- package/src/admin/generated/types.gen.ts +970 -0
- package/src/admin/generated/zod.gen.ts +341 -0
|
@@ -44,10 +44,61 @@ export type AdminDocument = {
|
|
|
44
44
|
id: string;
|
|
45
45
|
fields: AdminSupportValue;
|
|
46
46
|
};
|
|
47
|
+
export type AdminEvidenceAccountsRequest = {
|
|
48
|
+
accountIds: Array<string>;
|
|
49
|
+
};
|
|
50
|
+
export type AdminEvidenceCursor = {
|
|
51
|
+
timestamp: AdminTimestamp;
|
|
52
|
+
id: string;
|
|
53
|
+
};
|
|
54
|
+
export type AdminEvidenceDocument = {
|
|
55
|
+
id: string;
|
|
56
|
+
path: string;
|
|
57
|
+
exists: boolean;
|
|
58
|
+
fields: null | AdminSupportValue;
|
|
59
|
+
updatedAt: null | AdminTimestamp;
|
|
60
|
+
createdAt: null | AdminTimestamp;
|
|
61
|
+
readAt: AdminTimestamp;
|
|
62
|
+
};
|
|
63
|
+
export type AdminEvidenceDomain = "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
|
|
64
|
+
export type AdminEvidenceHistoryGroup = "battery" | "versions" | "reporting" | "diagnostics";
|
|
65
|
+
export type AdminEvidenceHistoryRequest = {
|
|
66
|
+
accountId: string;
|
|
67
|
+
source: AdminEvidenceHistorySource;
|
|
68
|
+
from: string;
|
|
69
|
+
to: string;
|
|
70
|
+
after?: null | AdminEvidenceCursor;
|
|
71
|
+
fields?: null | Array<AdminEvidenceHistoryGroup>;
|
|
72
|
+
};
|
|
73
|
+
export type AdminEvidenceHistorySource = "data" | "sanitizedData" | "bluetooth" | "audit" | "commandPackets";
|
|
74
|
+
export type AdminEvidenceInsuranceRecords = "contracts" | "creationAttempts";
|
|
75
|
+
export type AdminEvidenceLayout = "legacy" | "shared";
|
|
76
|
+
export type AdminEvidenceOperationalDomain = "runtime" | "firmware" | "commands" | "statistics";
|
|
77
|
+
export type AdminEvidencePage = {
|
|
78
|
+
snapshot: AdminEvidenceSnapshot;
|
|
79
|
+
nextAfter: null | string;
|
|
80
|
+
scannedRecordCount: number;
|
|
81
|
+
};
|
|
82
|
+
export type AdminEvidencePageRequest = {
|
|
83
|
+
accountIds: Array<string>;
|
|
84
|
+
after?: null | string;
|
|
85
|
+
};
|
|
86
|
+
export type AdminEvidenceSnapshot = {
|
|
87
|
+
documents: Array<AdminEvidenceDocument>;
|
|
88
|
+
relatedDocuments: Array<AdminEvidenceDocument>;
|
|
89
|
+
readAt: AdminTimestamp;
|
|
90
|
+
};
|
|
47
91
|
export type AdminFavoriteRequest = {
|
|
48
92
|
comment: string;
|
|
49
93
|
};
|
|
50
94
|
export type AdminGeneration = "gen1" | "gen2";
|
|
95
|
+
export type AdminInsuranceEvidenceRequest = {
|
|
96
|
+
accountIds: Array<string>;
|
|
97
|
+
provider: AdminInsuranceProvider;
|
|
98
|
+
records?: AdminEvidenceInsuranceRecords;
|
|
99
|
+
after?: null | string;
|
|
100
|
+
};
|
|
101
|
+
export type AdminInsuranceProvider = "cycler" | "hepster" | "tryg";
|
|
51
102
|
export type AdminLinkSubscriptionRequest = {
|
|
52
103
|
subscriptionId: string;
|
|
53
104
|
};
|
|
@@ -85,6 +136,15 @@ export type AdminOperationalDomains = {
|
|
|
85
136
|
statistics: null | AdminOperationalDomain;
|
|
86
137
|
firmware: null | AdminOperationalDomain;
|
|
87
138
|
};
|
|
139
|
+
export type AdminOperationalEvidence = {
|
|
140
|
+
domain: AdminEvidenceOperationalDomain;
|
|
141
|
+
layout: AdminEvidenceLayout;
|
|
142
|
+
snapshot: AdminEvidenceSnapshot;
|
|
143
|
+
};
|
|
144
|
+
export type AdminOperationalEvidenceRequest = {
|
|
145
|
+
accountIds: Array<string>;
|
|
146
|
+
domain: AdminEvidenceOperationalDomain;
|
|
147
|
+
};
|
|
88
148
|
export type AdminOperationalState = {
|
|
89
149
|
schemaVersion: number;
|
|
90
150
|
deviceId: string;
|
|
@@ -103,6 +163,28 @@ export type AdminReadResult = {
|
|
|
103
163
|
nextCursor: null | string;
|
|
104
164
|
states: null | AdminPublicStates;
|
|
105
165
|
};
|
|
166
|
+
export type AdminRelationshipChangeRequest = {
|
|
167
|
+
accountIds: Array<string>;
|
|
168
|
+
kind: AdminRelationshipKind;
|
|
169
|
+
accountId: string;
|
|
170
|
+
expectedVersion: string;
|
|
171
|
+
subscriptionId?: null | string;
|
|
172
|
+
allowLastAccountCleanup?: boolean;
|
|
173
|
+
};
|
|
174
|
+
export type AdminRelationshipKind = "subscriptionBinding" | "deviceAccount";
|
|
175
|
+
export type AdminRelationshipRequest = {
|
|
176
|
+
accountIds: Array<string>;
|
|
177
|
+
kind: AdminRelationshipKind;
|
|
178
|
+
};
|
|
179
|
+
export type AdminRelationshipVerification = {
|
|
180
|
+
verified: boolean;
|
|
181
|
+
};
|
|
182
|
+
export type AdminRelationshipVerificationRequest = {
|
|
183
|
+
kind: AdminRelationshipKind;
|
|
184
|
+
accountId: string;
|
|
185
|
+
remainingAccountIds: Array<string>;
|
|
186
|
+
subscriptionId?: null | string;
|
|
187
|
+
};
|
|
106
188
|
export type AdminRequestId = {
|
|
107
189
|
requestId: string;
|
|
108
190
|
};
|
|
@@ -150,6 +232,11 @@ export type AdminTrackerCommandResult = {
|
|
|
150
232
|
commandId: string;
|
|
151
233
|
jobIds: Array<string>;
|
|
152
234
|
};
|
|
235
|
+
export type AdminTrackerFactsRequest = {
|
|
236
|
+
target: string;
|
|
237
|
+
accountIds: Array<string>;
|
|
238
|
+
domain: AdminEvidenceDomain;
|
|
239
|
+
};
|
|
153
240
|
export type AdminTrackerView = {
|
|
154
241
|
tracker: AdminReadResult;
|
|
155
242
|
operationalState: null | AdminOperationalState;
|
|
@@ -183,6 +270,752 @@ export type ProblemDetails = {
|
|
|
183
270
|
[key: string]: Array<string>;
|
|
184
271
|
};
|
|
185
272
|
};
|
|
273
|
+
export type AdminQueryTrackerOperationalEvidenceData = {
|
|
274
|
+
body: AdminOperationalEvidenceRequest;
|
|
275
|
+
path: {
|
|
276
|
+
trackerId: string;
|
|
277
|
+
};
|
|
278
|
+
query?: never;
|
|
279
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/operational-queries";
|
|
280
|
+
};
|
|
281
|
+
export type AdminQueryTrackerOperationalEvidenceErrors = {
|
|
282
|
+
/**
|
|
283
|
+
* Bad Request
|
|
284
|
+
*/
|
|
285
|
+
400: ProblemDetails;
|
|
286
|
+
/**
|
|
287
|
+
* Unauthorized
|
|
288
|
+
*/
|
|
289
|
+
401: ProblemDetails;
|
|
290
|
+
/**
|
|
291
|
+
* Forbidden
|
|
292
|
+
*/
|
|
293
|
+
403: ProblemDetails;
|
|
294
|
+
/**
|
|
295
|
+
* Conflict
|
|
296
|
+
*/
|
|
297
|
+
409: ProblemDetails;
|
|
298
|
+
/**
|
|
299
|
+
* Payload Too Large
|
|
300
|
+
*/
|
|
301
|
+
413: ProblemDetails;
|
|
302
|
+
/**
|
|
303
|
+
* Unsupported Media Type
|
|
304
|
+
*/
|
|
305
|
+
415: ProblemDetails;
|
|
306
|
+
/**
|
|
307
|
+
* Too Many Requests
|
|
308
|
+
*/
|
|
309
|
+
429: ProblemDetails;
|
|
310
|
+
/**
|
|
311
|
+
* Internal Server Error
|
|
312
|
+
*/
|
|
313
|
+
500: ProblemDetails;
|
|
314
|
+
/**
|
|
315
|
+
* Bad Gateway
|
|
316
|
+
*/
|
|
317
|
+
502: ProblemDetails;
|
|
318
|
+
/**
|
|
319
|
+
* Service Unavailable
|
|
320
|
+
*/
|
|
321
|
+
503: ProblemDetails;
|
|
322
|
+
};
|
|
323
|
+
export type AdminQueryTrackerOperationalEvidenceError = AdminQueryTrackerOperationalEvidenceErrors[keyof AdminQueryTrackerOperationalEvidenceErrors];
|
|
324
|
+
export type AdminQueryTrackerOperationalEvidenceResponses = {
|
|
325
|
+
/**
|
|
326
|
+
* OK
|
|
327
|
+
*/
|
|
328
|
+
200: AdminOperationalEvidence;
|
|
329
|
+
};
|
|
330
|
+
export type AdminQueryTrackerOperationalEvidenceResponse = AdminQueryTrackerOperationalEvidenceResponses[keyof AdminQueryTrackerOperationalEvidenceResponses];
|
|
331
|
+
export type AdminQueryTrackerJobEvidenceData = {
|
|
332
|
+
body: AdminEvidencePageRequest;
|
|
333
|
+
path: {
|
|
334
|
+
trackerId: string;
|
|
335
|
+
};
|
|
336
|
+
query?: never;
|
|
337
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/job-queries";
|
|
338
|
+
};
|
|
339
|
+
export type AdminQueryTrackerJobEvidenceErrors = {
|
|
340
|
+
/**
|
|
341
|
+
* Bad Request
|
|
342
|
+
*/
|
|
343
|
+
400: ProblemDetails;
|
|
344
|
+
/**
|
|
345
|
+
* Unauthorized
|
|
346
|
+
*/
|
|
347
|
+
401: ProblemDetails;
|
|
348
|
+
/**
|
|
349
|
+
* Forbidden
|
|
350
|
+
*/
|
|
351
|
+
403: ProblemDetails;
|
|
352
|
+
/**
|
|
353
|
+
* Conflict
|
|
354
|
+
*/
|
|
355
|
+
409: ProblemDetails;
|
|
356
|
+
/**
|
|
357
|
+
* Payload Too Large
|
|
358
|
+
*/
|
|
359
|
+
413: ProblemDetails;
|
|
360
|
+
/**
|
|
361
|
+
* Unsupported Media Type
|
|
362
|
+
*/
|
|
363
|
+
415: ProblemDetails;
|
|
364
|
+
/**
|
|
365
|
+
* Too Many Requests
|
|
366
|
+
*/
|
|
367
|
+
429: ProblemDetails;
|
|
368
|
+
/**
|
|
369
|
+
* Internal Server Error
|
|
370
|
+
*/
|
|
371
|
+
500: ProblemDetails;
|
|
372
|
+
/**
|
|
373
|
+
* Bad Gateway
|
|
374
|
+
*/
|
|
375
|
+
502: ProblemDetails;
|
|
376
|
+
/**
|
|
377
|
+
* Service Unavailable
|
|
378
|
+
*/
|
|
379
|
+
503: ProblemDetails;
|
|
380
|
+
};
|
|
381
|
+
export type AdminQueryTrackerJobEvidenceError = AdminQueryTrackerJobEvidenceErrors[keyof AdminQueryTrackerJobEvidenceErrors];
|
|
382
|
+
export type AdminQueryTrackerJobEvidenceResponses = {
|
|
383
|
+
/**
|
|
384
|
+
* OK
|
|
385
|
+
*/
|
|
386
|
+
200: AdminEvidencePage;
|
|
387
|
+
};
|
|
388
|
+
export type AdminQueryTrackerJobEvidenceResponse = AdminQueryTrackerJobEvidenceResponses[keyof AdminQueryTrackerJobEvidenceResponses];
|
|
389
|
+
export type AdminQuerySubscriptionInsuranceEvidenceData = {
|
|
390
|
+
body: AdminInsuranceEvidenceRequest;
|
|
391
|
+
path: {
|
|
392
|
+
subscriptionId: string;
|
|
393
|
+
};
|
|
394
|
+
query?: never;
|
|
395
|
+
url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}/insurance-queries";
|
|
396
|
+
};
|
|
397
|
+
export type AdminQuerySubscriptionInsuranceEvidenceErrors = {
|
|
398
|
+
/**
|
|
399
|
+
* Bad Request
|
|
400
|
+
*/
|
|
401
|
+
400: ProblemDetails;
|
|
402
|
+
/**
|
|
403
|
+
* Unauthorized
|
|
404
|
+
*/
|
|
405
|
+
401: ProblemDetails;
|
|
406
|
+
/**
|
|
407
|
+
* Forbidden
|
|
408
|
+
*/
|
|
409
|
+
403: ProblemDetails;
|
|
410
|
+
/**
|
|
411
|
+
* Conflict
|
|
412
|
+
*/
|
|
413
|
+
409: ProblemDetails;
|
|
414
|
+
/**
|
|
415
|
+
* Payload Too Large
|
|
416
|
+
*/
|
|
417
|
+
413: ProblemDetails;
|
|
418
|
+
/**
|
|
419
|
+
* Unsupported Media Type
|
|
420
|
+
*/
|
|
421
|
+
415: ProblemDetails;
|
|
422
|
+
/**
|
|
423
|
+
* Too Many Requests
|
|
424
|
+
*/
|
|
425
|
+
429: ProblemDetails;
|
|
426
|
+
/**
|
|
427
|
+
* Internal Server Error
|
|
428
|
+
*/
|
|
429
|
+
500: ProblemDetails;
|
|
430
|
+
/**
|
|
431
|
+
* Bad Gateway
|
|
432
|
+
*/
|
|
433
|
+
502: ProblemDetails;
|
|
434
|
+
/**
|
|
435
|
+
* Service Unavailable
|
|
436
|
+
*/
|
|
437
|
+
503: ProblemDetails;
|
|
438
|
+
};
|
|
439
|
+
export type AdminQuerySubscriptionInsuranceEvidenceError = AdminQuerySubscriptionInsuranceEvidenceErrors[keyof AdminQuerySubscriptionInsuranceEvidenceErrors];
|
|
440
|
+
export type AdminQuerySubscriptionInsuranceEvidenceResponses = {
|
|
441
|
+
/**
|
|
442
|
+
* OK
|
|
443
|
+
*/
|
|
444
|
+
200: AdminEvidencePage;
|
|
445
|
+
};
|
|
446
|
+
export type AdminQuerySubscriptionInsuranceEvidenceResponse = AdminQuerySubscriptionInsuranceEvidenceResponses[keyof AdminQuerySubscriptionInsuranceEvidenceResponses];
|
|
447
|
+
export type AdminListAccountTrackerEvidenceData = {
|
|
448
|
+
body?: never;
|
|
449
|
+
path: {
|
|
450
|
+
accountId: string;
|
|
451
|
+
};
|
|
452
|
+
query?: {
|
|
453
|
+
after?: string;
|
|
454
|
+
};
|
|
455
|
+
url: "/v1/admin/product-evidence/accounts/{accountId}/trackers";
|
|
456
|
+
};
|
|
457
|
+
export type AdminListAccountTrackerEvidenceErrors = {
|
|
458
|
+
/**
|
|
459
|
+
* Bad Request
|
|
460
|
+
*/
|
|
461
|
+
400: ProblemDetails;
|
|
462
|
+
/**
|
|
463
|
+
* Unauthorized
|
|
464
|
+
*/
|
|
465
|
+
401: ProblemDetails;
|
|
466
|
+
/**
|
|
467
|
+
* Forbidden
|
|
468
|
+
*/
|
|
469
|
+
403: ProblemDetails;
|
|
470
|
+
/**
|
|
471
|
+
* Conflict
|
|
472
|
+
*/
|
|
473
|
+
409: ProblemDetails;
|
|
474
|
+
/**
|
|
475
|
+
* Payload Too Large
|
|
476
|
+
*/
|
|
477
|
+
413: ProblemDetails;
|
|
478
|
+
/**
|
|
479
|
+
* Too Many Requests
|
|
480
|
+
*/
|
|
481
|
+
429: ProblemDetails;
|
|
482
|
+
/**
|
|
483
|
+
* Internal Server Error
|
|
484
|
+
*/
|
|
485
|
+
500: ProblemDetails;
|
|
486
|
+
/**
|
|
487
|
+
* Bad Gateway
|
|
488
|
+
*/
|
|
489
|
+
502: ProblemDetails;
|
|
490
|
+
/**
|
|
491
|
+
* Service Unavailable
|
|
492
|
+
*/
|
|
493
|
+
503: ProblemDetails;
|
|
494
|
+
};
|
|
495
|
+
export type AdminListAccountTrackerEvidenceError = AdminListAccountTrackerEvidenceErrors[keyof AdminListAccountTrackerEvidenceErrors];
|
|
496
|
+
export type AdminListAccountTrackerEvidenceResponses = {
|
|
497
|
+
/**
|
|
498
|
+
* OK
|
|
499
|
+
*/
|
|
500
|
+
200: AdminEvidenceSnapshot;
|
|
501
|
+
};
|
|
502
|
+
export type AdminListAccountTrackerEvidenceResponse = AdminListAccountTrackerEvidenceResponses[keyof AdminListAccountTrackerEvidenceResponses];
|
|
503
|
+
export type AdminListAccountSubscriptionEvidenceData = {
|
|
504
|
+
body?: never;
|
|
505
|
+
path: {
|
|
506
|
+
accountId: string;
|
|
507
|
+
};
|
|
508
|
+
query?: {
|
|
509
|
+
after?: string;
|
|
510
|
+
};
|
|
511
|
+
url: "/v1/admin/product-evidence/accounts/{accountId}/subscriptions";
|
|
512
|
+
};
|
|
513
|
+
export type AdminListAccountSubscriptionEvidenceErrors = {
|
|
514
|
+
/**
|
|
515
|
+
* Bad Request
|
|
516
|
+
*/
|
|
517
|
+
400: ProblemDetails;
|
|
518
|
+
/**
|
|
519
|
+
* Unauthorized
|
|
520
|
+
*/
|
|
521
|
+
401: ProblemDetails;
|
|
522
|
+
/**
|
|
523
|
+
* Forbidden
|
|
524
|
+
*/
|
|
525
|
+
403: ProblemDetails;
|
|
526
|
+
/**
|
|
527
|
+
* Conflict
|
|
528
|
+
*/
|
|
529
|
+
409: ProblemDetails;
|
|
530
|
+
/**
|
|
531
|
+
* Payload Too Large
|
|
532
|
+
*/
|
|
533
|
+
413: ProblemDetails;
|
|
534
|
+
/**
|
|
535
|
+
* Too Many Requests
|
|
536
|
+
*/
|
|
537
|
+
429: ProblemDetails;
|
|
538
|
+
/**
|
|
539
|
+
* Internal Server Error
|
|
540
|
+
*/
|
|
541
|
+
500: ProblemDetails;
|
|
542
|
+
/**
|
|
543
|
+
* Bad Gateway
|
|
544
|
+
*/
|
|
545
|
+
502: ProblemDetails;
|
|
546
|
+
/**
|
|
547
|
+
* Service Unavailable
|
|
548
|
+
*/
|
|
549
|
+
503: ProblemDetails;
|
|
550
|
+
};
|
|
551
|
+
export type AdminListAccountSubscriptionEvidenceError = AdminListAccountSubscriptionEvidenceErrors[keyof AdminListAccountSubscriptionEvidenceErrors];
|
|
552
|
+
export type AdminListAccountSubscriptionEvidenceResponses = {
|
|
553
|
+
/**
|
|
554
|
+
* OK
|
|
555
|
+
*/
|
|
556
|
+
200: AdminEvidenceSnapshot;
|
|
557
|
+
};
|
|
558
|
+
export type AdminListAccountSubscriptionEvidenceResponse = AdminListAccountSubscriptionEvidenceResponses[keyof AdminListAccountSubscriptionEvidenceResponses];
|
|
559
|
+
export type AdminQueryTrackerFactEvidenceData = {
|
|
560
|
+
body: AdminTrackerFactsRequest;
|
|
561
|
+
path?: never;
|
|
562
|
+
query?: never;
|
|
563
|
+
url: "/v1/admin/product-evidence/tracker-fact-queries";
|
|
564
|
+
};
|
|
565
|
+
export type AdminQueryTrackerFactEvidenceErrors = {
|
|
566
|
+
/**
|
|
567
|
+
* Bad Request
|
|
568
|
+
*/
|
|
569
|
+
400: ProblemDetails;
|
|
570
|
+
/**
|
|
571
|
+
* Unauthorized
|
|
572
|
+
*/
|
|
573
|
+
401: ProblemDetails;
|
|
574
|
+
/**
|
|
575
|
+
* Forbidden
|
|
576
|
+
*/
|
|
577
|
+
403: ProblemDetails;
|
|
578
|
+
/**
|
|
579
|
+
* Conflict
|
|
580
|
+
*/
|
|
581
|
+
409: ProblemDetails;
|
|
582
|
+
/**
|
|
583
|
+
* Payload Too Large
|
|
584
|
+
*/
|
|
585
|
+
413: ProblemDetails;
|
|
586
|
+
/**
|
|
587
|
+
* Unsupported Media Type
|
|
588
|
+
*/
|
|
589
|
+
415: ProblemDetails;
|
|
590
|
+
/**
|
|
591
|
+
* Too Many Requests
|
|
592
|
+
*/
|
|
593
|
+
429: ProblemDetails;
|
|
594
|
+
/**
|
|
595
|
+
* Internal Server Error
|
|
596
|
+
*/
|
|
597
|
+
500: ProblemDetails;
|
|
598
|
+
/**
|
|
599
|
+
* Bad Gateway
|
|
600
|
+
*/
|
|
601
|
+
502: ProblemDetails;
|
|
602
|
+
/**
|
|
603
|
+
* Service Unavailable
|
|
604
|
+
*/
|
|
605
|
+
503: ProblemDetails;
|
|
606
|
+
};
|
|
607
|
+
export type AdminQueryTrackerFactEvidenceError = AdminQueryTrackerFactEvidenceErrors[keyof AdminQueryTrackerFactEvidenceErrors];
|
|
608
|
+
export type AdminQueryTrackerFactEvidenceResponses = {
|
|
609
|
+
/**
|
|
610
|
+
* OK
|
|
611
|
+
*/
|
|
612
|
+
200: AdminEvidenceSnapshot;
|
|
613
|
+
};
|
|
614
|
+
export type AdminQueryTrackerFactEvidenceResponse = AdminQueryTrackerFactEvidenceResponses[keyof AdminQueryTrackerFactEvidenceResponses];
|
|
615
|
+
export type AdminGetSubscriptionFactEvidenceData = {
|
|
616
|
+
body?: never;
|
|
617
|
+
path: {
|
|
618
|
+
subscriptionId: string;
|
|
619
|
+
};
|
|
620
|
+
query: {
|
|
621
|
+
domain: "battery" | "versions" | "reporting" | "configuration" | "membershipReference" | "membershipState" | "commerceReference" | "plan" | "availability" | "bindingCount";
|
|
622
|
+
};
|
|
623
|
+
url: "/v1/admin/product-evidence/subscriptions/{subscriptionId}";
|
|
624
|
+
};
|
|
625
|
+
export type AdminGetSubscriptionFactEvidenceErrors = {
|
|
626
|
+
/**
|
|
627
|
+
* Bad Request
|
|
628
|
+
*/
|
|
629
|
+
400: ProblemDetails;
|
|
630
|
+
/**
|
|
631
|
+
* Unauthorized
|
|
632
|
+
*/
|
|
633
|
+
401: ProblemDetails;
|
|
634
|
+
/**
|
|
635
|
+
* Forbidden
|
|
636
|
+
*/
|
|
637
|
+
403: ProblemDetails;
|
|
638
|
+
/**
|
|
639
|
+
* Conflict
|
|
640
|
+
*/
|
|
641
|
+
409: ProblemDetails;
|
|
642
|
+
/**
|
|
643
|
+
* Payload Too Large
|
|
644
|
+
*/
|
|
645
|
+
413: ProblemDetails;
|
|
646
|
+
/**
|
|
647
|
+
* Too Many Requests
|
|
648
|
+
*/
|
|
649
|
+
429: ProblemDetails;
|
|
650
|
+
/**
|
|
651
|
+
* Internal Server Error
|
|
652
|
+
*/
|
|
653
|
+
500: ProblemDetails;
|
|
654
|
+
/**
|
|
655
|
+
* Bad Gateway
|
|
656
|
+
*/
|
|
657
|
+
502: ProblemDetails;
|
|
658
|
+
/**
|
|
659
|
+
* Service Unavailable
|
|
660
|
+
*/
|
|
661
|
+
503: ProblemDetails;
|
|
662
|
+
};
|
|
663
|
+
export type AdminGetSubscriptionFactEvidenceError = AdminGetSubscriptionFactEvidenceErrors[keyof AdminGetSubscriptionFactEvidenceErrors];
|
|
664
|
+
export type AdminGetSubscriptionFactEvidenceResponses = {
|
|
665
|
+
/**
|
|
666
|
+
* OK
|
|
667
|
+
*/
|
|
668
|
+
200: AdminEvidenceSnapshot;
|
|
669
|
+
};
|
|
670
|
+
export type AdminGetSubscriptionFactEvidenceResponse = AdminGetSubscriptionFactEvidenceResponses[keyof AdminGetSubscriptionFactEvidenceResponses];
|
|
671
|
+
export type AdminQueryTrackerSubscriptionEvidenceData = {
|
|
672
|
+
body: AdminEvidenceAccountsRequest;
|
|
673
|
+
path: {
|
|
674
|
+
trackerId: string;
|
|
675
|
+
};
|
|
676
|
+
query?: never;
|
|
677
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/subscription-queries";
|
|
678
|
+
};
|
|
679
|
+
export type AdminQueryTrackerSubscriptionEvidenceErrors = {
|
|
680
|
+
/**
|
|
681
|
+
* Bad Request
|
|
682
|
+
*/
|
|
683
|
+
400: ProblemDetails;
|
|
684
|
+
/**
|
|
685
|
+
* Unauthorized
|
|
686
|
+
*/
|
|
687
|
+
401: ProblemDetails;
|
|
688
|
+
/**
|
|
689
|
+
* Forbidden
|
|
690
|
+
*/
|
|
691
|
+
403: ProblemDetails;
|
|
692
|
+
/**
|
|
693
|
+
* Conflict
|
|
694
|
+
*/
|
|
695
|
+
409: ProblemDetails;
|
|
696
|
+
/**
|
|
697
|
+
* Payload Too Large
|
|
698
|
+
*/
|
|
699
|
+
413: ProblemDetails;
|
|
700
|
+
/**
|
|
701
|
+
* Unsupported Media Type
|
|
702
|
+
*/
|
|
703
|
+
415: ProblemDetails;
|
|
704
|
+
/**
|
|
705
|
+
* Too Many Requests
|
|
706
|
+
*/
|
|
707
|
+
429: ProblemDetails;
|
|
708
|
+
/**
|
|
709
|
+
* Internal Server Error
|
|
710
|
+
*/
|
|
711
|
+
500: ProblemDetails;
|
|
712
|
+
/**
|
|
713
|
+
* Bad Gateway
|
|
714
|
+
*/
|
|
715
|
+
502: ProblemDetails;
|
|
716
|
+
/**
|
|
717
|
+
* Service Unavailable
|
|
718
|
+
*/
|
|
719
|
+
503: ProblemDetails;
|
|
720
|
+
};
|
|
721
|
+
export type AdminQueryTrackerSubscriptionEvidenceError = AdminQueryTrackerSubscriptionEvidenceErrors[keyof AdminQueryTrackerSubscriptionEvidenceErrors];
|
|
722
|
+
export type AdminQueryTrackerSubscriptionEvidenceResponses = {
|
|
723
|
+
/**
|
|
724
|
+
* OK
|
|
725
|
+
*/
|
|
726
|
+
200: AdminEvidenceSnapshot;
|
|
727
|
+
};
|
|
728
|
+
export type AdminQueryTrackerSubscriptionEvidenceResponse = AdminQueryTrackerSubscriptionEvidenceResponses[keyof AdminQueryTrackerSubscriptionEvidenceResponses];
|
|
729
|
+
export type AdminQueryCommerceBindingEvidenceData = {
|
|
730
|
+
body: AdminEvidenceAccountsRequest;
|
|
731
|
+
path: {
|
|
732
|
+
wooId: number;
|
|
733
|
+
};
|
|
734
|
+
query?: never;
|
|
735
|
+
url: "/v1/admin/product-evidence/commerce-subscriptions/{wooId}/binding-queries";
|
|
736
|
+
};
|
|
737
|
+
export type AdminQueryCommerceBindingEvidenceErrors = {
|
|
738
|
+
/**
|
|
739
|
+
* Bad Request
|
|
740
|
+
*/
|
|
741
|
+
400: ProblemDetails;
|
|
742
|
+
/**
|
|
743
|
+
* Unauthorized
|
|
744
|
+
*/
|
|
745
|
+
401: ProblemDetails;
|
|
746
|
+
/**
|
|
747
|
+
* Forbidden
|
|
748
|
+
*/
|
|
749
|
+
403: ProblemDetails;
|
|
750
|
+
/**
|
|
751
|
+
* Conflict
|
|
752
|
+
*/
|
|
753
|
+
409: ProblemDetails;
|
|
754
|
+
/**
|
|
755
|
+
* Payload Too Large
|
|
756
|
+
*/
|
|
757
|
+
413: ProblemDetails;
|
|
758
|
+
/**
|
|
759
|
+
* Unsupported Media Type
|
|
760
|
+
*/
|
|
761
|
+
415: ProblemDetails;
|
|
762
|
+
/**
|
|
763
|
+
* Too Many Requests
|
|
764
|
+
*/
|
|
765
|
+
429: ProblemDetails;
|
|
766
|
+
/**
|
|
767
|
+
* Internal Server Error
|
|
768
|
+
*/
|
|
769
|
+
500: ProblemDetails;
|
|
770
|
+
/**
|
|
771
|
+
* Bad Gateway
|
|
772
|
+
*/
|
|
773
|
+
502: ProblemDetails;
|
|
774
|
+
/**
|
|
775
|
+
* Service Unavailable
|
|
776
|
+
*/
|
|
777
|
+
503: ProblemDetails;
|
|
778
|
+
};
|
|
779
|
+
export type AdminQueryCommerceBindingEvidenceError = AdminQueryCommerceBindingEvidenceErrors[keyof AdminQueryCommerceBindingEvidenceErrors];
|
|
780
|
+
export type AdminQueryCommerceBindingEvidenceResponses = {
|
|
781
|
+
/**
|
|
782
|
+
* OK
|
|
783
|
+
*/
|
|
784
|
+
200: AdminEvidenceSnapshot;
|
|
785
|
+
};
|
|
786
|
+
export type AdminQueryCommerceBindingEvidenceResponse = AdminQueryCommerceBindingEvidenceResponses[keyof AdminQueryCommerceBindingEvidenceResponses];
|
|
787
|
+
export type AdminQueryTrackerHistoryEvidenceData = {
|
|
788
|
+
body: AdminEvidenceHistoryRequest;
|
|
789
|
+
path: {
|
|
790
|
+
trackerId: string;
|
|
791
|
+
};
|
|
792
|
+
query?: never;
|
|
793
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/history-queries";
|
|
794
|
+
};
|
|
795
|
+
export type AdminQueryTrackerHistoryEvidenceErrors = {
|
|
796
|
+
/**
|
|
797
|
+
* Bad Request
|
|
798
|
+
*/
|
|
799
|
+
400: ProblemDetails;
|
|
800
|
+
/**
|
|
801
|
+
* Unauthorized
|
|
802
|
+
*/
|
|
803
|
+
401: ProblemDetails;
|
|
804
|
+
/**
|
|
805
|
+
* Forbidden
|
|
806
|
+
*/
|
|
807
|
+
403: ProblemDetails;
|
|
808
|
+
/**
|
|
809
|
+
* Conflict
|
|
810
|
+
*/
|
|
811
|
+
409: ProblemDetails;
|
|
812
|
+
/**
|
|
813
|
+
* Payload Too Large
|
|
814
|
+
*/
|
|
815
|
+
413: ProblemDetails;
|
|
816
|
+
/**
|
|
817
|
+
* Unsupported Media Type
|
|
818
|
+
*/
|
|
819
|
+
415: ProblemDetails;
|
|
820
|
+
/**
|
|
821
|
+
* Too Many Requests
|
|
822
|
+
*/
|
|
823
|
+
429: ProblemDetails;
|
|
824
|
+
/**
|
|
825
|
+
* Internal Server Error
|
|
826
|
+
*/
|
|
827
|
+
500: ProblemDetails;
|
|
828
|
+
/**
|
|
829
|
+
* Bad Gateway
|
|
830
|
+
*/
|
|
831
|
+
502: ProblemDetails;
|
|
832
|
+
/**
|
|
833
|
+
* Service Unavailable
|
|
834
|
+
*/
|
|
835
|
+
503: ProblemDetails;
|
|
836
|
+
};
|
|
837
|
+
export type AdminQueryTrackerHistoryEvidenceError = AdminQueryTrackerHistoryEvidenceErrors[keyof AdminQueryTrackerHistoryEvidenceErrors];
|
|
838
|
+
export type AdminQueryTrackerHistoryEvidenceResponses = {
|
|
839
|
+
/**
|
|
840
|
+
* OK
|
|
841
|
+
*/
|
|
842
|
+
200: AdminEvidenceSnapshot;
|
|
843
|
+
};
|
|
844
|
+
export type AdminQueryTrackerHistoryEvidenceResponse = AdminQueryTrackerHistoryEvidenceResponses[keyof AdminQueryTrackerHistoryEvidenceResponses];
|
|
845
|
+
export type AdminQueryTrackerRelationshipEvidenceData = {
|
|
846
|
+
body: AdminRelationshipRequest;
|
|
847
|
+
path: {
|
|
848
|
+
trackerId: string;
|
|
849
|
+
};
|
|
850
|
+
query?: never;
|
|
851
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-queries";
|
|
852
|
+
};
|
|
853
|
+
export type AdminQueryTrackerRelationshipEvidenceErrors = {
|
|
854
|
+
/**
|
|
855
|
+
* Bad Request
|
|
856
|
+
*/
|
|
857
|
+
400: ProblemDetails;
|
|
858
|
+
/**
|
|
859
|
+
* Unauthorized
|
|
860
|
+
*/
|
|
861
|
+
401: ProblemDetails;
|
|
862
|
+
/**
|
|
863
|
+
* Forbidden
|
|
864
|
+
*/
|
|
865
|
+
403: ProblemDetails;
|
|
866
|
+
/**
|
|
867
|
+
* Conflict
|
|
868
|
+
*/
|
|
869
|
+
409: ProblemDetails;
|
|
870
|
+
/**
|
|
871
|
+
* Payload Too Large
|
|
872
|
+
*/
|
|
873
|
+
413: ProblemDetails;
|
|
874
|
+
/**
|
|
875
|
+
* Unsupported Media Type
|
|
876
|
+
*/
|
|
877
|
+
415: ProblemDetails;
|
|
878
|
+
/**
|
|
879
|
+
* Too Many Requests
|
|
880
|
+
*/
|
|
881
|
+
429: ProblemDetails;
|
|
882
|
+
/**
|
|
883
|
+
* Internal Server Error
|
|
884
|
+
*/
|
|
885
|
+
500: ProblemDetails;
|
|
886
|
+
/**
|
|
887
|
+
* Bad Gateway
|
|
888
|
+
*/
|
|
889
|
+
502: ProblemDetails;
|
|
890
|
+
/**
|
|
891
|
+
* Service Unavailable
|
|
892
|
+
*/
|
|
893
|
+
503: ProblemDetails;
|
|
894
|
+
};
|
|
895
|
+
export type AdminQueryTrackerRelationshipEvidenceError = AdminQueryTrackerRelationshipEvidenceErrors[keyof AdminQueryTrackerRelationshipEvidenceErrors];
|
|
896
|
+
export type AdminQueryTrackerRelationshipEvidenceResponses = {
|
|
897
|
+
/**
|
|
898
|
+
* OK
|
|
899
|
+
*/
|
|
900
|
+
200: AdminEvidenceSnapshot;
|
|
901
|
+
};
|
|
902
|
+
export type AdminQueryTrackerRelationshipEvidenceResponse = AdminQueryTrackerRelationshipEvidenceResponses[keyof AdminQueryTrackerRelationshipEvidenceResponses];
|
|
903
|
+
export type AdminChangeTrackerRelationshipData = {
|
|
904
|
+
body: AdminRelationshipChangeRequest;
|
|
905
|
+
path: {
|
|
906
|
+
trackerId: string;
|
|
907
|
+
};
|
|
908
|
+
query?: never;
|
|
909
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-changes";
|
|
910
|
+
};
|
|
911
|
+
export type AdminChangeTrackerRelationshipErrors = {
|
|
912
|
+
/**
|
|
913
|
+
* Bad Request
|
|
914
|
+
*/
|
|
915
|
+
400: ProblemDetails;
|
|
916
|
+
/**
|
|
917
|
+
* Unauthorized
|
|
918
|
+
*/
|
|
919
|
+
401: ProblemDetails;
|
|
920
|
+
/**
|
|
921
|
+
* Forbidden
|
|
922
|
+
*/
|
|
923
|
+
403: ProblemDetails;
|
|
924
|
+
/**
|
|
925
|
+
* Conflict
|
|
926
|
+
*/
|
|
927
|
+
409: ProblemDetails;
|
|
928
|
+
/**
|
|
929
|
+
* Payload Too Large
|
|
930
|
+
*/
|
|
931
|
+
413: ProblemDetails;
|
|
932
|
+
/**
|
|
933
|
+
* Unsupported Media Type
|
|
934
|
+
*/
|
|
935
|
+
415: ProblemDetails;
|
|
936
|
+
/**
|
|
937
|
+
* Too Many Requests
|
|
938
|
+
*/
|
|
939
|
+
429: ProblemDetails;
|
|
940
|
+
/**
|
|
941
|
+
* Internal Server Error
|
|
942
|
+
*/
|
|
943
|
+
500: ProblemDetails;
|
|
944
|
+
/**
|
|
945
|
+
* Bad Gateway
|
|
946
|
+
*/
|
|
947
|
+
502: ProblemDetails;
|
|
948
|
+
/**
|
|
949
|
+
* Service Unavailable
|
|
950
|
+
*/
|
|
951
|
+
503: ProblemDetails;
|
|
952
|
+
};
|
|
953
|
+
export type AdminChangeTrackerRelationshipError = AdminChangeTrackerRelationshipErrors[keyof AdminChangeTrackerRelationshipErrors];
|
|
954
|
+
export type AdminChangeTrackerRelationshipResponses = {
|
|
955
|
+
/**
|
|
956
|
+
* OK
|
|
957
|
+
*/
|
|
958
|
+
200: CommandSuccess;
|
|
959
|
+
};
|
|
960
|
+
export type AdminChangeTrackerRelationshipResponse = AdminChangeTrackerRelationshipResponses[keyof AdminChangeTrackerRelationshipResponses];
|
|
961
|
+
export type AdminVerifyTrackerRelationshipData = {
|
|
962
|
+
body: AdminRelationshipVerificationRequest;
|
|
963
|
+
path: {
|
|
964
|
+
trackerId: string;
|
|
965
|
+
};
|
|
966
|
+
query?: never;
|
|
967
|
+
url: "/v1/admin/product-evidence/trackers/{trackerId}/relationship-verification-queries";
|
|
968
|
+
};
|
|
969
|
+
export type AdminVerifyTrackerRelationshipErrors = {
|
|
970
|
+
/**
|
|
971
|
+
* Bad Request
|
|
972
|
+
*/
|
|
973
|
+
400: ProblemDetails;
|
|
974
|
+
/**
|
|
975
|
+
* Unauthorized
|
|
976
|
+
*/
|
|
977
|
+
401: ProblemDetails;
|
|
978
|
+
/**
|
|
979
|
+
* Forbidden
|
|
980
|
+
*/
|
|
981
|
+
403: ProblemDetails;
|
|
982
|
+
/**
|
|
983
|
+
* Conflict
|
|
984
|
+
*/
|
|
985
|
+
409: ProblemDetails;
|
|
986
|
+
/**
|
|
987
|
+
* Payload Too Large
|
|
988
|
+
*/
|
|
989
|
+
413: ProblemDetails;
|
|
990
|
+
/**
|
|
991
|
+
* Unsupported Media Type
|
|
992
|
+
*/
|
|
993
|
+
415: ProblemDetails;
|
|
994
|
+
/**
|
|
995
|
+
* Too Many Requests
|
|
996
|
+
*/
|
|
997
|
+
429: ProblemDetails;
|
|
998
|
+
/**
|
|
999
|
+
* Internal Server Error
|
|
1000
|
+
*/
|
|
1001
|
+
500: ProblemDetails;
|
|
1002
|
+
/**
|
|
1003
|
+
* Bad Gateway
|
|
1004
|
+
*/
|
|
1005
|
+
502: ProblemDetails;
|
|
1006
|
+
/**
|
|
1007
|
+
* Service Unavailable
|
|
1008
|
+
*/
|
|
1009
|
+
503: ProblemDetails;
|
|
1010
|
+
};
|
|
1011
|
+
export type AdminVerifyTrackerRelationshipError = AdminVerifyTrackerRelationshipErrors[keyof AdminVerifyTrackerRelationshipErrors];
|
|
1012
|
+
export type AdminVerifyTrackerRelationshipResponses = {
|
|
1013
|
+
/**
|
|
1014
|
+
* OK
|
|
1015
|
+
*/
|
|
1016
|
+
200: AdminRelationshipVerification;
|
|
1017
|
+
};
|
|
1018
|
+
export type AdminVerifyTrackerRelationshipResponse = AdminVerifyTrackerRelationshipResponses[keyof AdminVerifyTrackerRelationshipResponses];
|
|
186
1019
|
export type AdminGetSessionData = {
|
|
187
1020
|
body?: never;
|
|
188
1021
|
path?: never;
|