@bikefinder/sdk 0.1.3 → 0.1.4

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.
@@ -465,6 +465,10 @@ export const zAwsCommandRequest = z.union([
465
465
  z.literal(158),
466
466
  z.literal(159),
467
467
  z.literal(160),
468
+ z.literal(161),
469
+ z.literal(162),
470
+ z.literal(163),
471
+ z.literal(164),
468
472
  ]))
469
473
  .min(1)
470
474
  .max(32),
@@ -686,6 +690,10 @@ export const zAwsCommandRequest = z.union([
686
690
  z.literal(158),
687
691
  z.literal(159),
688
692
  z.literal(160),
693
+ z.literal(161),
694
+ z.literal(162),
695
+ z.literal(163),
696
+ z.literal(164),
689
697
  ]))
690
698
  .min(1)
691
699
  .max(32),
@@ -1556,7 +1564,7 @@ export const zDeviceBatteryModuleChargerSettingsValue = z
1556
1564
  /**
1557
1565
  * Battery module charger status
1558
1566
  *
1559
- * State/fault are one hardware status. Optional supply fields require evidence from the same validated transaction; never fill them from older cache entries.
1567
+ * State/fault and optional local MSP charging guard are one coherent hardware snapshot. Guard reports permission, actual output, remaining authorization at capture, local inhibit reasons and safety-policy/boot generations. Null on legacy modules. Supply/guard fields must never borrow older cache entries.
1560
1568
  */
1561
1569
  export const zDeviceBatteryModuleChargerStatusValue = z
1562
1570
  .object({
@@ -1564,6 +1572,18 @@ export const zDeviceBatteryModuleChargerStatusValue = z
1564
1572
  fault: z.int().gte(0).lte(7),
1565
1573
  inputValidated: z.boolean().nullable(),
1566
1574
  voltageRegulationActive: z.boolean().nullable(),
1575
+ guard: z
1576
+ .object({
1577
+ authorized: z.boolean(),
1578
+ outputEnabled: z.boolean(),
1579
+ remainingMs: z.int().gte(0).lte(4294967295000),
1580
+ inhibitReasons: z.int().gte(0).lte(4294967295),
1581
+ policyRevision: z.int().gte(0).lte(4294967295),
1582
+ authorizedSample: z.int().gte(0).lte(4294967295),
1583
+ bootGeneration: z.int().gte(0).lte(4294967295),
1584
+ })
1585
+ .catchall(z.unknown())
1586
+ .nullable(),
1567
1587
  })
1568
1588
  .catchall(z.unknown());
1569
1589
  /**
@@ -1659,6 +1679,40 @@ export const zDeviceBatteryModuleThermistorAdcValue = z.int().gte(0).lte(65535);
1659
1679
  * Voltage of the identified battery module, in millivolts.
1660
1680
  */
1661
1681
  export const zDeviceBatteryModuleVoltageValue = z.int().gte(0).lte(65535);
