@synnaxlabs/client 0.48.0 → 0.49.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.
Files changed (294) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/dist/client.cjs +31 -31
  3. package/dist/client.js +4836 -4644
  4. package/dist/src/access/client.d.ts +3 -1
  5. package/dist/src/access/client.d.ts.map +1 -1
  6. package/dist/src/access/enforce.d.ts +35 -0
  7. package/dist/src/access/enforce.d.ts.map +1 -0
  8. package/dist/src/access/enforce.spec.d.ts +2 -0
  9. package/dist/src/access/enforce.spec.d.ts.map +1 -0
  10. package/dist/src/access/external.d.ts +3 -0
  11. package/dist/src/access/external.d.ts.map +1 -1
  12. package/dist/src/access/payload.d.ts +0 -6
  13. package/dist/src/access/payload.d.ts.map +1 -1
  14. package/dist/src/access/policy/access.spec.d.ts +2 -0
  15. package/dist/src/access/policy/access.spec.d.ts.map +1 -0
  16. package/dist/src/access/policy/client.d.ts +485 -31
  17. package/dist/src/access/policy/client.d.ts.map +1 -1
  18. package/dist/src/access/policy/payload.d.ts +36 -113
  19. package/dist/src/access/policy/payload.d.ts.map +1 -1
  20. package/dist/src/access/role/client.d.ts +135 -0
  21. package/dist/src/access/role/client.d.ts.map +1 -0
  22. package/dist/src/access/role/external.d.ts.map +1 -0
  23. package/dist/src/access/role/index.d.ts +2 -0
  24. package/dist/src/access/role/index.d.ts.map +1 -0
  25. package/dist/src/access/role/payload.d.ts +27 -0
  26. package/dist/src/access/role/payload.d.ts.map +1 -0
  27. package/dist/src/access/role/role.spec.d.ts +2 -0
  28. package/dist/src/access/role/role.spec.d.ts.map +1 -0
  29. package/dist/src/arc/access.spec.d.ts +2 -0
  30. package/dist/src/arc/access.spec.d.ts.map +1 -0
  31. package/dist/src/arc/client.d.ts +5 -14
  32. package/dist/src/arc/client.d.ts.map +1 -1
  33. package/dist/src/arc/payload.d.ts +11 -2
  34. package/dist/src/arc/payload.d.ts.map +1 -1
  35. package/dist/src/auth/auth.d.ts +5 -3
  36. package/dist/src/auth/auth.d.ts.map +1 -1
  37. package/dist/src/channel/access.spec.d.ts +2 -0
  38. package/dist/src/channel/access.spec.d.ts.map +1 -0
  39. package/dist/src/channel/client.d.ts +0 -1
  40. package/dist/src/channel/client.d.ts.map +1 -1
  41. package/dist/src/channel/payload.d.ts +18 -8
  42. package/dist/src/channel/payload.d.ts.map +1 -1
  43. package/dist/src/channel/payload.spec.d.ts +2 -0
  44. package/dist/src/channel/payload.spec.d.ts.map +1 -0
  45. package/dist/src/channel/retriever.d.ts +4 -6
  46. package/dist/src/channel/retriever.d.ts.map +1 -1
  47. package/dist/src/channel/writer.d.ts.map +1 -1
  48. package/dist/src/client.d.ts +9 -5
  49. package/dist/src/client.d.ts.map +1 -1
  50. package/dist/src/device/access.spec.d.ts +2 -0
  51. package/dist/src/device/access.spec.d.ts.map +1 -0
  52. package/dist/src/{hardware/device → device}/client.d.ts +14 -7
  53. package/dist/src/device/client.d.ts.map +1 -0
  54. package/dist/src/device/device.spec.d.ts.map +1 -0
  55. package/dist/src/device/external.d.ts.map +1 -0
  56. package/dist/src/device/index.d.ts.map +1 -0
  57. package/dist/src/{hardware/device → device}/payload.d.ts +1 -1
  58. package/dist/src/device/payload.d.ts.map +1 -0
  59. package/dist/src/errors.d.ts +3 -0
  60. package/dist/src/errors.d.ts.map +1 -1
  61. package/dist/src/framer/client.d.ts +8 -1
  62. package/dist/src/framer/client.d.ts.map +1 -1
  63. package/dist/src/framer/frame.d.ts +10 -5
  64. package/dist/src/framer/frame.d.ts.map +1 -1
  65. package/dist/src/framer/iterator.d.ts +3 -3
  66. package/dist/src/framer/streamer.d.ts +24 -21
  67. package/dist/src/framer/streamer.d.ts.map +1 -1
  68. package/dist/src/framer/writer.d.ts +13 -13
  69. package/dist/src/index.d.ts +4 -5
  70. package/dist/src/index.d.ts.map +1 -1
  71. package/dist/src/label/access.spec.d.ts +2 -0
  72. package/dist/src/label/access.spec.d.ts.map +1 -0
  73. package/dist/src/label/client.d.ts +20 -11
  74. package/dist/src/label/client.d.ts.map +1 -1
  75. package/dist/src/ontology/client.d.ts +6 -6
  76. package/dist/src/ontology/client.d.ts.map +1 -1
  77. package/dist/src/ontology/group/access.spec.d.ts +2 -0
  78. package/dist/src/ontology/group/access.spec.d.ts.map +1 -0
  79. package/dist/src/ontology/group/client.d.ts +2 -2
  80. package/dist/src/ontology/group/client.d.ts.map +1 -1
  81. package/dist/src/ontology/group/payload.d.ts +1 -2
  82. package/dist/src/ontology/group/payload.d.ts.map +1 -1
  83. package/dist/src/ontology/payload.d.ts +23 -17
  84. package/dist/src/ontology/payload.d.ts.map +1 -1
  85. package/dist/src/ontology/writer.d.ts +10 -10
  86. package/dist/src/ontology/writer.d.ts.map +1 -1
  87. package/dist/src/rack/access.spec.d.ts +2 -0
  88. package/dist/src/rack/access.spec.d.ts.map +1 -0
  89. package/dist/src/{hardware/rack → rack}/client.d.ts +15 -8
  90. package/dist/src/rack/client.d.ts.map +1 -0
  91. package/dist/src/rack/external.d.ts.map +1 -0
  92. package/dist/src/rack/index.d.ts.map +1 -0
  93. package/dist/src/{hardware/rack → rack}/payload.d.ts +1 -1
  94. package/dist/src/rack/payload.d.ts.map +1 -0
  95. package/dist/src/rack/rack.spec.d.ts.map +1 -0
  96. package/dist/src/ranger/access.spec.d.ts +2 -0
  97. package/dist/src/ranger/access.spec.d.ts.map +1 -0
  98. package/dist/src/ranger/alias.d.ts +1 -8
  99. package/dist/src/ranger/alias.d.ts.map +1 -1
  100. package/dist/src/ranger/client.d.ts +12 -5
  101. package/dist/src/ranger/client.d.ts.map +1 -1
  102. package/dist/src/ranger/kv.d.ts +0 -3
  103. package/dist/src/ranger/kv.d.ts.map +1 -1
  104. package/dist/src/ranger/writer.d.ts +2 -2
  105. package/dist/src/ranger/writer.d.ts.map +1 -1
  106. package/dist/src/status/access.spec.d.ts +2 -0
  107. package/dist/src/status/access.spec.d.ts.map +1 -0
  108. package/dist/src/status/client.d.ts +4 -4
  109. package/dist/src/status/client.d.ts.map +1 -1
  110. package/dist/src/status/payload.d.ts +9 -2
  111. package/dist/src/status/payload.d.ts.map +1 -1
  112. package/dist/src/task/access.spec.d.ts +2 -0
  113. package/dist/src/task/access.spec.d.ts.map +1 -0
  114. package/dist/src/{hardware/task → task}/client.d.ts +26 -15
  115. package/dist/src/task/client.d.ts.map +1 -0
  116. package/dist/src/task/external.d.ts +3 -0
  117. package/dist/src/task/external.d.ts.map +1 -0
  118. package/dist/src/task/index.d.ts.map +1 -0
  119. package/dist/src/{hardware/task → task}/payload.d.ts +45 -6
  120. package/dist/src/task/payload.d.ts.map +1 -0
  121. package/dist/src/task/task.spec.d.ts.map +1 -0
  122. package/dist/src/testutil/access.d.ts +4 -0
  123. package/dist/src/testutil/access.d.ts.map +1 -0
  124. package/dist/src/transport.d.ts.map +1 -1
  125. package/dist/src/user/access.spec.d.ts +2 -0
  126. package/dist/src/user/access.spec.d.ts.map +1 -0
  127. package/dist/src/user/client.d.ts +10 -1
  128. package/dist/src/user/client.d.ts.map +1 -1
  129. package/dist/src/user/external.d.ts +1 -1
  130. package/dist/src/user/external.d.ts.map +1 -1
  131. package/dist/src/user/payload.d.ts.map +1 -1
  132. package/dist/src/workspace/access.spec.d.ts +2 -0
  133. package/dist/src/workspace/access.spec.d.ts.map +1 -0
  134. package/dist/src/workspace/client.d.ts +10 -5
  135. package/dist/src/workspace/client.d.ts.map +1 -1
  136. package/dist/src/workspace/lineplot/access.spec.d.ts +2 -0
  137. package/dist/src/workspace/lineplot/access.spec.d.ts.map +1 -0
  138. package/dist/src/workspace/lineplot/client.d.ts +8 -1
  139. package/dist/src/workspace/lineplot/client.d.ts.map +1 -1
  140. package/dist/src/workspace/log/access.spec.d.ts +2 -0
  141. package/dist/src/workspace/log/access.spec.d.ts.map +1 -0
  142. package/dist/src/workspace/log/client.d.ts +8 -1
  143. package/dist/src/workspace/log/client.d.ts.map +1 -1
  144. package/dist/src/workspace/schematic/access.spec.d.ts +2 -0
  145. package/dist/src/workspace/schematic/access.spec.d.ts.map +1 -0
  146. package/dist/src/workspace/schematic/client.d.ts +8 -1
  147. package/dist/src/workspace/schematic/client.d.ts.map +1 -1
  148. package/dist/src/workspace/schematic/symbol/access.spec.d.ts +2 -0
  149. package/dist/src/workspace/schematic/symbol/access.spec.d.ts.map +1 -0
  150. package/dist/src/workspace/schematic/symbol/client.d.ts +1 -5
  151. package/dist/src/workspace/schematic/symbol/client.d.ts.map +1 -1
  152. package/dist/src/workspace/schematic/symbol/payload.d.ts +2 -2
  153. package/dist/src/workspace/table/access.spec.d.ts +2 -0
  154. package/dist/src/workspace/table/access.spec.d.ts.map +1 -0
  155. package/dist/src/workspace/table/client.d.ts +8 -1
  156. package/dist/src/workspace/table/client.d.ts.map +1 -1
  157. package/package.json +3 -3
  158. package/src/access/client.ts +5 -2
  159. package/src/access/enforce.spec.ts +189 -0
  160. package/src/access/enforce.ts +84 -0
  161. package/src/access/external.ts +3 -0
  162. package/src/access/payload.ts +1 -13
  163. package/src/access/policy/access.spec.ts +147 -0
  164. package/src/access/policy/client.ts +21 -25
  165. package/src/access/policy/payload.ts +9 -5
  166. package/src/access/role/client.ts +135 -0
  167. package/src/access/role/external.ts +11 -0
  168. package/src/{hardware → access/role}/index.ts +1 -1
  169. package/src/access/role/payload.ts +32 -0
  170. package/src/access/role/role.spec.ts +95 -0
  171. package/src/arc/access.spec.ts +143 -0
  172. package/src/arc/client.ts +7 -31
  173. package/src/arc/payload.ts +4 -0
  174. package/src/auth/auth.ts +33 -11
  175. package/src/channel/access.spec.ts +116 -0
  176. package/src/channel/channel.spec.ts +63 -73
  177. package/src/channel/client.ts +2 -8
  178. package/src/channel/payload.spec.ts +171 -0
  179. package/src/channel/payload.ts +35 -7
  180. package/src/channel/retriever.ts +10 -11
  181. package/src/channel/writer.ts +3 -7
  182. package/src/client.ts +14 -18
  183. package/src/device/access.spec.ts +159 -0
  184. package/src/{hardware/device → device}/client.ts +12 -21
  185. package/src/{hardware/device → device}/device.spec.ts +70 -34
  186. package/src/device/external.ts +11 -0
  187. package/src/{hardware/rack → device}/index.ts +1 -1
  188. package/src/{hardware/device → device}/payload.ts +3 -3
  189. package/src/errors.ts +2 -0
  190. package/src/framer/adapter.spec.ts +14 -14
  191. package/src/framer/client.spec.ts +14 -20
  192. package/src/framer/client.ts +3 -5
  193. package/src/framer/deleter.spec.ts +1 -1
  194. package/src/framer/frame.spec.ts +131 -0
  195. package/src/framer/frame.ts +10 -2
  196. package/src/framer/iterator.ts +3 -3
  197. package/src/framer/streamer.spec.ts +100 -12
  198. package/src/framer/streamer.ts +29 -9
  199. package/src/framer/writer.spec.ts +5 -5
  200. package/src/index.ts +4 -5
  201. package/src/label/access.spec.ts +109 -0
  202. package/src/label/client.ts +10 -14
  203. package/src/ontology/client.ts +4 -6
  204. package/src/ontology/group/access.spec.ts +77 -0
  205. package/src/ontology/group/client.ts +3 -7
  206. package/src/ontology/group/group.spec.ts +18 -0
  207. package/src/ontology/group/payload.ts +2 -2
  208. package/src/ontology/ontology.spec.ts +2 -0
  209. package/src/ontology/payload.ts +18 -2
  210. package/src/ontology/writer.ts +3 -7
  211. package/src/rack/access.spec.ts +102 -0
  212. package/src/{hardware/rack → rack}/client.ts +14 -19
  213. package/src/{hardware/device/index.ts → rack/external.ts} +2 -1
  214. package/src/{hardware/external.ts → rack/index.ts} +1 -1
  215. package/src/{hardware/rack → rack}/payload.ts +2 -2
  216. package/src/{hardware/rack → rack}/rack.spec.ts +43 -17
  217. package/src/ranger/access.spec.ts +115 -0
  218. package/src/ranger/alias.ts +6 -14
  219. package/src/ranger/client.ts +13 -14
  220. package/src/ranger/kv.ts +7 -9
  221. package/src/ranger/ranger.spec.ts +4 -4
  222. package/src/ranger/writer.ts +3 -7
  223. package/src/status/access.spec.ts +129 -0
  224. package/src/status/client.ts +5 -9
  225. package/src/status/payload.ts +3 -2
  226. package/src/task/access.spec.ts +131 -0
  227. package/src/{hardware/task → task}/client.ts +50 -25
  228. package/src/task/external.ts +11 -0
  229. package/src/{hardware/task → task}/index.ts +1 -1
  230. package/src/{hardware/task → task}/payload.ts +22 -3
  231. package/src/{hardware/task → task}/task.spec.ts +197 -34
  232. package/src/testutil/access.ts +34 -0
  233. package/src/testutil/channels.ts +3 -3
  234. package/src/transport.ts +1 -3
  235. package/src/user/access.spec.ts +107 -0
  236. package/src/user/client.ts +10 -12
  237. package/src/user/external.ts +12 -1
  238. package/src/user/payload.ts +3 -5
  239. package/src/workspace/access.spec.ts +108 -0
  240. package/src/workspace/client.ts +11 -27
  241. package/src/workspace/lineplot/access.spec.ts +134 -0
  242. package/src/workspace/lineplot/client.ts +8 -13
  243. package/src/workspace/log/access.spec.ts +134 -0
  244. package/src/workspace/log/client.ts +8 -13
  245. package/src/workspace/schematic/access.spec.ts +134 -0
  246. package/src/workspace/schematic/client.ts +9 -18
  247. package/src/workspace/schematic/symbol/access.spec.ts +172 -0
  248. package/src/workspace/schematic/symbol/client.ts +6 -17
  249. package/src/workspace/schematic/symbol/payload.ts +1 -1
  250. package/src/workspace/table/access.spec.ts +134 -0
  251. package/src/workspace/table/client.ts +8 -13
  252. package/dist/src/access/policy/policy.spec.d.ts +0 -2
  253. package/dist/src/access/policy/policy.spec.d.ts.map +0 -1
  254. package/dist/src/hardware/client.d.ts +0 -10
  255. package/dist/src/hardware/client.d.ts.map +0 -1
  256. package/dist/src/hardware/device/client.d.ts.map +0 -1
  257. package/dist/src/hardware/device/device.spec.d.ts.map +0 -1
  258. package/dist/src/hardware/device/external.d.ts.map +0 -1
  259. package/dist/src/hardware/device/index.d.ts.map +0 -1
  260. package/dist/src/hardware/device/payload.d.ts.map +0 -1
  261. package/dist/src/hardware/external.d.ts +0 -2
  262. package/dist/src/hardware/external.d.ts.map +0 -1
  263. package/dist/src/hardware/index.d.ts +0 -2
  264. package/dist/src/hardware/index.d.ts.map +0 -1
  265. package/dist/src/hardware/rack/client.d.ts.map +0 -1
  266. package/dist/src/hardware/rack/external.d.ts.map +0 -1
  267. package/dist/src/hardware/rack/index.d.ts.map +0 -1
  268. package/dist/src/hardware/rack/payload.d.ts.map +0 -1
  269. package/dist/src/hardware/rack/rack.spec.d.ts.map +0 -1
  270. package/dist/src/hardware/task/client.d.ts.map +0 -1
  271. package/dist/src/hardware/task/external.d.ts.map +0 -1
  272. package/dist/src/hardware/task/index.d.ts.map +0 -1
  273. package/dist/src/hardware/task/payload.d.ts.map +0 -1
  274. package/dist/src/hardware/task/task.spec.d.ts.map +0 -1
  275. package/dist/src/user/retriever.d.ts +0 -16
  276. package/dist/src/user/retriever.d.ts.map +0 -1
  277. package/dist/src/user/writer.d.ts +0 -11
  278. package/dist/src/user/writer.d.ts.map +0 -1
  279. package/src/access/policy/policy.spec.ts +0 -329
  280. package/src/hardware/client.ts +0 -24
  281. package/src/hardware/device/external.ts +0 -11
  282. package/src/hardware/rack/external.ts +0 -11
  283. package/src/hardware/task/external.ts +0 -11
  284. package/src/user/retriever.ts +0 -41
  285. package/src/user/writer.ts +0 -84
  286. /package/dist/src/{hardware/device → access/role}/external.d.ts +0 -0
  287. /package/dist/src/{hardware/device → device}/device.spec.d.ts +0 -0
  288. /package/dist/src/{hardware/rack → device}/external.d.ts +0 -0
  289. /package/dist/src/{hardware/device → device}/index.d.ts +0 -0
  290. /package/dist/src/{hardware/task → rack}/external.d.ts +0 -0
  291. /package/dist/src/{hardware/rack → rack}/index.d.ts +0 -0
  292. /package/dist/src/{hardware/rack → rack}/rack.spec.d.ts +0 -0
  293. /package/dist/src/{hardware/task → task}/index.d.ts +0 -0
  294. /package/dist/src/{hardware/task → task}/task.spec.d.ts +0 -0
