@camstack/core 0.1.21 → 0.1.23

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/index.mjs CHANGED
@@ -31,7 +31,7 @@ import { promisify } from "node:util";
31
31
  import { errMsg, parseJsonObject } from "@camstack/types";
32
32
  import * as vm from "node:vm";
33
33
  import * as os from "node:os";
34
- //#region ../types/dist/auth-records-DaPoK6Cr.mjs
34
+ //#region ../types/dist/auth-records-Bsjs9Xri.mjs
35
35
  var MODEL_FORMATS = [
36
36
  "onnx",
37
37
  "coreml",
@@ -4545,7 +4545,8 @@ var UserRoleSchema$1 = z.enum([
4545
4545
  "super_admin",
4546
4546
  "admin",
4547
4547
  "viewer",
4548
- "agent"
4548
+ "agent",
4549
+ "scoped"
4549
4550
  ]);
4550
4551
  var UserSummarySchema = z.object({
4551
4552
  id: z.string(),
@@ -5035,7 +5036,7 @@ method(z.void(), z.array(AddonListItemSchema).readonly()), method(z.object({
5035
5036
  addonId: z.string(),
5036
5037
  limit: z.number().min(1).max(500).default(100),
5037
5038
  level: LogLevelSchema.optional()
5038
- }), z.array(LogQueryEntrySchema), { auth: "admin" }), method(z.void(), z.array(InstalledPackageSchema).readonly()), method(z.object({
5039
+ }), z.array(LogQueryEntrySchema)), method(z.void(), z.array(InstalledPackageSchema).readonly()), method(z.object({
5039
5040
  packageName: z.string(),
5040
5041
  version: z.string().optional()
5041
5042
  }), InstallPackageResultSchema, {
@@ -5094,7 +5095,8 @@ var UserRoleSchema = z.enum([
5094
5095
  "super_admin",
5095
5096
  "admin",
5096
5097
  "viewer",
5097
- "agent"
5098
+ "agent",
5099
+ "scoped"
5098
5100
  ]);
5099
5101
  var AllowedProviderSchema = z.union([z.literal("*"), z.array(z.string())]);
5100
5102
  var AllowedDevicesSchema = z.record(z.string(), z.union([z.literal("*"), z.array(z.string())]));