@synnaxlabs/client 0.45.1 → 0.46.1

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 (164) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/dist/access/policy/client.d.ts +38 -26
  3. package/dist/access/policy/client.d.ts.map +1 -1
  4. package/dist/access/policy/payload.d.ts +22 -10
  5. package/dist/access/policy/payload.d.ts.map +1 -1
  6. package/dist/arc/client.d.ts +72 -0
  7. package/dist/arc/client.d.ts.map +1 -0
  8. package/dist/arc/external.d.ts +3 -0
  9. package/dist/arc/external.d.ts.map +1 -0
  10. package/dist/arc/index.d.ts +2 -0
  11. package/dist/arc/index.d.ts.map +1 -0
  12. package/dist/arc/payload.d.ts +155 -0
  13. package/dist/arc/payload.d.ts.map +1 -0
  14. package/dist/channel/client.d.ts +2 -3
  15. package/dist/channel/client.d.ts.map +1 -1
  16. package/dist/channel/payload.d.ts +23 -63
  17. package/dist/channel/payload.d.ts.map +1 -1
  18. package/dist/channel/retriever.d.ts.map +1 -1
  19. package/dist/client.cjs +44 -25
  20. package/dist/client.d.ts +5 -1
  21. package/dist/client.d.ts.map +1 -1
  22. package/dist/client.js +7479 -4756
  23. package/dist/framer/client.d.ts +2 -2
  24. package/dist/framer/client.d.ts.map +1 -1
  25. package/dist/framer/deleter.d.ts +2 -2
  26. package/dist/framer/frame.d.ts +2 -2
  27. package/dist/framer/streamer.d.ts +42 -56
  28. package/dist/framer/streamer.d.ts.map +1 -1
  29. package/dist/framer/writer.d.ts +45 -43
  30. package/dist/framer/writer.d.ts.map +1 -1
  31. package/dist/hardware/device/client.d.ts +5 -6
  32. package/dist/hardware/device/client.d.ts.map +1 -1
  33. package/dist/hardware/device/payload.d.ts +83 -18
  34. package/dist/hardware/device/payload.d.ts.map +1 -1
  35. package/dist/hardware/rack/client.d.ts +4 -5
  36. package/dist/hardware/rack/client.d.ts.map +1 -1
  37. package/dist/hardware/rack/payload.d.ts +81 -17
  38. package/dist/hardware/rack/payload.d.ts.map +1 -1
  39. package/dist/hardware/task/client.d.ts +67 -12
  40. package/dist/hardware/task/client.d.ts.map +1 -1
  41. package/dist/hardware/task/payload.d.ts +18 -51
  42. package/dist/hardware/task/payload.d.ts.map +1 -1
  43. package/dist/index.d.ts +3 -1
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/label/client.d.ts +14 -9
  46. package/dist/label/client.d.ts.map +1 -1
  47. package/dist/label/payload.d.ts +10 -11
  48. package/dist/label/payload.d.ts.map +1 -1
  49. package/dist/ontology/client.d.ts +7 -3
  50. package/dist/ontology/client.d.ts.map +1 -1
  51. package/dist/ontology/group/client.d.ts +45 -9
  52. package/dist/ontology/group/client.d.ts.map +1 -1
  53. package/dist/ontology/group/external.d.ts +0 -1
  54. package/dist/ontology/group/external.d.ts.map +1 -1
  55. package/dist/ontology/group/payload.d.ts +3 -1
  56. package/dist/ontology/group/payload.d.ts.map +1 -1
  57. package/dist/ontology/payload.d.ts +30 -17
  58. package/dist/ontology/payload.d.ts.map +1 -1
  59. package/dist/ontology/writer.d.ts +161 -0
  60. package/dist/ontology/writer.d.ts.map +1 -1
  61. package/dist/ranger/alias.d.ts +1 -1
  62. package/dist/ranger/alias.d.ts.map +1 -1
  63. package/dist/ranger/client.d.ts +9 -8
  64. package/dist/ranger/client.d.ts.map +1 -1
  65. package/dist/ranger/kv.d.ts.map +1 -1
  66. package/dist/ranger/payload.d.ts +5 -5
  67. package/dist/ranger/payload.d.ts.map +1 -1
  68. package/dist/ranger/writer.d.ts +6 -4
  69. package/dist/ranger/writer.d.ts.map +1 -1
  70. package/dist/status/client.d.ts +63 -0
  71. package/dist/status/client.d.ts.map +1 -0
  72. package/dist/status/external.d.ts +3 -0
  73. package/dist/status/external.d.ts.map +1 -0
  74. package/dist/status/index.d.ts +2 -0
  75. package/dist/status/index.d.ts.map +1 -0
  76. package/dist/status/payload.d.ts +32 -0
  77. package/dist/status/payload.d.ts.map +1 -0
  78. package/dist/status/status.spec.d.ts +2 -0
  79. package/dist/status/status.spec.d.ts.map +1 -0
  80. package/dist/user/client.d.ts.map +1 -1
  81. package/dist/user/retriever.d.ts.map +1 -1
  82. package/dist/workspace/client.d.ts +11 -6
  83. package/dist/workspace/client.d.ts.map +1 -1
  84. package/dist/workspace/lineplot/client.d.ts +28 -5
  85. package/dist/workspace/lineplot/client.d.ts.map +1 -1
  86. package/dist/workspace/lineplot/index.d.ts +1 -1
  87. package/dist/workspace/log/client.d.ts +28 -5
  88. package/dist/workspace/log/client.d.ts.map +1 -1
  89. package/dist/workspace/schematic/client.d.ts +35 -6
  90. package/dist/workspace/schematic/client.d.ts.map +1 -1
  91. package/dist/workspace/schematic/symbol/client.d.ts +6 -7
  92. package/dist/workspace/schematic/symbol/client.d.ts.map +1 -1
  93. package/dist/workspace/table/client.d.ts +28 -5
  94. package/dist/workspace/table/client.d.ts.map +1 -1
  95. package/examples/node/package-lock.json +30 -95
  96. package/examples/node/package.json +1 -1
  97. package/package.json +10 -10
  98. package/src/access/policy/client.ts +5 -6
  99. package/src/access/policy/payload.ts +4 -4
  100. package/src/access/policy/policy.spec.ts +4 -4
  101. package/src/arc/client.ts +117 -0
  102. package/src/{util/zod.ts → arc/external.ts} +2 -7
  103. package/src/arc/index.ts +10 -0
  104. package/src/arc/payload.ts +69 -0
  105. package/src/channel/client.ts +3 -4
  106. package/src/channel/payload.ts +4 -6
  107. package/src/channel/retriever.ts +2 -2
  108. package/src/client.ts +8 -2
  109. package/src/errors.spec.ts +1 -1
  110. package/src/framer/client.ts +4 -3
  111. package/src/framer/codec.spec.ts +1 -1
  112. package/src/hardware/device/client.ts +6 -8
  113. package/src/hardware/device/payload.ts +7 -6
  114. package/src/hardware/rack/client.ts +6 -8
  115. package/src/hardware/rack/payload.ts +2 -1
  116. package/src/hardware/task/client.ts +142 -100
  117. package/src/hardware/task/payload.ts +4 -4
  118. package/src/hardware/task/task.spec.ts +53 -2
  119. package/src/index.ts +3 -1
  120. package/src/label/client.ts +5 -8
  121. package/src/label/payload.ts +6 -11
  122. package/src/ontology/client.ts +3 -3
  123. package/src/ontology/group/client.ts +51 -18
  124. package/src/ontology/group/external.ts +0 -1
  125. package/src/ontology/group/group.spec.ts +6 -5
  126. package/src/ontology/group/payload.ts +5 -1
  127. package/src/ontology/ontology.spec.ts +88 -21
  128. package/src/ontology/payload.ts +15 -6
  129. package/src/ontology/writer.ts +3 -5
  130. package/src/ranger/alias.ts +2 -2
  131. package/src/ranger/client.ts +7 -3
  132. package/src/ranger/kv.ts +1 -2
  133. package/src/ranger/payload.ts +13 -1
  134. package/src/ranger/ranger.spec.ts +65 -1
  135. package/src/status/client.ts +129 -0
  136. package/src/status/external.ts +11 -0
  137. package/src/status/index.ts +10 -0
  138. package/src/status/payload.ts +35 -0
  139. package/src/status/status.spec.ts +352 -0
  140. package/src/user/client.ts +1 -2
  141. package/src/user/payload.ts +1 -1
  142. package/src/user/retriever.ts +2 -2
  143. package/src/user/user.spec.ts +41 -41
  144. package/src/workspace/client.ts +18 -15
  145. package/src/workspace/lineplot/client.ts +27 -13
  146. package/src/workspace/lineplot/index.ts +1 -1
  147. package/src/workspace/lineplot/lineplot.spec.ts +13 -10
  148. package/src/workspace/log/client.ts +26 -12
  149. package/src/workspace/log/log.spec.ts +13 -10
  150. package/src/workspace/payload.ts +1 -1
  151. package/src/workspace/schematic/client.ts +42 -17
  152. package/src/workspace/schematic/schematic.spec.ts +29 -25
  153. package/src/workspace/schematic/symbol/client.spec.ts +27 -24
  154. package/src/workspace/schematic/symbol/client.ts +6 -9
  155. package/src/workspace/table/client.ts +26 -12
  156. package/src/workspace/table/table.spec.ts +13 -10
  157. package/dist/ontology/group/group.d.ts +0 -10
  158. package/dist/ontology/group/group.d.ts.map +0 -1
  159. package/dist/ontology/group/writer.d.ts +0 -14
  160. package/dist/ontology/group/writer.d.ts.map +0 -1
  161. package/dist/util/zod.d.ts +0 -3
  162. package/dist/util/zod.d.ts.map +0 -1
  163. package/src/ontology/group/group.ts +0 -27
  164. package/src/ontology/group/writer.ts +0 -71
