@camstack/types 0.1.37 → 0.1.39

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.
@@ -8382,6 +8382,18 @@ const TopologyProcessSchema = zod.z.object({
8382
8382
  services: zod.z.array(TopologyServiceSchema).readonly(),
8383
8383
  groupId: zod.z.string().optional()
8384
8384
  });
8385
+ const TopologyCategoryAddonSchema = zod.z.object({
8386
+ id: zod.z.string(),
8387
+ status: zod.z.string(),
8388
+ cpuPercent: zod.z.number(),
8389
+ memoryRss: zod.z.number()
8390
+ });
8391
+ const TopologyCategorySchema = zod.z.object({
8392
+ category: zod.z.string(),
8393
+ total: zod.z.number(),
8394
+ healthy: zod.z.number(),
8395
+ addons: zod.z.array(TopologyCategoryAddonSchema).readonly()
8396
+ });
8385
8397
  const TopologyNodeSchema = zod.z.object({
8386
8398
  id: zod.z.string(),
8387
8399
  name: zod.z.string(),
@@ -8406,7 +8418,15 @@ const TopologyNodeSchema = zod.z.object({
8406
8418
  status: zod.z.string()
8407
8419
  })
8408
8420
  ).readonly(),
8409
- processes: zod.z.array(TopologyProcessSchema).readonly()
8421
+ processes: zod.z.array(TopologyProcessSchema).readonly(),
8422
+ categories: zod.z.array(TopologyCategorySchema).readonly()
8423
+ });
8424
+ const CapUsageEdgeSchema = zod.z.object({
8425
+ callerAddonId: zod.z.string(),
8426
+ providerAddonId: zod.z.string(),
8427
+ capName: zod.z.string(),
8428
+ callsPerMin: zod.z.number(),
8429
+ lastCallAtMs: zod.z.number()
8410
8430
  });
8411
8431
  const ClusterAddonNodeDeploymentSchema = zod.z.object({
8412
8432
  nodeId: zod.z.string(),
@@ -8494,13 +8514,7 @@ const nodesCapability = {
8494
8514
  zod.z.object({
8495
8515
  windowSeconds: zod.z.number().int().positive().max(300).default(60)
8496
8516
  }),
8497
- zod.z.array(zod.z.object({
8498
- callerAddonId: zod.z.string(),
8499
- providerAddonId: zod.z.string(),
8500
- capName: zod.z.string(),
8501
- callsPerMin: zod.z.number(),
8502
- lastCallAtMs: zod.z.number()
8503
- })).readonly(),
8517
+ zod.z.array(CapUsageEdgeSchema).readonly(),
8504
8518
  { auth: "admin" }
8505
8519
  ),
8506
8520
  /**
@@ -9443,4 +9457,4 @@ exports.webrtcSessionCapability = webrtcSessionCapability;
9443
9457
  exports.zoneAnalyticsCapability = zoneAnalyticsCapability;
9444
9458
  exports.zoneRulesCapability = zoneRulesCapability;
9445
9459
  exports.zonesCapability = zonesCapability;
9446
- //# sourceMappingURL=index-BblD92Si.js.map
9460
+ //# sourceMappingURL=index-CMM1Y9W6.js.map