@@ -1,7 +1,8 @@
1
1
  import { UnaryClient } from '@synnaxlabs/freighter';
2
2
  import { z } from 'zod';
3
3
  import { Key, New, Policy } from './payload';
4
- import { ontology } from '../../ontology';
4
+ export declare const SET_CHANNEL_NAME = "sy_policy_set";
5
+ export declare const DELETE_CHANNEL_NAME = "sy_policy_delete";
5
6
  declare const keyRetrieveRequestZ: z.ZodPipe<z.ZodObject<{
6
7
  key: z.ZodUUID;
7
8
  }, z.core.$strip>, z.ZodTransform<{
@@ -15,7 +16,6 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
15
16
  status: "status";
16
17
  label: "label";
17
18
  log: "log";
18
- allow_all: "allow_all";
19
19
  builtin: "builtin";
20
20
  cluster: "cluster";
21
21
  channel: "channel";
@@ -32,29 +32,30 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
32
32
  device: "device";
33
33
  task: "task";
34
34
  policy: "policy";
35
+ role: "role";
35
36
  table: "table";
36
37
  arc: "arc";
37
38
  schematic_symbol: "schematic_symbol";
38
39
  }>;
39
40
  key: z.ZodString;
40
41
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
41
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
42
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
42
43
  key: string;
