@bikefinder/api-client 0.7.2 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +17 -6
  2. package/dist/admin/generated/index.d.ts +1 -1
  3. package/dist/admin/generated/index.d.ts.map +1 -1
  4. package/dist/admin/generated/sdk.gen.d.ts +45 -53
  5. package/dist/admin/generated/sdk.gen.d.ts.map +1 -1
  6. package/dist/admin/generated/sdk.gen.js +479 -221
  7. package/dist/admin/generated/sdk.gen.js.map +1 -1
  8. package/dist/admin/generated/types.gen.d.ts +606 -741
  9. package/dist/admin/generated/types.gen.d.ts.map +1 -1
  10. package/dist/admin/generated/zod.gen.d.ts +1342 -1412
  11. package/dist/admin/generated/zod.gen.d.ts.map +1 -1
  12. package/dist/admin/generated/zod.gen.js +211 -252
  13. package/dist/admin/generated/zod.gen.js.map +1 -1
  14. package/dist/admin/index.d.ts +1 -1
  15. package/dist/admin/index.d.ts.map +1 -1
  16. package/dist/admin/index.js +1 -1
  17. package/dist/admin/index.js.map +1 -1
  18. package/dist/generated/index.d.ts +1 -1
  19. package/dist/generated/index.d.ts.map +1 -1
  20. package/dist/generated/sdk.gen.d.ts +24 -8
  21. package/dist/generated/sdk.gen.d.ts.map +1 -1
  22. package/dist/generated/sdk.gen.js +63 -19
  23. package/dist/generated/sdk.gen.js.map +1 -1
  24. package/dist/generated/types.gen.d.ts +314 -37
  25. package/dist/generated/types.gen.d.ts.map +1 -1
  26. package/dist/generated/zod.gen.d.ts +365 -113
  27. package/dist/generated/zod.gen.d.ts.map +1 -1
  28. package/dist/generated/zod.gen.js +133 -28
  29. package/dist/generated/zod.gen.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/admin/generated/index.ts +73 -87
  32. package/src/admin/generated/sdk.gen.ts +677 -440
  33. package/src/admin/generated/types.gen.ts +737 -890
  34. package/src/admin/generated/zod.gen.ts +259 -309
  35. package/src/admin/index.ts +1 -1
  36. package/src/generated/index.ts +44 -12
  37. package/src/generated/sdk.gen.ts +150 -44
  38. package/src/generated/types.gen.ts +373 -44
  39. package/src/generated/zod.gen.ts +154 -29
@@ -57,56 +57,6 @@ export const zAdminDenylistRequest = z.object({
57
57
  reason: z.string().max(1000).nullish(),
58
58
  });
59
59
 
60
- export const zAdminEvidenceAccountsRequest = z.object({
61
- accountIds: z.array(z.string()).min(1).max(20),
62
- });
63
-
64
- export const zAdminEvidenceDomain = z.enum([
65
- "battery",
66
- "versions",
67
- "reporting",
68
- "configuration",
69
- "membershipReference",
70
- "membershipState",
71
- "commerceReference",
72
- "plan",
73
- "availability",
74
- "bindingCount",
75
- ]);
76
-
77
- export const zAdminEvidenceHistoryGroup = z.enum([
78
- "battery",
79
- "versions",
80
- "reporting",
81
- "diagnostics",
82
- ]);
83
-
84
- export const zAdminEvidenceHistorySource = z.enum([
85
- "data",
86
- "sanitizedData",
87
- "bluetooth",
88
- "audit",
89
- "commandPackets",
90
- ]);
91
-
92
- export const zAdminEvidenceInsuranceRecords = z
93
- .enum(["contracts", "creationAttempts"])
94
- .default("contracts");
95
-
96
- export const zAdminEvidenceLayout = z.enum(["legacy"]);
97
-
98
- export const zAdminEvidenceOperationalDomain = z.enum([
99
- "runtime",
100
- "firmware",
101
- "commands",
102
- "statistics",
103
- ]);
104
-
105
- export const zAdminEvidencePageRequest = z.object({
106
- accountIds: z.array(z.string()).min(1).max(20),
107
- after: z.string().min(1).max(254).nullish(),
108
- });
109
-
110
60
  export const zAdminFavoriteRequest = z.object({
111
61
  comment: z.string().max(4000),
112
62
  });