1682
+ /**
1683
+ * battery.protocolExchange
1684
+ *
1685
+ * Last protocol envelope exchange. Transport/framing/correlation errors are distinct from the matched MSP result. No request or response payload bytes are retained. Operation-body validity is checked separately by the typed consumer.
1686
+ */
1687
+ export const zDeviceBatteryProtocolExchangeValue = z
1688
+ .object({
1689
+ operation: z.int().gte(0).lte(65535),
1690
+ elapsedMs: z.int().gte(0).lte(4294967295),
1691
+ transportError: z.int().gte(-2147483648).lte(2147483647),
1692
+ status: z.int().gte(0).lte(65535).nullable(),
1693
+ bootGeneration: z.int().gte(0).lte(4294967295).nullable(),
1694
+ })
1695
+ .catchall(z.unknown());
1696
+ /**
1697
+ * battery.protocolIdentity
1698
+ *
1699
+ * Accepted HELLO identity and metadata for this raw route. Optional unavailable metadata is null. Relay headers are not module identity evidence.
1700
+ */
1701
+ export const zDeviceBatteryProtocolIdentityValue = z
1702
+ .object({
1703
+ moduleId: z
1704
+ .string()
1705
+ .length(16)
1706
+ .regex(/^[0-9a-f]*$/),
1707
+ bootGeneration: z.int().gte(0).lte(4294967295),
1708
+ capabilities: z
1709
+ .string()
1710
+ .length(16)
1711
+ .regex(/^[0-9a-f]*$/),
1712
+ hardwareRevision: z.int().gte(0).lte(65535).nullable(),
1713
+ resetReason: z.int().gte(0).lte(65535).nullable(),
1714
+ })
1715
+ .catchall(z.unknown());
1662
1716
  /**
1663
1717
  * Connection attempt count
1664
1718
  *
@@ -5058,6 +5112,16 @@ export const zAwsBatteryChargingAdaptationStatusReading = z.union([
5058
5112
  })
5059
5113
  .catchall(z.unknown()),
5060
5114
  ]);
5115
+ export const zDeviceObservationValuesChargingPowerReservation = z
5116
+ .object({
5117
+ moduleId: z
5118
+ .string()
5119
+ .length(16)
5120
+ .regex(/^[0-9a-f]*$/),
5121
+ inputMa: z.int().gte(0).lte(800).nullable(),
5122
+ remainingMs: z.int().gte(0).lte(9007199254740991),
5123
+ })
5124
+ .catchall(z.unknown());
5061
5125
  export const zDeviceObservationValuesChargingStatus = z.intersection(z.unknown(), z
5062
5126
  .object({
5063
5127
  state: z.enum(["unknown", "notCharging", "charging", "full", "paused"]),
@@ -6271,6 +6335,30 @@ export const zAwsObservationSeries = z.union([
6271
6335
  subject: zDeviceObservationValuesModuleSubject,
6272
6336
  })
6273
6337
  .strict(),
6338
+ z
6339
+ .object({
6340
+ definitionId: z.literal(161),
6341
+ subject: zDeviceObservationValuesBatteryRouteSubject,
6342
+ })
6343
+ .strict(),
6344
+ z
6345
+ .object({
6346
+ definitionId: z.literal(162),
6347
+ subject: zDeviceObservationValuesBatteryRouteSubject,
6348
+ })
6349
+ .strict(),
6350
+ z
6351
+ .object({
6352
+ definitionId: z.literal(163),
6353
+ subject: z.null().optional(),
6354
+ })
6355
+ .strict(),
6356
+ z
6357
+ .object({
6358
+ definitionId: z.literal(164),
6359
+ subject: z.null().optional(),
6360
+ })
6361
+ .strict(),
6274
6362
  ]);
6275
6363
  export const zAwsObservationSelection = z
6276
6364
  .object({
@@ -9004,7 +9092,7 @@ export const zDeviceSettings = z
9004
9092
  workflowDebugEnabled: z.boolean().optional(),
9005
9093
  i2cIdlePowerSavingEnabled: z.boolean().optional(),
9006
9094
  bleAdvertisingEnabled: z.boolean().optional(),
9007
- bleAdvertisingPower: z.union([z.literal(0), z.literal(1)]).optional(),
9095
+ bleAdvertisingRequiresExternalPower: z.boolean().optional(),
9008
9096
  bleAdvertisingIntervalUnits: z.int().gte(32).lte(16384).optional(),
9009
9097
  mode: z.string().optional(),
9010
9098
  poweredReportIntervalSeconds: z.int().gte(30).lte(86400).optional(),
@@ -9046,6 +9134,15 @@ export const zDeviceSettings = z
9046
9134
  chargingTemperatureColdStopRecoveryC: z.int().gte(1).lte(45).optional(),
9047
9135
  chargingTemperatureWarmLimitRecoveryC: z.int().gte(0).lte(44).optional(),
9048
9136
  chargingTemperatureHotStopRecoveryC: z.int().gte(0).lte(44).optional(),
9137
+ chargingLeaseSeconds: z.int().gte(1).lte(4294967295).optional(),
9138
+ wifiTimeoutSeconds: z.int().gte(1).lte(120).optional(),
9139
+ wifiScanActiveMinMs: z.int().gte(1).lte(1500).optional(),
9140
+ wifiScanActiveMaxMs: z.int().gte(1).lte(1500).optional(),
9141
+ wifiScanPassiveMs: z.int().gte(1).lte(1500).optional(),
9142
+ wifiScanChannelMask: z.int().gte(0).lte(16383).optional(),
9143
+ wifiScanBudgetMs: z.int().gte(100).lte(60000).optional(),
9144
+ wifiScanType: z.enum(["active", "passive"]).optional(),
9145
+ chargingStatusMaxAgeSeconds: z.int().gte(30).lte(86400).optional(),
9049
9146
  })
9050
9147
  .strict();
9051
9148
  export const zAwsSettingsWrite = z
@@ -9058,6 +9155,7 @@ export const zDeviceSettingsAutomaticDiagnosticsPower = z.enum([
9058
9155
  "any",
9059
9156
  "external",
9060
9157
  ]);
9158
+ export const zDeviceSettingsWifiScanType = z.enum(["active", "passive"]);
9061
9159
  /**
9062
9160
  * System booted
9063
9161
  *
@@ -11251,6 +11349,92 @@ export const zAwsBatteryCommunicationTimingReading = z.union([
11251
11349
  })
11252
11350
  .catchall(z.unknown()),
11253
11351
  ]);
11352
+ export const zAwsBatteryProtocolExchangeObservation = z
11353
+ .object({
11354
+ id: z.string(),
11355
+ definitionId: z.literal(162),
11356
+ subject: zReadDeviceObservationValuesBatteryRouteSubject,
11357
+ value: zDeviceBatteryProtocolExchangeValue,
11358
+ measuredAt: z.iso.datetime({ offset: true }),
11359
+ receivedAt: z.iso.datetime({ offset: true }),
11360
+ ageMs: z.int().gte(0).lte(9007199254740991),
11361
+ })
11362
+ .catchall(z.unknown());
11363
+ export const zAwsBatteryProtocolExchangeReading = z.union([
11364
+ z
11365
+ .object({
11366
+ series: z
11367
+ .object({
11368
+ definitionId: z.literal(162),
11369
+ subject: zReadDeviceObservationValuesBatteryRouteSubject,
11370
+ })
11371
+ .catchall(z.unknown()),
11372
+ observationId: z.string(),
11373
+ value: zDeviceBatteryProtocolExchangeValue,
11374
+ measuredAt: z.iso.datetime({ offset: true }),
11375
+ receivedAt: z.iso.datetime({ offset: true }),
11376
+ definitionId: z.literal(162),
11377
+ })
11378
+ .catchall(z.unknown()),
11379
+ z
11380
+ .object({
11381
+ series: z
11382
+ .object({
11383
+ definitionId: z.literal(162),
11384
+ subject: zReadDeviceObservationValuesBatteryRouteSubject,
11385
+ })
11386
+ .catchall(z.unknown()),
11387
+ observationId: z.null(),
11388
+ value: z.null(),
11389
+ measuredAt: z.null(),
11390
+ receivedAt: z.null(),
11391
+ definitionId: z.literal(162),
11392
+ })
11393
+ .catchall(z.unknown()),
11394
+ ]);
11395
+ export const zAwsBatteryProtocolIdentityObservation = z
11396
+ .object({
11397
+ id: z.string(),
11398
+ definitionId: z.literal(161),
11399
+ subject: zReadDeviceObservationValuesBatteryRouteSubject,
11400
+ value: zDeviceBatteryProtocolIdentityValue,
11401
+ measuredAt: z.iso.datetime({ offset: true }),
11402
+ receivedAt: z.iso.datetime({ offset: true }),
11403
+ ageMs: z.int().gte(0).lte(9007199254740991),
11404
+ })
11405
+ .catchall(z.unknown());
11406
+ export const zAwsBatteryProtocolIdentityReading = z.union([
11407
+ z
11408
+ .object({
11409
+ series: z
11410
+ .object({
11411
+ definitionId: z.literal(161),
11412
+ subject: zReadDeviceObservationValuesBatteryRouteSubject,
11413
+ })
11414
+ .catchall(z.unknown()),
11415
+ observationId: z.string(),
11416
+ value: zDeviceBatteryProtocolIdentityValue,
11417
+ measuredAt: z.iso.datetime({ offset: true }),
11418
+ receivedAt: z.iso.datetime({ offset: true }),
11419
+ definitionId: z.literal(161),
11420
+ })
11421
+ .catchall(z.unknown()),
11422
+ z
11423
+ .object({
11424
+ series: z
11425
+ .object({
11426
+ definitionId: z.literal(161),
11427
+ subject: zReadDeviceObservationValuesBatteryRouteSubject,
11428
+ })
11429
+ .catchall(z.unknown()),
11430
+ observationId: z.null(),
11431
+ value: z.null(),
11432
+ measuredAt: z.null(),
11433
+ receivedAt: z.null(),
11434
+ definitionId: z.literal(161),
11435
+ })
11436
+ .catchall(z.unknown()),
11437
+ ]);
11254
11438
  export const zReadDeviceObservationValuesModuleSubject = z
11255
11439
  .string()
11256
11440
  .min(1)
@@ -12103,6 +12287,160 @@ export const zAwsBatteryOperationFailedReading = z.union([
12103
12287
  })
12104
12288
  .catchall(z.unknown()),
12105
12289
  ]);
12290
+ /**
12291
+ * battery.updateHealth
12292
+ *
12293
+ * Operational verification after a completed MSP installation and LTE restart. Installation completion does not imply operational health. A failed health check never rearms image installation or consumes another flash attempt.
12294
+ */
12295
+ export const zDeviceBatteryUpdateHealthValue = z
12296
+ .object({
12297
+ requestId: z.int().gte(0).lte(4294967295),
12298
+ slot: z.int().gte(0).lte(31),
12299
+ target: zReadDeviceObservationValuesModuleSubject,
12300
+ imageInstalled: z.boolean(),
12301
+ state: z.enum(["operational", "failed", "unsupported"]),
12302
+ error: z.int().gte(-2147483648).lte(2147483647),
12303
+ bootGeneration: z.int().gte(0).lte(4294967295).nullable(),
12304
+ })
12305
+ .catchall(z.unknown());
12306
+ export const zAwsBatteryUpdateHealthObservation = z
12307
+ .object({
12308
+ id: z.string(),
12309
+ definitionId: z.literal(163),
12310
+ subject: z.null(),
12311
+ value: zDeviceBatteryUpdateHealthValue,
12312
+ measuredAt: z.iso.datetime({ offset: true }),
12313
+ receivedAt: z.iso.datetime({ offset: true }),
12314
+ ageMs: z.int().gte(0).lte(9007199254740991),
12315
+ })
12316
+ .catchall(z.unknown());
12317
+ export const zAwsBatteryUpdateHealthReading = z.union([
12318
+ z
12319
+ .object({
12320
+ series: z
12321
+ .object({
12322
+ definitionId: z.literal(163),
12323
+ subject: z.null().optional(),
12324
+ })
12325
+ .catchall(z.unknown()),
12326
+ observationId: z.string(),
12327
+ value: zDeviceBatteryUpdateHealthValue,
12328
+ measuredAt: z.iso.datetime({ offset: true }),
12329
+ receivedAt: z.iso.datetime({ offset: true }),
12330
+ definitionId: z.literal(163),
12331
+ })
12332
+ .catchall(z.unknown()),
12333
+ z
12334
+ .object({
12335
+ series: z
12336
+ .object({
12337
+ definitionId: z.literal(163),
12338
+ subject: z.null().optional(),
12339
+ })
12340
+ .catchall(z.unknown()),
12341
+ observationId: z.null(),
12342
+ value: z.null(),
12343
+ measuredAt: z.null(),
12344
+ receivedAt: z.null(),
12345
+ definitionId: z.literal(163),
12346
+ })
12347
+ .catchall(z.unknown()),
12348
+ ]);
12349
+ export const zDeviceObservationValuesChargingAllocationMember = z
12350
+ .object({
12351
+ slot: z.int().gte(0).lte(7),
12352
+ target: zReadDeviceObservationValuesModuleSubject.nullable(),
12353
+ requestedInputMa: z.int().gte(0).lte(800).nullable(),
12354
+ configuredInputMa: z.int().gte(0).lte(800).nullable(),
12355
+ outputAcknowledged: z.boolean(),
12356
+ stopUncertain: z.boolean(),
12357
+ faultCode: z.int().gte(0).lte(255),
12358
+ faultAttempts: z.int().gte(0).lte(255),
12359
+ faultGate: z.enum(["clear", "cooldown", "latched", "recheck"]),
12360
+ cooldownRemainingMs: z.int().gte(0).lte(9007199254740991).nullable(),
12361
+ })
12362
+ .catchall(z.unknown());
12363
+ /**
12364
+ * Charging allocation decisions
12365
+ *
12366
+ * LTE allocation intent and acknowledged output, not proof of actual current flow. Reports stopped fault gates and physical-identity power reservations, including unreachable modules and lost acknowledgements. Remaining durations freeze at capture; use observation age. A null reservation list is unavailable, not empty. Reads perform no UART I/O and never retire or renew a reservation.
12367
+ */
12368
+ export const zDeviceBatteryChargingAllocationsValue = z
12369
+ .object({
12370
+ inventoryConfirmed: z.boolean(),
12371
+ held: z.boolean(),
12372
+ inputBudgetMa: z.int().gte(0).lte(65535),
12373
+ maximumChargers: z.int().gte(0).lte(8),
12374
+ reason: z.enum([
12375
+ "none",
12376
+ "disabled",
12377
+ "detached",
12378
+ "unknownInput",
12379
+ "notReady",
12380
+ "communication",
12381
+ "stale",
12382
+ "thermal",
12383
+ "cable",
12384
+ "full",
12385
+ "overcurrent",
12386
+ "maintenance",
12387
+ "chargerFault",
12388
+ "allocationBudget",
12389
+ ]),
12390
+ modules: z
12391
+ .array(zDeviceObservationValuesChargingAllocationMember)
12392
+ .min(0)
12393
+ .max(8),
12394
+ reservations: z
12395
+ .array(zDeviceObservationValuesChargingPowerReservation)
12396
+ .min(0)
12397
+ .max(8)
12398
+ .nullable(),
12399
+ })
12400
+ .catchall(z.unknown());
12401
+ export const zAwsBatteryChargingAllocationsObservation = z
12402
+ .object({
12403
+ id: z.string(),
12404
+ definitionId: z.literal(164),
12405
+ subject: z.null(),
12406
+ value: zDeviceBatteryChargingAllocationsValue,
12407
+ measuredAt: z.iso.datetime({ offset: true }),
12408
+ receivedAt: z.iso.datetime({ offset: true }),
12409
+ ageMs: z.int().gte(0).lte(9007199254740991),
12410
+ })
12411
+ .catchall(z.unknown());
12412
+ export const zAwsBatteryChargingAllocationsReading = z.union([
12413
+ z
12414
+ .object({
12415
+ series: z
12416
+ .object({
12417
+ definitionId: z.literal(164),
12418
+ subject: z.null().optional(),
12419
+ })
12420
+ .catchall(z.unknown()),
12421
+ observationId: z.string(),
12422
+ value: zDeviceBatteryChargingAllocationsValue,
12423
+ measuredAt: z.iso.datetime({ offset: true }),
12424
+ receivedAt: z.iso.datetime({ offset: true }),
12425
+ definitionId: z.literal(164),
12426
+ })
12427
+ .catchall(z.unknown()),
12428
+ z
12429
+ .object({
12430
+ series: z
12431
+ .object({
12432
+ definitionId: z.literal(164),
12433
+ subject: z.null().optional(),
12434
+ })
12435
+ .catchall(z.unknown()),
12436
+ observationId: z.null(),
12437
+ value: z.null(),
12438
+ measuredAt: z.null(),
12439
+ receivedAt: z.null(),
12440
+ definitionId: z.literal(164),
12441
+ })
12442
+ .catchall(z.unknown()),
12443
+ ]);
12106
12444
  export const zDeviceObservationValuesChargingTransitionDetails = z