@@ -1,17 +1,17 @@
1
1
 
2
- > @synnaxlabs/client@0.45.1 build /home/runner/work/synnax/synnax/client/ts
2
+ > @synnaxlabs/client@0.46.1 build /home/runner/work/synnax/synnax/client/ts
3
3
  > tsc --noEmit && vite build
4
4
 
5
5
   Synnax - Production mode
6
- vite v7.0.4 building for production...
6
+ vite v7.1.5 building for production...
7
7
  transforming...
8
- ✓ 141 modules transformed.
8
+ ✓ 218 modules transformed.
9
9
  rendering chunks...
10
10
 
11
11
  [vite:dts] Start generate declaration files...
12
12
  computing gzip size...
13
- dist/client.js 374.86 kB │ gzip: 88.23 kB
14
- [vite:dts] Declaration files built in 4588ms.
13
+ dist/client.js 460.57 kB │ gzip: 107.67 kB
14
+ [vite:dts] Declaration files built in 5243ms.
15
15
 
16
- dist/client.cjs 209.00 kB │ gzip: 59.72 kB
17
- ✓ built in 5.71s
16
+ dist/client.cjs 270.80 kB │ gzip: 76.75 kB
17
+ ✓ built in 6.77s
@@ -12,6 +12,7 @@ declare const keyRetrieveRequestZ: z.ZodPipe<z.ZodObject<{
12
12
  declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
13
13
  for: z.ZodUnion<[z.ZodObject<{
14
14
  type: z.ZodEnum<{
15
+ status: "status";
15
16
  label: "label";
16
17
  log: "log";
17
18
  allow_all: "allow_all";
@@ -32,32 +33,34 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
32
33
  task: "task";
33
34
  policy: "policy";
34
35
  table: "table";
36
+ arc: "arc";
35
37
  schematic_symbol: "schematic_symbol";
36
38
  }>;
37
39
  key: z.ZodString;
38
40
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
39
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
40
42
  key: string;
41
43
  }, string>>]>;
42
44
  }, z.core.$strip>, z.ZodTransform<{
43
45
  subjects: ({
44
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
45
47
  key: string;
46
48
  } | {
47
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
48
50
  key: string;
49
51
  })[];
50
52
  }, {
51
53
  for: {
52
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
53
55
  key: string;
54
56
  } | {
55
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
56
58
  key: string;
57
59
  };
58
60
  }>>, z.ZodPipe<z.ZodObject<{
59
61
  for: z.ZodArray<z.ZodUnion<[z.ZodObject<{
60
62
  type: z.ZodEnum<{
63
+ status: "status";
61
64
  label: "label";
62
65
  log: "log";
63
66
  allow_all: "allow_all";
@@ -78,33 +81,35 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
78
81
  task: "task";
79
82
  policy: "policy";
80
83
  table: "table";
84
+ arc: "arc";
81
85
  schematic_symbol: "schematic_symbol";
82
86
  }>;
83
87
  key: z.ZodString;
84
88
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
85
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
86
90
  key: string;
87
91
  }, string>>]>>;
88
92
  }, z.core.$strip>, z.ZodTransform<{
89
93
  subjects: ({
90
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
91
95
  key: string;
92
96
  } | {
93
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
94
98
  key: string;
95
99
  })[];
96
100
  }, {
97
101
  for: ({
98
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
99
103
  key: string;
100
104
  } | {
101
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
102
106
  key: string;
103
107
  })[];
104
108
  }>>, z.ZodObject<{
105
109
  keys: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
106
110
  subjects: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
107
111
  type: z.ZodEnum<{
112
+ status: "status";
108
113
  label: "label";
109
114
  log: "log";
110
115
  allow_all: "allow_all";
@@ -125,16 +130,17 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
125
130
  task: "task";
126
131
  policy: "policy";
127
132
  table: "table";
133
+ arc: "arc";
128
134
  schematic_symbol: "schematic_symbol";
129
135
  }>;
130
136
  key: z.ZodString;
131
137
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
132
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
133
139
  key: string;
134
140
  }, string>>]>>>;