43
44
  }, string>>]>;
44
45
  }, z.core.$strip>, z.ZodTransform<{
45
46
  subjects: ({
46
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
47
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
47
48
  key: string;
48
49
  } | {
49
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
50
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
50
51
  key: string;
51
52
  })[];
52
53
  }, {
53
54
  for: {
54
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
55
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
55
56
  key: string;
56
57
  } | {
57
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
58
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
58
59
  key: string;
59
60
  };
60
61
  }>>, z.ZodPipe<z.ZodObject<{
@@ -63,7 +64,6 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
63
64
  status: "status";
64
65
  label: "label";
65
66
  log: "log";
66
- allow_all: "allow_all";
67
67
  builtin: "builtin";
68
68
  cluster: "cluster";
69
69
  channel: "channel";
@@ -80,29 +80,30 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
80
80
  device: "device";
81
81
  task: "task";
82
82
  policy: "policy";
83
+ role: "role";
83
84
  table: "table";
84
85
  arc: "arc";
85
86
  schematic_symbol: "schematic_symbol";
86
87
  }>;
87
88
  key: z.ZodString;
88
89
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
89
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
90
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
90
91
  key: string;
91
92
  }, string>>]>>;
92
93
  }, z.core.$strip>, z.ZodTransform<{
93
94
  subjects: ({
94
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
95
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
95
96
  key: string;
96
97
  } | {
97
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
98
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
98
99
  key: string;
99
100
  })[];
100
101
  }, {
101
102
  for: ({
102
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
103
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
103
104
  key: string;
104
105
  } | {
105
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
106
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
106
107
  key: string;
107
108
  })[];
108
109
  }>>, z.ZodObject<{
@@ -112,7 +113,6 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
112
113
  status: "status";
113
114
  label: "label";
114
115
  log: "log";
115
- allow_all: "allow_all";
116
116
  builtin: "builtin";
117
117
  cluster: "cluster";
118
118
  channel: "channel";
@@ -129,15 +129,19 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
129
129
  device: "device";
130
130
  task: "task";
131
131
  policy: "policy";
132
+ role: "role";
132
133
  table: "table";
133
134
  arc: "arc";
134
135
  schematic_symbol: "schematic_symbol";
135
136
  }>;