@@ -115,13 +65,6 @@ export const zAdminGeneration = z.enum(["gen1", "gen2"]);
115
65
 
116
66
  export const zAdminInsuranceProvider = z.enum(["cycler", "hepster", "tryg"]);
117
67
 
118
- export const zAdminInsuranceEvidenceRequest = z.object({
119
- accountIds: z.array(z.string()).min(1).max(20),
120
- provider: zAdminInsuranceProvider,
121
- records: zAdminEvidenceInsuranceRecords.optional(),
122
- after: z.string().min(1).max(254).nullish(),
123
- });
124
-
125
68
  export const zAdminLinkSubscriptionRequest = z.object({
126
69
  subscriptionId: z.string(),
127
70
  });
@@ -165,41 +108,6 @@ export const zAdminNotificationRequest = z.object({
165
108
  log: z.string().max(1000).nullish(),
166
109
  });
167
110
 
168
- export const zAdminOperationalEvidenceRequest = z.object({
169
- accountIds: z.array(z.string()).min(1).max(20),
170
- domain: zAdminEvidenceOperationalDomain,
171
- });
172
-
173
- export const zAdminRelationshipKind = z.enum([
174
- "subscriptionBinding",
175
- "deviceAccount",
176
- ]);
177
-
178
- export const zAdminRelationshipChangeRequest = z.object({
179
- accountIds: z.array(z.string()).min(1).max(20),
180
- kind: zAdminRelationshipKind,
181
- accountId: z.string().min(1).max(128),
182
- expectedVersion: z.string().regex(/^[a-f0-9]{64}$/),
183
- subscriptionId: z.string().nullish(),
184
- allowLastAccountCleanup: z.boolean().optional().default(false),
185
- });
186
-
187
- export const zAdminRelationshipRequest = z.object({
188
- accountIds: z.array(z.string()).min(1).max(20),
189
- kind: zAdminRelationshipKind,
190
- });
191
-
192
- export const zAdminRelationshipVerification = z.object({
193
- verified: z.boolean(),
194
- });
195
-
196
- export const zAdminRelationshipVerificationRequest = z.object({
197
- kind: zAdminRelationshipKind,
198
- accountId: z.string().min(1).max(128),
199
- remainingAccountIds: z.array(z.string()).max(100),
200
- subscriptionId: z.string().nullish(),
201
- });
202
-
203
111
  export const zAdminRequestId = z.object({
204
112
  requestId: z
205
113
  .string()
@@ -275,55 +183,6 @@ export const zAdminTimestamp = z.object({
275
183
  }),
276
184
  });
277
185
 