135
141
  }, z.core.$strip>]>;
136
- export type SingleRetrieveArgs = z.input<typeof keyRetrieveRequestZ>;
137
- export type ListRetrieveArgs = z.input<typeof listRetrieveArgsZ>;
142
+ export type RetrieveSingleParams = z.input<typeof keyRetrieveRequestZ>;
143
+ export type RetrieveMultipleParams = z.input<typeof listRetrieveArgsZ>;
138
144
  declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
139
145
  key: z.ZodUUID;
140
146
  }, z.core.$strip>, z.ZodTransform<{
@@ -144,6 +150,7 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
144
150
  }>>, z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
145
151
  for: z.ZodUnion<[z.ZodObject<{
146
152
  type: z.ZodEnum<{
153
+ status: "status";
147
154
  label: "label";
148
155
  log: "log";
149
156
  allow_all: "allow_all";
@@ -164,32 +171,34 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
164
171
  task: "task";
165
172
  policy: "policy";
166
173
  table: "table";
174
+ arc: "arc";
167
175
  schematic_symbol: "schematic_symbol";
168
176
  }>;
169
177
  key: z.ZodString;
170
178
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
171
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
172
180
  key: string;
173
181
  }, string>>]>;
174
182
  }, z.core.$strip>, z.ZodTransform<{
175
183
  subjects: ({
176
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
177
185
  key: string;
178
186
  } | {
179
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
180
188
  key: string;
181
189
  })[];
182
190
  }, {
183
191
  for: {
184
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
185
193
  key: string;
186
194
  } | {
187
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
188
196
  key: string;
189
197
  };
190
198
  }>>, z.ZodPipe<z.ZodObject<{
191
199
  for: z.ZodArray<z.ZodUnion<[z.ZodObject<{
192
200
  type: z.ZodEnum<{
201
+ status: "status";
193
202
  label: "label";
194
203
  log: "log";
195
204
  allow_all: "allow_all";
@@ -210,33 +219,35 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
210
219
  task: "task";
211
220
  policy: "policy";
212
221
  table: "table";
222
+ arc: "arc";
213
223
  schematic_symbol: "schematic_symbol";
214
224
  }>;
215
225
  key: z.ZodString;
216
226
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
217
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
218
228
  key: string;
219
229
  }, string>>]>>;
220
230
  }, z.core.$strip>, z.ZodTransform<{
221
231
  subjects: ({
222
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
223
233
  key: string;
224
234
  } | {
225
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
226
236
  key: string;
227
237
  })[];
228
238
  }, {
229
239
  for: ({
230
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
231
241
  key: string;
232
242
  } | {
233
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
234
244
  key: string;
235
245
  })[];
236
246
  }>>, z.ZodObject<{
237
247
  keys: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
238
248
  subjects: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
239
249
  type: z.ZodEnum<{
250
+ status: "status";
240
251
  label: "label";
241
252
  log: "log";
242
253
  allow_all: "allow_all";
@@ -257,11 +268,12 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
257
268
  task: "task";
258
269
  policy: "policy";
259
270
  table: "table";
271
+ arc: "arc";
260
272
  schematic_symbol: "schematic_symbol";
261
273
  }>;
262
274
  key: z.ZodString;
263
275
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
264
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
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";
265
277
  key: string;
266
278
  }, string>>]>>>;
