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