278
- export const zAdminEvidenceCursor = z.object({
279
- timestamp: zAdminTimestamp,
280
- id: z.string().min(1).max(254),
281
- });
282
-
283
- export const zAdminEvidenceDocument = z.object({
284
- id: z.string(),
285
- path: z.string(),
286
- exists: z.boolean(),
287
- fields: zAdminSupportValue.nullable(),
288
- updatedAt: zAdminTimestamp.nullable(),
289
- createdAt: zAdminTimestamp.nullable(),
290
- readAt: zAdminTimestamp,
291
- });
292
-
293
- export const zAdminEvidenceHistoryRequest = z.object({
294
- accountId: z.string().min(1).max(128),
295
- source: zAdminEvidenceHistorySource,
296
- from: z.iso.datetime({ offset: true }),
297
- to: z.iso.datetime({ offset: true }),
298
- after: zAdminEvidenceCursor.nullish(),
299
- fields: z.array(zAdminEvidenceHistoryGroup).min(1).max(4).nullish(),
300
- });
301
-
302
- export const zAdminEvidenceSnapshot = z.object({
303
- documents: z.array(zAdminEvidenceDocument),
304
- relatedDocuments: z.array(zAdminEvidenceDocument),
305
- readAt: zAdminTimestamp,
306
- });
307
-
308
- export const zAdminEvidencePage = z.object({
309
- snapshot: zAdminEvidenceSnapshot,
310
- nextAfter: z.string().nullable(),
311
- scannedRecordCount: z
312
- .int()
313
- .min(-2147483648, {
314
- error: "Invalid value: Expected int32 to be >= -2147483648",
315
- })
316
- .max(2147483647, {
317
- error: "Invalid value: Expected int32 to be <= 2147483647",
318
- }),
319
- });
320
-
321
- export const zAdminOperationalEvidence = z.object({
322
- domain: zAdminEvidenceOperationalDomain,
323
- layout: zAdminEvidenceLayout,
324
- snapshot: zAdminEvidenceSnapshot,
325
- });
326
-
327
186
  export const zAdminTrackerCommand = z.enum([
328
187
  "changeEncryptionKey",
329
188
  "changeRareConfigs",
@@ -347,12 +206,6 @@ export const zAdminTrackerCommandResult = z.object({
347
206
  jobIds: z.array(z.string()),
348
207
  });
349
208
 
350
- export const zAdminTrackerFactsRequest = z.object({
351
- target: z.string().min(1).max(254),
352
- accountIds: z.array(z.string()).min(1).max(20),
353
- domain: zAdminEvidenceDomain,
354
- });
355
-
356
209
  export const zAdminTrackerView = z.object({
357
210
  tracker: zAdminReadResult,
358
211
  });
@@ -386,198 +239,130 @@ export const zProblemDetails = z.object({
386
239
  errors: z.record(z.string(), z.array(z.string())).optional(),
387
240
  });
388
241
 
389
- export const zAdminQueryTrackerOperationalEvidenceBody =
390
- zAdminOperationalEvidenceRequest;
391
-
392
- export const zAdminQueryTrackerOperationalEvidencePath = z.object({
393
- trackerId: z
394
- .string()
395
- .length(32)
396
- .regex(/^[a-f0-9]{32}$/),
397
- });
398
-
399
- /**
400
- * OK
401
- */
402
- export const zAdminQueryTrackerOperationalEvidenceResponse =
403
- zAdminOperationalEvidence;
404
-
405
- export const zAdminQueryTrackerJobEvidenceBody = zAdminEvidencePageRequest;
406
-
407
- export const zAdminQueryTrackerJobEvidencePath = z.object({
408
- trackerId: z
409
- .string()
410
- .length(32)
411
- .regex(/^[a-f0-9]{32}$/),
242
+ export const zSupportEvidenceAccountsRequest = z.object({
243
+ accountIds: z.array(z.string()).min(1).max(20),
412
244
  });
413
245
 
414
- /**
415
- * OK
416
- */
417
- export const zAdminQueryTrackerJobEvidenceResponse = zAdminEvidencePage;
418
-
419
- export const zAdminQuerySubscriptionInsuranceEvidenceBody =
420
- zAdminInsuranceEvidenceRequest;
421
-
422
- export const zAdminQuerySubscriptionInsuranceEvidencePath = z.object({
423
- subscriptionId: z.string(),
246
+ export const zSupportEvidenceCursor = z.object({
247
+ timestamp: zAdminTimestamp,
248
+ id: z.string().min(1).max(254),
424
249
  });
425
250
 
426
- /**
427
- * OK
428
- */
429
- export const zAdminQuerySubscriptionInsuranceEvidenceResponse =
430
- zAdminEvidencePage;
431
-
432
- export const zAdminListAccountTrackerEvidencePath = z.object({
433
- accountId: z.string(),
251
+ export const zSupportEvidenceDocument = z.object({
252
+ id: z.string(),
253
+ path: z.string(),
254
+ exists: z.boolean(),
255
+ fields: zAdminSupportValue.nullable(),
256
+ updatedAt: zAdminTimestamp.nullable(),
257
+ createdAt: zAdminTimestamp.nullable(),
258
+ readAt: zAdminTimestamp,
434
259
  });
435
260
 
436
- export const zAdminListAccountTrackerEvidenceQuery = z.object({
437
- after: z.string().optional(),
438
- });
261
+ export const zSupportEvidenceDomain = z.enum([
262
+ "battery",
263
+ "versions",
264
+ "reporting",
265
+ "configuration",
266
+ "membershipReference",
267
+ "membershipState",
268
+ "commerceReference",
269
+ "plan",
270
+ "availability",
271
+ "bindingCount",
272
+ ]);
439
273
 
440
- /**
441
- * OK
442
- */
443
- export const zAdminListAccountTrackerEvidenceResponse = zAdminEvidenceSnapshot;
274
+ export const zSupportEvidenceHistoryGroup = z.enum([
275
+ "battery",
276
+ "versions",
277
+ "reporting",
278
+ "diagnostics",
279
+ ]);
444
280
 
445
- export const zAdminListAccountSubscriptionEvidencePath = z.object({
446
- accountId: z.string(),
447
- });
281
+ export const zSupportEvidenceHistorySource = z.enum([
282
+ "data",
283
+ "sanitizedData",
284
+ "bluetooth",
285
+ "audit",
286
+ "commandPackets",
287
+ ]);
448
288
 
449
- export const zAdminListAccountSubscriptionEvidenceQuery = z.object({
450
- after: z.string().optional(),
289
+ export const zSupportEvidenceHistoryRequest = z.object({
290
+ accountId: z.string().min(1).max(128),
291
+ source: zSupportEvidenceHistorySource,
292
+ from: z.iso.datetime({ offset: true }),
293
+ to: z.iso.datetime({ offset: true }),
294
+ after: zSupportEvidenceCursor.nullish(),
295
+ fields: z.array(zSupportEvidenceHistoryGroup).min(1).max(4).nullish(),
451
296
  });
452
297
 
453
- /**
454
- * OK
455
- */
456
- export const zAdminListAccountSubscriptionEvidenceResponse =
457
- zAdminEvidenceSnapshot;
458
-
459
- export const zAdminQueryTrackerFactEvidenceBody = zAdminTrackerFactsRequest;
298
+ export const zSupportEvidenceInsuranceRecords = z
299
+ .enum(["contracts", "creationAttempts"])
300
+ .default("contracts");
460
301
 
461
- /**
462
- * OK
463
- */
464
- export const zAdminQueryTrackerFactEvidenceResponse = zAdminEvidenceSnapshot;
302
+ export const zSupportEvidenceOperationalDomain = z.enum([
303
+ "runtime",
304
+ "firmware",
305
+ "commands",
306
+ "statistics",
307
+ ]);
465
308
 
466
- export const zAdminGetSubscriptionFactEvidencePath = z.object({
467
- subscriptionId: z.string(),
309
+ export const zSupportEvidencePageRequest = z.object({
310
+ accountIds: z.array(z.string()).min(1).max(20),
311
+ after: z.string().min(1).max(254).nullish(),
468
312
  });
469
313
 
470
- export const zAdminGetSubscriptionFactEvidenceQuery = z.object({
471
- domain: z.enum([
472
- "battery",
473
- "versions",
474
- "reporting",
475
- "configuration",
476
- "membershipReference",
477
- "membershipState",
478
- "commerceReference",
479
- "plan",
480
- "availability",
481
- "bindingCount",
482
- ]),
314
+ export const zSupportEvidenceSnapshot = z.object({
315
+ documents: z.array(zSupportEvidenceDocument),
316
+ relatedDocuments: z.array(zSupportEvidenceDocument),
317
+ readAt: zAdminTimestamp,
483
318
  });
484
319
 
485
- /**
486
- * OK
487
- */
488
- export const zAdminGetSubscriptionFactEvidenceResponse = zAdminEvidenceSnapshot;
489
-
490
- export const zAdminQueryTrackerSubscriptionEvidenceBody =
491
- zAdminEvidenceAccountsRequest;
492
-
493
- export const zAdminQueryTrackerSubscriptionEvidencePath = z.object({
494
- trackerId: z
495
- .string()
496
- .length(32)
497
- .regex(/^[a-f0-9]{32}$/),
320
+ export const zSupportEvidencePage = z.object({
321
+ snapshot: zSupportEvidenceSnapshot,
322
+ nextAfter: z.string().nullable(),
323
+ scannedRecordCount: z
324
+ .int()
325
+ .min(-2147483648, {
326
+ error: "Invalid value: Expected int32 to be >= -2147483648",
327
+ })
328
+ .max(2147483647, {
329
+ error: "Invalid value: Expected int32 to be <= 2147483647",
330
+ }),
498
331
  });
499
332
 
500
- /**
501
- * OK
502
- */
503
- export const zAdminQueryTrackerSubscriptionEvidenceResponse =
504
- zAdminEvidenceSnapshot;
505
-
506
- export const zAdminQueryCommerceBindingEvidenceBody =
507
- zAdminEvidenceAccountsRequest;
508
-
509
- export const zAdminQueryCommerceBindingEvidencePath = z.object({
510
- wooId: z.int().gte(-9007199254740991).lte(9007199254740991),
333
+ export const zSupportInsuranceEvidenceRequest = z.object({
334
+ accountIds: z.array(z.string()).min(1).max(20),
335
+ provider: zAdminInsuranceProvider,
336
+ records: zSupportEvidenceInsuranceRecords.optional(),
337
+ after: z.string().min(1).max(254).nullish(),
511
338
  });
512
339
 
513
- /**
514
- * OK
515
- */
516
- export const zAdminQueryCommerceBindingEvidenceResponse =
517
- zAdminEvidenceSnapshot;
518
-
519
- export const zAdminQueryTrackerHistoryEvidenceBody =
520
- zAdminEvidenceHistoryRequest;
521
-
522
- export const zAdminQueryTrackerHistoryEvidencePath = z.object({
523
- trackerId: z
524
- .string()
525
- .length(32)
526
- .regex(/^[a-f0-9]{32}$/),
340
+ export const zSupportOperationalEvidence = z.object({
341
+ domain: zSupportEvidenceOperationalDomain,
342
+ snapshot: zSupportEvidenceSnapshot,
527
343
  });
528
344
 
529
- /**
530
- * OK
531
- */
532
- export const zAdminQueryTrackerHistoryEvidenceResponse = zAdminEvidenceSnapshot;
533
-
534
- export const zAdminQueryTrackerRelationshipEvidenceBody =
535
- zAdminRelationshipRequest;
536
-
537
- export const zAdminQueryTrackerRelationshipEvidencePath = z.object({
538
- trackerId: z
539
- .string()
540
- .length(32)
541
- .regex(/^[a-f0-9]{32}$/),
345
+ export const zSupportOperationalEvidenceRequest = z.object({
346
+ accountIds: z.array(z.string()).min(1).max(20),
347
+ domain: zSupportEvidenceOperationalDomain,
542
348
  });
543
349
 
544
- /**
545
- * OK
546
- */
547
- export const zAdminQueryTrackerRelationshipEvidenceResponse =
548
- zAdminEvidenceSnapshot;
549
-
550
- export const zAdminChangeTrackerRelationshipBody =
551
- zAdminRelationshipChangeRequest;
350
+ export const zSupportRelationshipKind = z.enum([
351
+ "subscriptionBinding",
352
+ "deviceAccount",
353
+ ]);
552
354
 
553
- export const zAdminChangeTrackerRelationshipPath = z.object({
554
- trackerId: z
555
- .string()
556
- .length(32)
557
- .regex(/^[a-f0-9]{32}$/),
355
+ export const zSupportRelationshipRequest = z.object({
356
+ accountIds: z.array(z.string()).min(1).max(20),
357
+ kind: zSupportRelationshipKind,
558
358
  });
559
359
 
560
- /**
561
- * OK
562
- */
563
- export const zAdminChangeTrackerRelationshipResponse = zCommandSuccess;
564
-
565
- export const zAdminVerifyTrackerRelationshipBody =
566
- zAdminRelationshipVerificationRequest;
567
-
568
- export const zAdminVerifyTrackerRelationshipPath = z.object({
569
- trackerId: z
570
- .string()
571
- .length(32)
572
- .regex(/^[a-f0-9]{32}$/),
360
+ export const zSupportTrackerFactsRequest = z.object({
361
+ target: z.string().min(1).max(254),
362
+ accountIds: z.array(z.string()).min(1).max(20),
363
+ domain: zSupportEvidenceDomain,
573
364
  });
574
365
 
575
- /**
576
- * OK
577
- */
578
- export const zAdminVerifyTrackerRelationshipResponse =
579
- zAdminRelationshipVerification;
580
-
581
366
  /**
582
367
  * OK
583
368
  */
@@ -1025,3 +810,168 @@ export const zAdminSyncB2bInsuranceResponse = zCommandSuccess;
1025
810
  * Accepted
1026
811
  */
1027
812
  export const zAdminSyncAllB2bInsuranceResponse = zCommandSuccess;
813
+
814
+ export const zSupportQueryTrackerOperationalEvidenceBody =
815
+ zSupportOperationalEvidenceRequest;
816
+
817
+ export const zSupportQueryTrackerOperationalEvidencePath = z.object({
818
+ trackerId: z
819
+ .string()
820
+ .length(32)
821
+ .regex(/^[a-f0-9]{32}$/),
822
+ });
823
+
824
+ /**
825
+ * OK
826
+ */
827
+ export const zSupportQueryTrackerOperationalEvidenceResponse =
828
+ zSupportOperationalEvidence;
829
+
830
+ export const zSupportQueryTrackerJobEvidenceBody = zSupportEvidencePageRequest;
831
+
832
+ export const zSupportQueryTrackerJobEvidencePath = z.object({
833
+ trackerId: z
834
+ .string()
835
+ .length(32)
836
+ .regex(/^[a-f0-9]{32}$/),
837
+ });
838
+
839
+ /**
840
+ * OK
841
+ */
842
+ export const zSupportQueryTrackerJobEvidenceResponse = zSupportEvidencePage;
843
+
844
+ export const zSupportQuerySubscriptionInsuranceEvidenceBody =
845
+ zSupportInsuranceEvidenceRequest;
846
+
847
+ export const zSupportQuerySubscriptionInsuranceEvidencePath = z.object({
848
+ subscriptionId: z.string(),
849
+ });
850
+
851
+ /**
852
+ * OK
853
+ */
854
+ export const zSupportQuerySubscriptionInsuranceEvidenceResponse =
855
+ zSupportEvidencePage;
856
+
857
+ export const zSupportListAccountTrackerEvidencePath = z.object({
858
+ accountId: z.string(),
859
+ });
860
+
861
+ export const zSupportListAccountTrackerEvidenceQuery = z.object({
862
+ after: z.string().optional(),
863
+ });
864
+
865
+ /**
866
+ * OK
867
+ */
868
+ export const zSupportListAccountTrackerEvidenceResponse =
869
+ zSupportEvidenceSnapshot;
870
+
871
+ export const zSupportListAccountSubscriptionEvidencePath = z.object({
872
+ accountId: z.string(),
873
+ });
874
+
875
+ export const zSupportListAccountSubscriptionEvidenceQuery = z.object({
876
+ after: z.string().optional(),
877
+ });
878
+
879
+ /**
880
+ * OK
881
+ */
882
+ export const zSupportListAccountSubscriptionEvidenceResponse =
883
+ zSupportEvidenceSnapshot;
884
+
885
+ export const zSupportQueryTrackerFactEvidenceBody = zSupportTrackerFactsRequest;
886
+
887
+ /**
888
+ * OK
889
+ */
890
+ export const zSupportQueryTrackerFactEvidenceResponse =
891
+ zSupportEvidenceSnapshot;
892
+
893
+ export const zSupportGetSubscriptionFactEvidencePath = z.object({
894
+ subscriptionId: z.string(),
895
+ });
896
+
897
+ export const zSupportGetSubscriptionFactEvidenceQuery = z.object({
898
+ domain: z.enum([
899
+ "battery",
900
+ "versions",
901
+ "reporting",
902
+ "configuration",
903
+ "membershipReference",
904
+ "membershipState",
905
+ "commerceReference",
906
+ "plan",
907
+ "availability",
908
+ "bindingCount",
909
+ ]),
910
+ });
911
+
912
+ /**
913
+ * OK
914
+ */
915
+ export const zSupportGetSubscriptionFactEvidenceResponse =
916
+ zSupportEvidenceSnapshot;
917
+
918
+ export const zSupportQueryTrackerSubscriptionEvidenceBody =
919
+ zSupportEvidenceAccountsRequest;
920
+
921
+ export const zSupportQueryTrackerSubscriptionEvidencePath = z.object({
922
+ trackerId: z
923
+ .string()
924
+ .length(32)
925
+ .regex(/^[a-f0-9]{32}$/),
926
+ });
927
+
928
+ /**
929
+ * OK
930
+ */
931
+ export const zSupportQueryTrackerSubscriptionEvidenceResponse =
932
+ zSupportEvidenceSnapshot;
933
+
934
+ export const zSupportQueryCommerceBindingEvidenceBody =
935
+ zSupportEvidenceAccountsRequest;
936
+
937
+ export const zSupportQueryCommerceBindingEvidencePath = z.object({
938
+ wooId: z.int().gte(-9007199254740991).lte(9007199254740991),
939
+ });
940
+
941
+ /**
942
+ * OK
943
+ */
944
+ export const zSupportQueryCommerceBindingEvidenceResponse =
945
+ zSupportEvidenceSnapshot;
946
+
947
+ export const zSupportQueryTrackerHistoryEvidenceBody =
948
+ zSupportEvidenceHistoryRequest;
949
+
950
+ export const zSupportQueryTrackerHistoryEvidencePath = z.object({
951
+ trackerId: z
952
+ .string()
953
+ .length(32)
954
+ .regex(/^[a-f0-9]{32}$/),
955
+ });
956
+
957
+ /**
958
+ * OK
959
+ */
960
+ export const zSupportQueryTrackerHistoryEvidenceResponse =
961
+ zSupportEvidenceSnapshot;
962
+
963
+ export const zSupportQueryTrackerRelationshipEvidenceBody =
964
+ zSupportRelationshipRequest;
965
+
966
+ export const zSupportQueryTrackerRelationshipEvidencePath = z.object({
967
+ trackerId: z
968
+ .string()
969
+ .length(32)
970
+ .regex(/^[a-f0-9]{32}$/),
971
+ });
972
+
973
+ /**
974
+ * OK
975
+ */
976
+ export const zSupportQueryTrackerRelationshipEvidenceResponse =
977
+ zSupportEvidenceSnapshot;
@@ -14,7 +14,7 @@ export type { ApiClientOptions } from "../options.js";
14
14
  export type * from "./generated/types.gen.js";
15
15
  export type { ProblemDetails as ApiProblem } from "./generated/types.gen.js";
16
16
 
17
- /** Operator requests require an identity authorized by the server's admin policy. */
17
+ /** Staff and workload requests share this client; each server route enforces its own identity policy. */
18
18
  export function createBikeFinderAdminClient(options: ApiClientOptions) {
19
19
  const resolved = resolveClientOptions(options);
20
20
  const requests = new BikeFinderAdminSdk({