267
279
  }, z.core.$strip>]>]>;
@@ -271,8 +283,8 @@ export declare class Client {
271
283
  constructor(client: UnaryClient);
272
284
  create(policy: New): Promise<Policy>;
273
285
  create(policies: New[]): Promise<Policy[]>;
274
- retrieve(args: SingleRetrieveArgs): Promise<Policy>;
275
- retrieve(args: ListRetrieveArgs): Promise<Policy[]>;
286
+ retrieve(args: RetrieveSingleParams): Promise<Policy>;
287
+ retrieve(args: RetrieveMultipleParams): Promise<Policy[]>;
276
288
  delete(key: Key): Promise<void>;
277
289
  delete(keys: Key[]): Promise<void>;
278
290
  }
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/access/policy/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,MAAM,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQtC,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAQrB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAoD,CAAC;AAExE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAazD,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IACpC,MAAM,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB1C,QAAQ,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAanD,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAC/B,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAUzC;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,GAAG,KAAG,QAAQ,CAAC,EAA+B,CAAC;AAE/E,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,EAG5C,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/access/policy/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,MAAM,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAOtC,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAQrB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEvE,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAoD,CAAC;AAExE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAazD,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IACpC,MAAM,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB1C,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;IACrD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAazD,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAC/B,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAUzC;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,GAAG,KAAG,QAAQ,CAAC,EAA+B,CAAC;AAE/E,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,EAG5C,CAAC"}
@@ -4,13 +4,14 @@ export type Key = z.infer<typeof keyZ>;
4
4
  export declare const policyZ: z.ZodObject<{
5
5
  key: z.ZodUUID;
6
6
  subjects: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<({
7
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
7
+ 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";
8
8
  key: string;
9
9
  } | {
10
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
10
+ 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";
11
11
  key: string;
12
12
  })[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
13
13
  type: z.ZodEnum<{
14
+ status: "status";
14
15
  label: "label";
15
16
  log: "log";
16
17
  allow_all: "allow_all";
@@ -31,21 +32,23 @@ export declare const policyZ: z.ZodObject<{
31
32
  task: "task";
32
33
  policy: "policy";
33
34
  table: "table";
35
+ arc: "arc";
34
36
  schematic_symbol: "schematic_symbol";
35
37
  }>;
36
38
  key: z.ZodString;
37
39
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
38
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
40
+ 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";
39
41
  key: string;
40
42
  }, string>>]>>]>;