12107
12445
  .object({
12108
12446
  module: zReadDeviceObservationValuesModuleSubject.nullable(),
@@ -12316,6 +12654,10 @@ export const zAwsObservation = z.union([
12316
12654
  zAwsWorkflowExecutionObservation,
12317
12655
  zAwsBatteryModuleChargeCompletedObservation,
12318
12656
  zAwsBatteryModuleChargeRestedObservation,
12657
+ zAwsBatteryProtocolIdentityObservation,
12658
+ zAwsBatteryProtocolExchangeObservation,
12659
+ zAwsBatteryUpdateHealthObservation,
12660
+ zAwsBatteryChargingAllocationsObservation,
12319
12661
  ]);
12320
12662
  export const zAwsObservationPage = z
12321
12663
  .object({
@@ -12468,6 +12810,10 @@ export const zAwsObservationReading = z.union([
12468
12810
  zAwsWorkflowExecutionReading,
12469
12811
  zAwsBatteryModuleChargeCompletedReading,
12470
12812
  zAwsBatteryModuleChargeRestedReading,
12813
+ zAwsBatteryProtocolIdentityReading,
12814
+ zAwsBatteryProtocolExchangeReading,
12815
+ zAwsBatteryUpdateHealthReading,
12816
+ zAwsBatteryChargingAllocationsReading,
12471
12817
  ]);
12472
12818
  export const zDeviceObservationValues = z
12473
12819
  .object({
@@ -12615,6 +12961,10 @@ export const zDeviceObservationValues = z
12615
12961
  "workflow.execution": zDeviceWorkflowExecutionValue.optional(),
12616
12962
  "battery.module.chargeCompleted": zDeviceBatteryModuleChargeCompletedValue.optional(),
12617
12963
  "battery.module.chargeRested": zDeviceBatteryModuleChargeRestedValue.optional(),
12964
+ "battery.protocolIdentity": zDeviceBatteryProtocolIdentityValue.optional(),
12965
+ "battery.protocolExchange": zDeviceBatteryProtocolExchangeValue.optional(),
12966
+ "battery.updateHealth": zDeviceBatteryUpdateHealthValue.optional(),
12967
+ "battery.charging.allocations": zDeviceBatteryChargingAllocationsValue.optional(),
12618
12968
  })
12619
12969
  .catchall(z.unknown());
12620
12970
  export const zReadDeviceSettings = z
@@ -12664,7 +13014,7 @@ export const zReadDeviceSettings = z
12664
13014
  workflowDebugEnabled: z.boolean().optional(),
12665
13015
  i2cIdlePowerSavingEnabled: z.boolean().optional(),
12666
13016
  bleAdvertisingEnabled: z.boolean().optional(),
12667
- bleAdvertisingPower: z.union([z.literal(0), z.literal(1)]).optional(),
13017
+ bleAdvertisingRequiresExternalPower: z.boolean().optional(),
12668
13018
  bleAdvertisingIntervalUnits: z.int().gte(32).lte(16384).optional(),
12669
13019
  mode: z.string().optional(),
12670
13020
  poweredReportIntervalSeconds: z.int().gte(30).lte(86400).optional(),
@@ -12706,6 +13056,15 @@ export const zReadDeviceSettings = z
12706
13056
  chargingTemperatureColdStopRecoveryC: z.int().gte(1).lte(45).optional(),
12707
13057
  chargingTemperatureWarmLimitRecoveryC: z.int().gte(0).lte(44).optional(),
12708
13058
  chargingTemperatureHotStopRecoveryC: z.int().gte(0).lte(44).optional(),
13059
+ chargingLeaseSeconds: z.int().gte(1).lte(4294967295).optional(),
13060
+ wifiTimeoutSeconds: z.int().gte(1).lte(120).optional(),
13061
+ wifiScanActiveMinMs: z.int().gte(1).lte(1500).optional(),
13062
+ wifiScanActiveMaxMs: z.int().gte(1).lte(1500).optional(),
13063
+ wifiScanPassiveMs: z.int().gte(1).lte(1500).optional(),
13064
+ wifiScanChannelMask: z.int().gte(0).lte(16383).optional(),
13065
+ wifiScanBudgetMs: z.int().gte(100).lte(60000).optional(),
13066
+ wifiScanType: z.enum(["active", "passive"]).optional(),
13067
+ chargingStatusMaxAgeSeconds: z.int().gte(30).lte(86400).optional(),
12709
13068
  })
12710
13069
  .catchall(z.unknown());
12711
13070
  export const zAwsSettingsSnapshot = z
@@ -12727,6 +13086,51 @@ export const zAwsSettingsSnapshot = z
12727
13086
  readIssues: z.array(zAwsSettingsReadIssue),
12728
13087
  })