136
137
  key: z.ZodString;
137
138
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
138
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
139
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
139
140
  key: string;
140
141
  }, string>>]>>>;
142
+ limit: z.ZodOptional<z.ZodNumber>;
143
+ offset: z.ZodOptional<z.ZodNumber>;
144
+ internal: z.ZodOptional<z.ZodBoolean>;
141
145
  }, z.core.$strip>]>;
142
146
  export type RetrieveSingleParams = z.input<typeof keyRetrieveRequestZ>;
143
147
  export type RetrieveMultipleParams = z.input<typeof listRetrieveArgsZ>;
@@ -153,7 +157,6 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
153
157
  status: "status";
154
158
  label: "label";
155
159
  log: "log";
156
- allow_all: "allow_all";
157
160
  builtin: "builtin";
158
161
  cluster: "cluster";
159
162
  channel: "channel";
@@ -170,29 +173,30 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
170
173
  device: "device";
171
174
  task: "task";
172
175
  policy: "policy";
176
+ role: "role";
173
177
  table: "table";
174
178
  arc: "arc";
175
179
  schematic_symbol: "schematic_symbol";
176
180
  }>;
177
181
  key: z.ZodString;
178
182
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
179
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
183
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
180
184
  key: string;
181
185
  }, string>>]>;
182
186
  }, z.core.$strip>, z.ZodTransform<{
183
187
  subjects: ({
184
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
188
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
185
189
  key: string;
186
190
  } | {
187
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
191
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
188
192
  key: string;
189
193
  })[];
190
194
  }, {
191
195
  for: {
192
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
196
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
193
197
  key: string;
194
198
  } | {
195
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
199
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
196
200
  key: string;
197
201
  };
198
202
  }>>, z.ZodPipe<z.ZodObject<{
@@ -201,7 +205,6 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
201
205
  status: "status";
202
206
  label: "label";
203
207
  log: "log";
204
- allow_all: "allow_all";
205
208
  builtin: "builtin";
206
209
  cluster: "cluster";
207
210
  channel: "channel";
@@ -218,29 +221,30 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
218
221
  device: "device";
219
222
  task: "task";
220
223
  policy: "policy";
224
+ role: "role";
221
225
  table: "table";
222
226
  arc: "arc";
223
227
  schematic_symbol: "schematic_symbol";
224
228
  }>;