41
43
  objects: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<({
42
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
44
+ 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";
43
45
  key: string;
44
46
  } | {
45
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
47
+ 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";
46
48
  key: string;
47
49
  })[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
48
50
  type: z.ZodEnum<{
51
+ status: "status";
49
52
  label: "label";
50
53
  log: "log";
51
54
  allow_all: "allow_all";
@@ -66,11 +69,12 @@ export declare const policyZ: z.ZodObject<{
66
69
  task: "task";
67
70
  policy: "policy";
68
71
  table: "table";
72
+ arc: "arc";
69
73
  schematic_symbol: "schematic_symbol";
70
74
  }>;
71
75
  key: z.ZodString;
72
76
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
73
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
77
+ 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";
74
78
  key: string;
75
79
  }, string>>]>>]>;
76
80
  actions: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<("all" | "create" | "delete" | "retrieve" | "update")[], null | undefined>>, z.ZodArray<z.ZodEnum<{
@@ -87,6 +91,7 @@ export declare const newZ: z.ZodObject<{
87
91
  key: z.ZodOptional<z.ZodUUID>;
88
92
  subjects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
89
93
  type: z.ZodEnum<{
94
+ status: "status";
90
95
  label: "label";
91
96
  log: "log";
92
97
  allow_all: "allow_all";
@@ -107,14 +112,16 @@ export declare const newZ: z.ZodObject<{
107
112
  task: "task";
108
113
  policy: "policy";
109
114
  table: "table";
115
+ arc: "arc";
110
116
  schematic_symbol: "schematic_symbol";
111
117
  }>;
112
118
  key: z.ZodString;
113
119
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
114
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
120
+ 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";
115
121
  key: string;
116
122
  }, string>>]>>, z.ZodUnion<[z.ZodObject<{
117
123
  type: z.ZodEnum<{
124
+ status: "status";
118
125
  label: "label";
119
126
  log: "log";
120
127
  allow_all: "allow_all";
@@ -135,15 +142,17 @@ export declare const newZ: z.ZodObject<{
135
142
  task: "task";
136
143
  policy: "policy";
137
144
  table: "table";
145
+ arc: "arc";
138
146
  schematic_symbol: "schematic_symbol";
139
147
  }>;
140
148
  key: z.ZodString;
141
149
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
142
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
150
+ 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";
143
151
  key: string;
144
152
  }, string>>]>]>;
145
153
  objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
146
154
  type: z.ZodEnum<{
155
+ status: "status";
147
156
  label: "label";
148
157
  log: "log";
149
158
  allow_all: "allow_all";
@@ -164,14 +173,16 @@ export declare const newZ: z.ZodObject<{
164
173
  task: "task";
165
174
  policy: "policy";
166
175
  table: "table";
176
+ arc: "arc";
167
177
  schematic_symbol: "schematic_symbol";
168
178
  }>;
169
179
  key: z.ZodString;
170
180
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
171
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
181
+ 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";
172
182
  key: string;
173
183
  }, string>>]>>, z.ZodUnion<[z.ZodObject<{
174
184
  type: z.ZodEnum<{
185
+ status: "status";
175
186
  label: "label";
176
187
  log: "log";
177
188
  allow_all: "allow_all";
@@ -192,11 +203,12 @@ export declare const newZ: z.ZodObject<{
192
203
  task: "task";
193
204
  policy: "policy";
194
205
  table: "table";
206
+ arc: "arc";
195
207
  schematic_symbol: "schematic_symbol";
196
208
  }>;
197
209
  key: z.ZodString;
198
210
  }, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
199
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
211
+ 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";
200
212
  key: string;
201
213
  }, string>>]>]>;