12729
13088
  .catchall(z.unknown());
13089
+ export const zSetTrackerSubscriptionBody = zAllocationChange;
13090
+ export const zSetTrackerSubscriptionPath = z.object({
13091
+ id: z.string(),
13092
+ });
13093
+ /**
13094
+ * No Content
13095
+ */
13096
+ export const zSetTrackerSubscriptionResponse = z.void();
13097
+ export const zSetStaffTrackerSubscriptionBody = zAllocationChange;
13098
+ export const zSetStaffTrackerSubscriptionPath = z.object({
13099
+ id: z.string(),
13100
+ });
13101
+ /**
13102
+ * No Content
13103
+ */
13104
+ export const zSetStaffTrackerSubscriptionResponse = z.void();
13105
+ export const zResolveTrackerAwsDevicePath = z.object({
13106
+ id: z.string(),
13107
+ });
13108
+ /**
13109
+ * OK
13110
+ */
13111
+ export const zResolveTrackerAwsDeviceResponse = zAwsDeviceIdentity;
13112
+ export const zUploadBatteryFirmwareBody = z.instanceof(Blob);
13113
+ export const zUploadBatteryFirmwarePath = z.object({
13114
+ id: z.string(),
13115
+ });
13116
+ export const zUploadBatteryFirmwareQuery = z.object({
13117
+ operationId: z.uuid(),
13118
+ expectedInventoryId: z.string(),
13119
+ moduleId: z.string(),
13120
+ version: z.string(),
13121
+ expectedBatteryInventoryObservationId: z.string(),
13122
+ });
13123
+ /**
13124
+ * OK
13125
+ */
13126
+ export const zUploadBatteryFirmwareResponse = zAwsCommand;
13127
+ export const zGetAwsSchemaPath = z.object({
13128
+ name: z.string(),
13129
+ });
13130
+ /**
13131
+ * OK
13132
+ */
13133
+ export const zGetAwsSchemaResponse = zJsonObject;
12730
13134
  export const zListTrackersQuery = z.object({
12731
13135
  limit: z.int().gte(1).lte(100).optional(),
12732
13136
  cursor: z.string().optional(),
@@ -13182,51 +13586,6 @@ export const zGetSubscriptionPath = z.object({
13182
13586
  * OK
13183
13587
  */
13184
13588
  export const zGetSubscriptionResponse = zSubscriptionDocument;
13185
- export const zSetTrackerSubscriptionBody = zAllocationChange;
13186
- export const zSetTrackerSubscriptionPath = z.object({
13187
- id: z.string(),
13188
- });
13189
- /**
13190
- * No Content
13191
- */
13192
- export const zSetTrackerSubscriptionResponse = z.void();
13193
- export const zSetStaffTrackerSubscriptionBody = zAllocationChange;
13194
- export const zSetStaffTrackerSubscriptionPath = z.object({
13195
- id: z.string(),
13196
- });
13197
- /**
13198
- * No Content
13199
- */
13200
- export const zSetStaffTrackerSubscriptionResponse = z.void();
13201
- export const zResolveTrackerAwsDevicePath = z.object({
13202
- id: z.string(),
13203
- });
13204
- /**
13205
- * OK
13206
- */
13207
- export const zResolveTrackerAwsDeviceResponse = zAwsDeviceIdentity;
13208
- export const zUploadBatteryFirmwareBody = z.instanceof(Blob);
13209
- export const zUploadBatteryFirmwarePath = z.object({
13210
- id: z.string(),
13211
- });
13212
- export const zUploadBatteryFirmwareQuery = z.object({
13213
- operationId: z.uuid(),
13214
- expectedInventoryId: z.string(),
13215
- moduleId: z.string(),
13216
- version: z.string(),
13217
- expectedBatteryInventoryObservationId: z.string(),
13218
- });
13219
- /**
13220
- * OK
13221
- */
13222
- export const zUploadBatteryFirmwareResponse = zAwsCommand;
13223
- export const zGetAwsSchemaPath = z.object({
13224
- name: z.string(),
13225
- });
13226
- /**
13227
- * OK
13228
- */
13229
- export const zGetAwsSchemaResponse = zJsonObject;
13230
13589
  /**
13231
13590
  * OK
13232
13591
  */