225
229
  key: z.ZodString;
226
230
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
227
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
231
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
228
232
  key: string;
229
233
  }, string>>]>>;
230
234
  }, z.core.$strip>, z.ZodTransform<{
231
235
  subjects: ({
232
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
236
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
233
237
  key: string;
234
238
  } | {
235
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
239
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
236
240
  key: string;
237
241
  })[];
238
242
  }, {
239
243
  for: ({
240
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
244
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
241
245
  key: string;
242
246
  } | {
243
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
247
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
244
248
  key: string;
245
249
  })[];
246
250
  }>>, z.ZodObject<{
@@ -250,7 +254,6 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
250
254
  status: "status";
251
255
  label: "label";
252
256
  log: "log";
253
- allow_all: "allow_all";
254
257
  builtin: "builtin";
255
258
  cluster: "cluster";
256
259
  channel: "channel";
@@ -267,17 +270,470 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
267
270
  device: "device";
268
271
  task: "task";
269
272
  policy: "policy";
273
+ role: "role";
270
274
  table: "table";
271
275
  arc: "arc";
272
276
  schematic_symbol: "schematic_symbol";
273
277
  }>;
274
278
  key: z.ZodString;
275
279
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
276
- type: "status" | "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "arc" | "schematic_symbol";
280
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
277
281
  key: string;