202
214
  actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/access/policy/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AAE1D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/access/policy/payload.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AAE1D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
@@ -0,0 +1,72 @@
1
+ import { UnaryClient } from '@synnaxlabs/freighter';
2
+ import { z } from 'zod/v4';
3
+ import { Arc, Key, New, Params } from './payload';
4
+ import { ontology } from '../ontology';
5
+ declare const retrieveReqZ: z.ZodObject<{
6
+ keys: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
7
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ searchTerm: z.ZodOptional<z.ZodString>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ offset: z.ZodOptional<z.ZodNumber>;
11
+ includeStatus: z.ZodOptional<z.ZodBoolean>;
12
+ }, z.core.$strip>;
13
+ export type RetrieveRequest = z.input<typeof retrieveReqZ>;
14
+ export declare const singleRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
15
+ key: z.ZodUUID;
16
+ includeStatus: z.ZodOptional<z.ZodBoolean>;
17
+ }, z.core.$strip>, z.ZodTransform<{
18
+ keys: string[];
19
+ includeStatus: boolean | undefined;
20
+ }, {
21
+ key: string;
22
+ includeStatus?: boolean | undefined;
23
+ }>>, z.ZodPipe<z.ZodObject<{
24
+ name: z.ZodString;
25
+ includeStatus: z.ZodOptional<z.ZodBoolean>;
26
+ }, z.core.$strip>, z.ZodTransform<{
27
+ names: string[];
28
+ includeStatus: boolean | undefined;
29
+ }, {
30
+ name: string;
31
+ includeStatus?: boolean | undefined;
32
+ }>>]>;
33
+ export type SingleRetrieveArgs = z.input<typeof singleRetrieveArgsZ>;
34
+ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
35
+ key: z.ZodUUID;
36
+ includeStatus: z.ZodOptional<z.ZodBoolean>;
37
+ }, z.core.$strip>, z.ZodTransform<{
38
+ keys: string[];
39
+ includeStatus: boolean | undefined;
40
+ }, {
41
+ key: string;
42
+ includeStatus?: boolean | undefined;
43
+ }>>, z.ZodPipe<z.ZodObject<{
44
+ name: z.ZodString;
45
+ includeStatus: z.ZodOptional<z.ZodBoolean>;
46
+ }, z.core.$strip>, z.ZodTransform<{
47
+ names: string[];
48
+ includeStatus: boolean | undefined;
49
+ }, {
50
+ name: string;
51
+ includeStatus?: boolean | undefined;
52
+ }>>]>, z.ZodObject<{
53
+ keys: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
54
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
+ searchTerm: z.ZodOptional<z.ZodString>;
56
+ limit: z.ZodOptional<z.ZodNumber>;
57
+ offset: z.ZodOptional<z.ZodNumber>;
58
+ includeStatus: z.ZodOptional<z.ZodBoolean>;
59
+ }, z.core.$strip>]>;
60
+ export type RetrieveArgs = z.input<typeof retrieveArgsZ>;
61
+ export declare class Client {
62
+ private readonly client;
63
+ constructor(client: UnaryClient);
64
+ create(arc: New): Promise<Arc>;
65
+ create(arcs: New[]): Promise<Arc[]>;
66
+ retrieve(args: SingleRetrieveArgs): Promise<Arc>;
67
+ retrieve(args: RetrieveArgs): Promise<Arc[]>;
68
+ delete(keys: Params): Promise<void>;
69
+ }
70
+ export declare const ontologyID: (key: Key) => ontology.ID;
71
+ export {};
72
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/arc/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,GAAG,EAGR,KAAK,MAAM,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,QAAA,MAAM,YAAY;;;;;;;iBAOhB,CAAC;AAQH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAgB3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;KAAuD,CAAC;AAExF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;mBAA+C,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAC9B,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAanC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC;IAChD,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAc5C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAS1C;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,GAAG,KAAG,QAAQ,CAAC,EAAoC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './client';
2
+ export * from './payload';
3
+ //# sourceMappingURL=external.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../src/arc/external.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * as arc from './external';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/arc/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC"}