278
282
  }, string>>]>>>;
283
+ limit: z.ZodOptional<z.ZodNumber>;
284
+ offset: z.ZodOptional<z.ZodNumber>;
285
+ internal: z.ZodOptional<z.ZodBoolean>;
279
286
  }, z.core.$strip>]>]>;
280
287
  export type RetrieveArgs = z.input<typeof retrieveArgsZ>;
288
+ declare const singleCreateArgsZ: z.ZodPipe<z.ZodObject<{
289
+ key: z.ZodOptional<z.ZodUUID>;
290
+ name: z.ZodString;
291
+ objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
292
+ type: z.ZodEnum<{
293
+ status: "status";
294
+ label: "label";
295
+ log: "log";
296
+ builtin: "builtin";
297
+ cluster: "cluster";
298
+ channel: "channel";
299
+ node: "node";
300
+ group: "group";
301
+ range: "range";
302
+ framer: "framer";
303
+ "range-alias": "range-alias";
304
+ user: "user";
305
+ workspace: "workspace";
306
+ schematic: "schematic";
307
+ lineplot: "lineplot";
308
+ rack: "rack";
309
+ device: "device";
310
+ task: "task";
311
+ policy: "policy";
312
+ role: "role";
313
+ table: "table";
314
+ arc: "arc";
315
+ schematic_symbol: "schematic_symbol";
316
+ }>;
317
+ key: z.ZodString;
318
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
319
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
320
+ key: string;
321
+ }, string>>]>>, z.ZodPipe<z.ZodUnion<[z.ZodObject<{
322
+ type: z.ZodEnum<{
323
+ status: "status";
324
+ label: "label";
325
+ log: "log";
326
+ builtin: "builtin";
327
+ cluster: "cluster";
328
+ channel: "channel";
329
+ node: "node";
330
+ group: "group";
331
+ range: "range";
332
+ framer: "framer";
333
+ "range-alias": "range-alias";
334
+ user: "user";
335
+ workspace: "workspace";
336
+ schematic: "schematic";
337
+ lineplot: "lineplot";
338
+ rack: "rack";
339
+ device: "device";
340
+ task: "task";
341
+ policy: "policy";
342
+ role: "role";
343
+ table: "table";
344
+ arc: "arc";
345
+ schematic_symbol: "schematic_symbol";
346
+ }>;
347
+ key: z.ZodString;
348
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
349
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
350
+ key: string;
351
+ }, string>>]>, z.ZodTransform<({
352
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
353
+ key: string;
354
+ } | {
355
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
356
+ key: string;
357
+ })[], {
358
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
359
+ key: string;
360
+ } | {
361
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
362
+ key: string;
363
+ }>>]>;
364
+ actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
365
+ create: "create";
366
+ delete: "delete";
367
+ retrieve: "retrieve";
368
+ update: "update";
369
+ }>>, z.ZodPipe<z.ZodEnum<{
370
+ create: "create";
371
+ delete: "delete";
372
+ retrieve: "retrieve";
373
+ update: "update";
374
+ }>, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], "create" | "delete" | "retrieve" | "update">>]>;
375
+ }, z.core.$strip>, z.ZodTransform<{
376
+ policies: {
377
+ name: string;
378
+ objects: ({
379
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
380
+ key: string;
381
+ } | {
382
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
383
+ key: string;
384
+ })[];
385
+ actions: ("create" | "delete" | "retrieve" | "update")[];
386
+ key?: string | undefined;
387
+ }[];
388
+ }, {
389
+ name: string;
390
+ objects: ({
391
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
392
+ key: string;
393
+ } | {
394
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
395
+ key: string;
396
+ })[];
397
+ actions: ("create" | "delete" | "retrieve" | "update")[];
398
+ key?: string | undefined;
399
+ }>>;
400
+ export type SingleCreateArgs = z.input<typeof singleCreateArgsZ>;
401
+ export declare const multipleCreateArgsZ: z.ZodPipe<z.ZodArray<z.ZodObject<{
402
+ key: z.ZodOptional<z.ZodUUID>;
403
+ name: z.ZodString;
404
+ objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
405
+ type: z.ZodEnum<{
406
+ status: "status";
407
+ label: "label";
408
+ log: "log";
409
+ builtin: "builtin";
410
+ cluster: "cluster";
411
+ channel: "channel";
412
+ node: "node";
413
+ group: "group";
414
+ range: "range";
415
+ framer: "framer";
416
+ "range-alias": "range-alias";
417
+ user: "user";
418
+ workspace: "workspace";
419
+ schematic: "schematic";
420
+ lineplot: "lineplot";
421
+ rack: "rack";
422
+ device: "device";
423
+ task: "task";
424
+ policy: "policy";
425
+ role: "role";
426
+ table: "table";
427
+ arc: "arc";
428
+ schematic_symbol: "schematic_symbol";
429
+ }>;
430
+ key: z.ZodString;
431
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
432
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
433
+ key: string;
434
+ }, string>>]>>, z.ZodPipe<z.ZodUnion<[z.ZodObject<{
435
+ type: z.ZodEnum<{
436
+ status: "status";
437
+ label: "label";
438
+ log: "log";
439
+ builtin: "builtin";
440
+ cluster: "cluster";
441
+ channel: "channel";
442
+ node: "node";
443
+ group: "group";
444
+ range: "range";
445
+ framer: "framer";
446
+ "range-alias": "range-alias";
447
+ user: "user";
448
+ workspace: "workspace";
449
+ schematic: "schematic";
450
+ lineplot: "lineplot";
451
+ rack: "rack";
452
+ device: "device";
453
+ task: "task";
454
+ policy: "policy";
455
+ role: "role";
456
+ table: "table";
457
+ arc: "arc";
458
+ schematic_symbol: "schematic_symbol";
459
+ }>;
460
+ key: z.ZodString;
461
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
462
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
463
+ key: string;
464
+ }, string>>]>, z.ZodTransform<({
465
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
466
+ key: string;
467
+ } | {
468
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
469
+ key: string;
470
+ })[], {
471
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
472
+ key: string;
473
+ } | {
474
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
475
+ key: string;
476
+ }>>]>;
477
+ actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
478
+ create: "create";
479
+ delete: "delete";
480
+ retrieve: "retrieve";
481
+ update: "update";
482
+ }>>, z.ZodPipe<z.ZodEnum<{
483
+ create: "create";
484
+ delete: "delete";
485
+ retrieve: "retrieve";
486
+ update: "update";
487
+ }>, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], "create" | "delete" | "retrieve" | "update">>]>;
488
+ }, z.core.$strip>>, z.ZodTransform<{
489
+ policies: {
490
+ name: string;
491
+ objects: ({
492
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
493
+ key: string;
494
+ } | {
495
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
496
+ key: string;
497
+ })[];
498
+ actions: ("create" | "delete" | "retrieve" | "update")[];
499
+ key?: string | undefined;
500
+ }[];
501
+ }, {
502
+ name: string;
503
+ objects: ({
504
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
505
+ key: string;
506
+ } | {
507
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
508
+ key: string;
509
+ })[];
510
+ actions: ("create" | "delete" | "retrieve" | "update")[];
511
+ key?: string | undefined;
512
+ }[]>>;
513
+ export declare const createArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
514
+ key: z.ZodOptional<z.ZodUUID>;
515
+ name: z.ZodString;
516
+ objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
517
+ type: z.ZodEnum<{
518
+ status: "status";
519
+ label: "label";
520
+ log: "log";
521
+ builtin: "builtin";
522
+ cluster: "cluster";
523
+ channel: "channel";
524
+ node: "node";
525
+ group: "group";
526
+ range: "range";
527
+ framer: "framer";
528
+ "range-alias": "range-alias";
529
+ user: "user";
530
+ workspace: "workspace";
531
+ schematic: "schematic";
532
+ lineplot: "lineplot";
533
+ rack: "rack";
534
+ device: "device";
535
+ task: "task";
536
+ policy: "policy";
537
+ role: "role";
538
+ table: "table";
539
+ arc: "arc";
540
+ schematic_symbol: "schematic_symbol";
541
+ }>;
542
+ key: z.ZodString;
543
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
544
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
545
+ key: string;
546
+ }, string>>]>>, z.ZodPipe<z.ZodUnion<[z.ZodObject<{
547
+ type: z.ZodEnum<{
548
+ status: "status";
549
+ label: "label";
550
+ log: "log";
551
+ builtin: "builtin";
552
+ cluster: "cluster";
553
+ channel: "channel";
554
+ node: "node";
555
+ group: "group";
556
+ range: "range";
557
+ framer: "framer";
558
+ "range-alias": "range-alias";
559
+ user: "user";
560
+ workspace: "workspace";
561
+ schematic: "schematic";
562
+ lineplot: "lineplot";
563
+ rack: "rack";
564
+ device: "device";
565
+ task: "task";
566
+ policy: "policy";
567
+ role: "role";
568
+ table: "table";
569
+ arc: "arc";
570
+ schematic_symbol: "schematic_symbol";
571
+ }>;
572
+ key: z.ZodString;
573
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
574
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
575
+ key: string;
576
+ }, string>>]>, z.ZodTransform<({
577
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
578
+ key: string;
579
+ } | {
580
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
581
+ key: string;
582
+ })[], {
583
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
584
+ key: string;
585
+ } | {
586
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
587
+ key: string;
588
+ }>>]>;
589
+ actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
590
+ create: "create";
591
+ delete: "delete";
592
+ retrieve: "retrieve";
593
+ update: "update";
594
+ }>>, z.ZodPipe<z.ZodEnum<{
595
+ create: "create";
596
+ delete: "delete";
597
+ retrieve: "retrieve";
598
+ update: "update";
599
+ }>, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], "create" | "delete" | "retrieve" | "update">>]>;
600
+ }, z.core.$strip>, z.ZodTransform<{
601
+ policies: {
602
+ name: string;
603
+ objects: ({
604
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
605
+ key: string;
606
+ } | {
607
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
608
+ key: string;
609
+ })[];
610
+ actions: ("create" | "delete" | "retrieve" | "update")[];
611
+ key?: string | undefined;
612
+ }[];
613
+ }, {
614
+ name: string;
615
+ objects: ({
616
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
617
+ key: string;
618
+ } | {
619
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
620
+ key: string;
621
+ })[];
622
+ actions: ("create" | "delete" | "retrieve" | "update")[];
623
+ key?: string | undefined;
624
+ }>>, z.ZodPipe<z.ZodArray<z.ZodObject<{
625
+ key: z.ZodOptional<z.ZodUUID>;
626
+ name: z.ZodString;
627
+ objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
628
+ type: z.ZodEnum<{
629
+ status: "status";
630
+ label: "label";
631
+ log: "log";
632
+ builtin: "builtin";
633
+ cluster: "cluster";
634
+ channel: "channel";
635
+ node: "node";
636
+ group: "group";
637
+ range: "range";
638
+ framer: "framer";
639
+ "range-alias": "range-alias";
640
+ user: "user";
641
+ workspace: "workspace";
642
+ schematic: "schematic";
643
+ lineplot: "lineplot";
644
+ rack: "rack";
645
+ device: "device";
646
+ task: "task";
647
+ policy: "policy";
648
+ role: "role";
649
+ table: "table";
650
+ arc: "arc";
651
+ schematic_symbol: "schematic_symbol";
652
+ }>;
653
+ key: z.ZodString;
654
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
655
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
656
+ key: string;
657
+ }, string>>]>>, z.ZodPipe<z.ZodUnion<[z.ZodObject<{
658
+ type: z.ZodEnum<{
659
+ status: "status";
660
+ label: "label";
661
+ log: "log";
662
+ builtin: "builtin";
663
+ cluster: "cluster";
664
+ channel: "channel";
665
+ node: "node";
666
+ group: "group";
667
+ range: "range";
668
+ framer: "framer";
669
+ "range-alias": "range-alias";
670
+ user: "user";
671
+ workspace: "workspace";
672
+ schematic: "schematic";
673
+ lineplot: "lineplot";
674
+ rack: "rack";
675
+ device: "device";
676
+ task: "task";
677
+ policy: "policy";
678
+ role: "role";
679
+ table: "table";
680
+ arc: "arc";
681
+ schematic_symbol: "schematic_symbol";
682
+ }>;
683
+ key: z.ZodString;
684
+ }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
685
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
686
+ key: string;
687
+ }, string>>]>, z.ZodTransform<({
688
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
689
+ key: string;
690
+ } | {
691
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
692
+ key: string;
693
+ })[], {
694
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
695
+ key: string;
696
+ } | {
697
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
698
+ key: string;
699
+ }>>]>;
700
+ actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
701
+ create: "create";
702
+ delete: "delete";
703
+ retrieve: "retrieve";
704
+ update: "update";
705
+ }>>, z.ZodPipe<z.ZodEnum<{
706
+ create: "create";
707
+ delete: "delete";
708
+ retrieve: "retrieve";
709
+ update: "update";
710
+ }>, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], "create" | "delete" | "retrieve" | "update">>]>;
711
+ }, z.core.$strip>>, z.ZodTransform<{
712
+ policies: {
713
+ name: string;
714
+ objects: ({
715
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
716
+ key: string;
717
+ } | {
718
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
719
+ key: string;
720
+ })[];
721
+ actions: ("create" | "delete" | "retrieve" | "update")[];
722
+ key?: string | undefined;
723
+ }[];
724
+ }, {
725
+ name: string;
726
+ objects: ({
727
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
728
+ key: string;
729
+ } | {
730
+ type: "status" | "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol";
731
+ key: string;
732
+ })[];
733
+ actions: ("create" | "delete" | "retrieve" | "update")[];
734
+ key?: string | undefined;
735
+ }[]>>]>;
736
+ export type CreateArgs = z.input<typeof createArgsZ>;
281
737
  export declare class Client {
282
738
  private readonly client;
283
739
  constructor(client: UnaryClient);
@@ -288,7 +744,5 @@ export declare class Client {
288
744
  delete(key: Key): Promise<void>;
289
745
  delete(keys: Key[]): Promise<void>;
290
746
  }
291
- export declare const ontologyID: (key: Key) => ontology.ID;
292
- export declare const ALLOW_ALL_ONTOLOGY_ID: ontology.ID;
293
747
  export {};
294
748
  //# sourceMappingURL=client.d.ts.map