@omniviewdev/runtime 0.1.11 → 0.2.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 (42) hide show
  1. package/dist/Client-BRYjLBXY.cjs +1 -0
  2. package/dist/{Client-DRRyPmcf.js → Client-RGYOEzh2.js} +312 -275
  3. package/dist/api.cjs +1 -1
  4. package/dist/api.d.ts +1 -0
  5. package/dist/api.js +95 -51
  6. package/dist/context/drawer/types.d.ts +1 -1
  7. package/dist/errors/types.d.ts +2 -0
  8. package/dist/hooks/connection/useConnectionStatus.d.ts +3 -3
  9. package/dist/hooks/connection/useConnections.d.ts +2 -2
  10. package/dist/hooks/resource/index.d.ts +2 -1
  11. package/dist/hooks/resource/useActiveSyncs.d.ts +2 -2
  12. package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
  13. package/dist/hooks/resource/useEventBatcher.d.ts +55 -0
  14. package/dist/hooks/resource/useResource.d.ts +9 -21
  15. package/dist/hooks/resource/useResourceActions.d.ts +3 -3
  16. package/dist/hooks/resource/useResourceGroups.d.ts +1 -1
  17. package/dist/hooks/resource/useResourceMutations.d.ts +14 -7
  18. package/dist/hooks/resource/useResourceSearch.d.ts +1 -1
  19. package/dist/hooks/resource/useResourceType.d.ts +1 -1
  20. package/dist/hooks/resource/useResourceTypes.d.ts +1 -1
  21. package/dist/hooks/resource/useResources.d.ts +14 -22
  22. package/dist/hooks/resource/useWatchState.d.ts +28 -0
  23. package/dist/index.cjs +2 -2
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +1406 -1295
  26. package/dist/models.cjs +1 -1
  27. package/dist/models.js +1343 -972
  28. package/dist/types/index.d.ts +1 -1
  29. package/dist/types/watch.d.ts +29 -0
  30. package/dist/utils/activeSyncAggregator.d.ts +13 -8
  31. package/dist/utils/resourceKey.d.ts +12 -0
  32. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +2 -0
  33. package/dist/wailsjs/go/models.d.ts +400 -214
  34. package/dist/wailsjs/go/plugin/pluginManager.d.ts +3 -1
  35. package/dist/wailsjs/go/pluginlog/Manager.d.ts +18 -0
  36. package/dist/wailsjs/go/resource/Client.d.ts +39 -23
  37. package/package.json +1 -1
  38. package/dist/Client-BtQwAB3N.cjs +0 -1
  39. package/dist/errors/parseAppError.test.d.ts +0 -1
  40. package/dist/hooks/resource/useInformerState.d.ts +0 -24
  41. package/dist/types/informer.d.ts +0 -49
  42. package/dist/utils/activeSyncAggregator.test.d.ts +0 -1
package/dist/models.js CHANGED
@@ -1,9 +1,9 @@
1
- var $ = Object.defineProperty;
2
- var tt = (a, p, f) => p in a ? $(a, p, { enumerable: !0, configurable: !0, writable: !0, value: f }) : a[p] = f;
3
- var e = (a, p, f) => tt(a, typeof p != "symbol" ? p + "" : p, f);
4
- var N;
1
+ var pt = Object.defineProperty;
2
+ var ht = (a, h, d) => h in a ? pt(a, h, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[h] = d;
3
+ var e = (a, h, d) => ht(a, typeof h != "symbol" ? h + "" : h, d);
4
+ var D;
5
5
  ((a) => {
6
- class p {
6
+ class h {
7
7
  constructor(s = {}) {
8
8
  e(this, "name");
9
9
  e(this, "email");
@@ -11,11 +11,11 @@ var N;
11
11
  typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.email = s.email, this.url = s.url;
12
12
  }
13
13
  static createFrom(s = {}) {
14
- return new p(s);
14
+ return new h(s);
15
15
  }
16
16
  }
17
- a.PluginAuthor = p;
18
- class f {
17
+ a.PluginAuthor = h;
18
+ class d {
19
19
  constructor(s = {}) {
20
20
  e(this, "name");
21
21
  e(this, "plugin");
@@ -25,35 +25,35 @@ var N;
25
25
  typeof s == "string" && (s = JSON.parse(s)), this.name = s.name, this.plugin = s.plugin, this.area = s.area, this.resources = s.resources, this.extension = s.extension;
26
26
  }
27
27
  static createFrom(s = {}) {
28
- return new f(s);
28
+ return new d(s);
29
29
  }
30
30
  }
31
- a.PluginResourceComponent = f;
32
- class l {
31
+ a.PluginResourceComponent = d;
32
+ class p {
33
33
  constructor(s = {}) {
34
34
  e(this, "resource");
35
- typeof s == "string" && (s = JSON.parse(s)), this.resource = this.convertValues(s.resource, f);
35
+ typeof s == "string" && (s = JSON.parse(s)), this.resource = this.convertValues(s.resource, d);
36
36
  }
37
37
  static createFrom(s = {}) {
38
- return new l(s);
38
+ return new p(s);
39
39
  }
40
- convertValues(s, c, O = !1) {
40
+ convertValues(s, v, m = !1) {
41
41
  if (!s)
42
42
  return s;
43
43
  if (s.slice && s.map)
44
- return s.map((w) => this.convertValues(w, c));
44
+ return s.map((V) => this.convertValues(V, v));
45
45
  if (typeof s == "object") {
46
- if (O) {
47
- for (const w of Object.keys(s))
48
- s[w] = new c(s[w]);
46
+ if (m) {
47
+ for (const V of Object.keys(s))
48
+ s[V] = new v(s[V]);
49
49
  return s;
50
50
  }
51
- return new c(s);
51
+ return new v(s);
52
52
  }
53
53
  return s;
54
54
  }
55
55
  }
56
- a.PluginComponents = l;
56
+ a.PluginComponents = p;
57
57
  class o {
58
58
  constructor(s = {}) {
59
59
  e(this, "name");
@@ -65,7 +65,7 @@ var N;
65
65
  }
66
66
  }
67
67
  a.PluginMaintainer = o;
68
- class y {
68
+ class f {
69
69
  constructor(s = {}) {
70
70
  e(this, "primary");
71
71
  e(this, "secondary");
@@ -73,36 +73,36 @@ var N;
73
73
  typeof s == "string" && (s = JSON.parse(s)), this.primary = s.primary, this.secondary = s.secondary, this.tertiary = s.tertiary;
74
74
  }
75
75
  static createFrom(s = {}) {
76
- return new y(s);
76
+ return new f(s);
77
77
  }
78
78
  }
79
- a.PluginThemeColors = y;
80
- class r {
79
+ a.PluginThemeColors = f;
80
+ class n {
81
81
  constructor(s = {}) {
82
82
  e(this, "colors");
83
- typeof s == "string" && (s = JSON.parse(s)), this.colors = this.convertValues(s.colors, y);
83
+ typeof s == "string" && (s = JSON.parse(s)), this.colors = this.convertValues(s.colors, f);
84
84
  }
85
85
  static createFrom(s = {}) {
86
- return new r(s);
86
+ return new n(s);
87
87
  }
88
- convertValues(s, c, O = !1) {
88
+ convertValues(s, v, m = !1) {
89
89
  if (!s)
90
90
  return s;
91
91
  if (s.slice && s.map)
92
- return s.map((w) => this.convertValues(w, c));
92
+ return s.map((V) => this.convertValues(V, v));
93
93
  if (typeof s == "object") {
94
- if (O) {
95
- for (const w of Object.keys(s))
96
- s[w] = new c(s[w]);
94
+ if (m) {
95
+ for (const V of Object.keys(s))
96
+ s[V] = new v(s[V]);
97
97
  return s;
98
98
  }
99
- return new c(s);
99
+ return new v(s);
100
100
  }
101
101
  return s;
102
102
  }
103
103
  }
104
- a.PluginTheme = r;
105
- class i {
104
+ a.PluginTheme = n;
105
+ class l {
106
106
  constructor(s = {}) {
107
107
  e(this, "id");
108
108
  e(this, "version");
@@ -123,33 +123,33 @@ var N;
123
123
  e(this, "components");
124
124
  e(this, "schema_version");
125
125
  e(this, "sdk_protocol_version");
126
- typeof s == "string" && (s = JSON.parse(s)), this.id = s.id, this.version = s.version, this.name = s.name, this.icon = s.icon, this.icon_url = s.icon_url, this.description = s.description, this.repository = s.repository, this.website = s.website, this.category = s.category, this.license = s.license, this.author = this.convertValues(s.author, p), this.maintainers = this.convertValues(s.maintainers, o), this.tags = s.tags, this.dependencies = s.dependencies, this.capabilities = s.capabilities, this.theme = this.convertValues(s.theme, r), this.components = this.convertValues(s.components, l), this.schema_version = s.schema_version, this.sdk_protocol_version = s.sdk_protocol_version;
126
+ typeof s == "string" && (s = JSON.parse(s)), this.id = s.id, this.version = s.version, this.name = s.name, this.icon = s.icon, this.icon_url = s.icon_url, this.description = s.description, this.repository = s.repository, this.website = s.website, this.category = s.category, this.license = s.license, this.author = this.convertValues(s.author, h), this.maintainers = this.convertValues(s.maintainers, o), this.tags = s.tags, this.dependencies = s.dependencies, this.capabilities = s.capabilities, this.theme = this.convertValues(s.theme, n), this.components = this.convertValues(s.components, p), this.schema_version = s.schema_version, this.sdk_protocol_version = s.sdk_protocol_version;
127
127
  }
128
128
  static createFrom(s = {}) {
129
- return new i(s);
129
+ return new l(s);
130
130
  }
131
- convertValues(s, c, O = !1) {
131
+ convertValues(s, v, m = !1) {
132
132
  if (!s)
133
133
  return s;
134
134
  if (s.slice && s.map)
135
- return s.map((w) => this.convertValues(w, c));
135
+ return s.map((V) => this.convertValues(V, v));
136
136
  if (typeof s == "object") {
137
- if (O) {
138
- for (const w of Object.keys(s))
139
- s[w] = new c(s[w]);
137
+ if (m) {
138
+ for (const V of Object.keys(s))
139
+ s[V] = new v(s[V]);
140
140
  return s;
141
141
  }
142
- return new c(s);
142
+ return new v(s);
143
143
  }
144
144
  return s;
145
145
  }
146
146
  }
147
- a.PluginMeta = i;
148
- })(N || (N = {}));
149
- var U;
147
+ a.PluginMeta = l;
148
+ })(D || (D = {}));
149
+ var z;
150
150
  ((a) => {
151
- class p {
152
- constructor(r = {}) {
151
+ class h {
152
+ constructor(n = {}) {
153
153
  e(this, "pid");
154
154
  e(this, "protocol");
155
155
  e(this, "protocolVersion");
@@ -158,24 +158,24 @@ var U;
158
158
  e(this, "pluginId");
159
159
  e(this, "version");
160
160
  e(this, "startedAt");
161
- typeof r == "string" && (r = JSON.parse(r)), this.pid = r.pid, this.protocol = r.protocol, this.protocolVersion = r.protocolVersion, this.addr = r.addr, this.vitePort = r.vitePort, this.pluginId = r.pluginId, this.version = r.version, this.startedAt = r.startedAt;
161
+ typeof n == "string" && (n = JSON.parse(n)), this.pid = n.pid, this.protocol = n.protocol, this.protocolVersion = n.protocolVersion, this.addr = n.addr, this.vitePort = n.vitePort, this.pluginId = n.pluginId, this.version = n.version, this.startedAt = n.startedAt;
162
162
  }
163
- static createFrom(r = {}) {
164
- return new p(r);
163
+ static createFrom(n = {}) {
164
+ return new h(n);
165
165
  }
166
166
  }
167
- a.DevInfoFile = p;
168
- class f {
169
- static createFrom(r = {}) {
170
- return new f(r);
167
+ a.DevInfoFile = h;
168
+ class d {
169
+ static createFrom(n = {}) {
170
+ return new d(n);
171
171
  }
172
- constructor(r = {}) {
173
- typeof r == "string" && (r = JSON.parse(r));
172
+ constructor(n = {}) {
173
+ typeof n == "string" && (n = JSON.parse(n));
174
174
  }
175
175
  }
176
- a.DevServerManager = f;
177
- class l {
178
- constructor(r = {}) {
176
+ a.DevServerManager = d;
177
+ class p {
178
+ constructor(n = {}) {
179
179
  e(this, "pluginID");
180
180
  e(this, "mode");
181
181
  e(this, "devPath");
@@ -187,61 +187,44 @@ var U;
187
187
  e(this, "lastBuildTime");
188
188
  e(this, "lastError");
189
189
  e(this, "grpcConnected");
190
- typeof r == "string" && (r = JSON.parse(r)), this.pluginID = r.pluginID, this.mode = r.mode, this.devPath = r.devPath, this.vitePort = r.vitePort, this.viteURL = r.viteURL, this.viteStatus = r.viteStatus, this.goStatus = r.goStatus, this.lastBuildDuration = r.lastBuildDuration, this.lastBuildTime = this.convertValues(r.lastBuildTime, _.Time), this.lastError = r.lastError, this.grpcConnected = r.grpcConnected;
191
- }
192
- static createFrom(r = {}) {
193
- return new l(r);
190
+ typeof n == "string" && (n = JSON.parse(n)), this.pluginID = n.pluginID, this.mode = n.mode, this.devPath = n.devPath, this.vitePort = n.vitePort, this.viteURL = n.viteURL, this.viteStatus = n.viteStatus, this.goStatus = n.goStatus, this.lastBuildDuration = n.lastBuildDuration, this.lastBuildTime = n.lastBuildTime, this.lastError = n.lastError, this.grpcConnected = n.grpcConnected;
194
191
  }
195
- convertValues(r, i, m = !1) {
196
- if (!r)
197
- return r;
198
- if (r.slice && r.map)
199
- return r.map((s) => this.convertValues(s, i));
200
- if (typeof r == "object") {
201
- if (m) {
202
- for (const s of Object.keys(r))
203
- r[s] = new i(r[s]);
204
- return r;
205
- }
206
- return new i(r);
207
- }
208
- return r;
192
+ static createFrom(n = {}) {
193
+ return new p(n);
209
194
  }
210
195
  }
211
- a.DevServerState = l;
196
+ a.DevServerState = p;
212
197
  class o {
213
- constructor(r = {}) {
198
+ constructor(n = {}) {
214
199
  e(this, "timestamp");
215
200
  e(this, "source");
216
201
  e(this, "level");
217
202
  e(this, "message");
218
203
  e(this, "pluginID");
219
- typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp, _.Time), this.source = r.source, this.level = r.level, this.message = r.message, this.pluginID = r.pluginID;
220
- }
221
- static createFrom(r = {}) {
222
- return new o(r);
204
+ typeof n == "string" && (n = JSON.parse(n)), this.timestamp = n.timestamp, this.source = n.source, this.level = n.level, this.message = n.message, this.pluginID = n.pluginID;
223
205
  }
224
- convertValues(r, i, m = !1) {
225
- if (!r)
226
- return r;
227
- if (r.slice && r.map)
228
- return r.map((s) => this.convertValues(s, i));
229
- if (typeof r == "object") {
230
- if (m) {
231
- for (const s of Object.keys(r))
232
- r[s] = new i(r[s]);
233
- return r;
234
- }
235
- return new i(r);
236
- }
237
- return r;
206
+ static createFrom(n = {}) {
207
+ return new o(n);
238
208
  }
239
209
  }
240
210
  a.LogEntry = o;
241
- })(U || (U = {}));
242
- var B;
211
+ })(z || (z = {}));
212
+ var Z;
243
213
  ((a) => {
244
- class p {
214
+ class h {
215
+ constructor(i = {}) {
216
+ e(this, "label");
217
+ e(this, "label_selector");
218
+ e(this, "paths");
219
+ e(this, "selectors");
220
+ typeof i == "string" && (i = JSON.parse(i)), this.label = i.label, this.label_selector = i.label_selector, this.paths = i.paths, this.selectors = i.selectors;
221
+ }
222
+ static createFrom(i = {}) {
223
+ return new h(i);
224
+ }
225
+ }
226
+ a.ActionTargetBuilder = h;
227
+ class d {
245
228
  constructor(i = {}) {
246
229
  e(this, "created_at");
247
230
  e(this, "labels");
@@ -249,94 +232,94 @@ var B;
249
232
  e(this, "id");
250
233
  e(this, "command");
251
234
  e(this, "attached");
252
- typeof i == "string" && (i = JSON.parse(i)), this.created_at = this.convertValues(i.created_at, _.Time), this.labels = i.labels, this.params = i.params, this.id = i.id, this.command = i.command, this.attached = i.attached;
235
+ typeof i == "string" && (i = JSON.parse(i)), this.created_at = this.convertValues(i.created_at, S.Time), this.labels = i.labels, this.params = i.params, this.id = i.id, this.command = i.command, this.attached = i.attached;
253
236
  }
254
237
  static createFrom(i = {}) {
255
- return new p(i);
238
+ return new d(i);
256
239
  }
257
- convertValues(i, m, s = !1) {
240
+ convertValues(i, s, v = !1) {
258
241
  if (!i)
259
242
  return i;
260
243
  if (i.slice && i.map)
261
- return i.map((c) => this.convertValues(c, m));
244
+ return i.map((m) => this.convertValues(m, s));
262
245
  if (typeof i == "object") {
263
- if (s) {
264
- for (const c of Object.keys(i))
265
- i[c] = new m(i[c]);
246
+ if (v) {
247
+ for (const m of Object.keys(i))
248
+ i[m] = new s(i[m]);
266
249
  return i;
267
250
  }
268
- return new m(i);
251
+ return new s(i);
269
252
  }
270
253
  return i;
271
254
  }
272
255
  }
273
- a.Session = p;
274
- class f {
256
+ a.Session = d;
257
+ class p {
275
258
  constructor(i = {}) {
276
259
  e(this, "session");
277
260
  e(this, "buffer");
278
- typeof i == "string" && (i = JSON.parse(i)), this.session = this.convertValues(i.session, p), this.buffer = i.buffer;
261
+ typeof i == "string" && (i = JSON.parse(i)), this.session = this.convertValues(i.session, d), this.buffer = i.buffer;
279
262
  }
280
263
  static createFrom(i = {}) {
281
- return new f(i);
264
+ return new p(i);
282
265
  }
283
- convertValues(i, m, s = !1) {
266
+ convertValues(i, s, v = !1) {
284
267
  if (!i)
285
268
  return i;
286
269
  if (i.slice && i.map)
287
- return i.map((c) => this.convertValues(c, m));
270
+ return i.map((m) => this.convertValues(m, s));
288
271
  if (typeof i == "object") {
289
- if (s) {
290
- for (const c of Object.keys(i))
291
- i[c] = new m(i[c]);
272
+ if (v) {
273
+ for (const m of Object.keys(i))
274
+ i[m] = new s(i[m]);
292
275
  return i;
293
276
  }
294
- return new m(i);
277
+ return new s(i);
295
278
  }
296
279
  return i;
297
280
  }
298
281
  }
299
- a.AttachSessionResult = f;
300
- class l {
282
+ a.AttachSessionResult = p;
283
+ class o {
301
284
  constructor(i = {}) {
302
285
  e(this, "labels");
303
286
  e(this, "command");
304
287
  typeof i == "string" && (i = JSON.parse(i)), this.labels = i.labels, this.command = i.command;
305
288
  }
306
289
  static createFrom(i = {}) {
307
- return new l(i);
290
+ return new o(i);
308
291
  }
309
292
  }
310
- a.CreateTerminalOptions = l;
311
- class o {
293
+ a.CreateTerminalOptions = o;
294
+ class f {
312
295
  constructor(i = {}) {
313
296
  e(this, "plugin");
314
297
  e(this, "resource");
315
298
  e(this, "target_builder");
316
299
  e(this, "default_command");
317
- typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, S.ActionTargetBuilder), this.default_command = i.default_command;
300
+ typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, h), this.default_command = i.default_command;
318
301
  }
319
302
  static createFrom(i = {}) {
320
- return new o(i);
303
+ return new f(i);
321
304
  }
322
- convertValues(i, m, s = !1) {
305
+ convertValues(i, s, v = !1) {
323
306
  if (!i)
324
307
  return i;
325
308
  if (i.slice && i.map)
326
- return i.map((c) => this.convertValues(c, m));
309
+ return i.map((m) => this.convertValues(m, s));
327
310
  if (typeof i == "object") {
328
- if (s) {
329
- for (const c of Object.keys(i))
330
- i[c] = new m(i[c]);
311
+ if (v) {
312
+ for (const m of Object.keys(i))
313
+ i[m] = new s(i[m]);
331
314
  return i;
332
315
  }
333
- return new m(i);
316
+ return new s(i);
334
317
  }
335
318
  return i;
336
319
  }
337
320
  }
338
- a.Handler = o;
339
- class y {
321
+ a.Handler = f;
322
+ class n {
340
323
  constructor(i = {}) {
341
324
  e(this, "params");
342
325
  e(this, "labels");
@@ -349,14 +332,27 @@ var B;
349
332
  typeof i == "string" && (i = JSON.parse(i)), this.params = i.params, this.labels = i.labels, this.id = i.id, this.resource_plugin = i.resource_plugin, this.resource_key = i.resource_key, this.resource_data = i.resource_data, this.command = i.command, this.tty = i.tty;
350
333
  }
351
334
  static createFrom(i = {}) {
352
- return new y(i);
335
+ return new n(i);
353
336
  }
354
337
  }
355
- a.SessionOptions = y;
356
- })(B || (B = {}));
357
- var G;
338
+ a.SessionOptions = n;
339
+ })(Z || (Z = {}));
340
+ var X;
358
341
  ((a) => {
359
- class p {
342
+ class h {
343
+ constructor(i = {}) {
344
+ e(this, "label");
345
+ e(this, "label_selector");
346
+ e(this, "paths");
347
+ e(this, "selectors");
348
+ typeof i == "string" && (i = JSON.parse(i)), this.label = i.label, this.label_selector = i.label_selector, this.paths = i.paths, this.selectors = i.selectors;
349
+ }
350
+ static createFrom(i = {}) {
351
+ return new h(i);
352
+ }
353
+ }
354
+ a.ActionTargetBuilder = h;
355
+ class d {
360
356
  constructor(i = {}) {
361
357
  e(this, "target");
362
358
  e(this, "follow");
@@ -368,95 +364,95 @@ var G;
368
364
  e(this, "limit_bytes");
369
365
  e(this, "include_source_events");
370
366
  e(this, "params");
371
- typeof i == "string" && (i = JSON.parse(i)), this.target = i.target, this.follow = i.follow, this.include_previous = i.include_previous, this.include_timestamps = i.include_timestamps, this.tail_lines = i.tail_lines, this.since_seconds = i.since_seconds, this.since_time = this.convertValues(i.since_time, _.Time), this.limit_bytes = i.limit_bytes, this.include_source_events = i.include_source_events, this.params = i.params;
367
+ typeof i == "string" && (i = JSON.parse(i)), this.target = i.target, this.follow = i.follow, this.include_previous = i.include_previous, this.include_timestamps = i.include_timestamps, this.tail_lines = i.tail_lines, this.since_seconds = i.since_seconds, this.since_time = this.convertValues(i.since_time, S.Time), this.limit_bytes = i.limit_bytes, this.include_source_events = i.include_source_events, this.params = i.params;
372
368
  }
373
369
  static createFrom(i = {}) {
374
- return new p(i);
370
+ return new d(i);
375
371
  }
376
- convertValues(i, m, s = !1) {
372
+ convertValues(i, s, v = !1) {
377
373
  if (!i)
378
374
  return i;
379
375
  if (i.slice && i.map)
380
- return i.map((c) => this.convertValues(c, m));
376
+ return i.map((m) => this.convertValues(m, s));
381
377
  if (typeof i == "object") {
382
- if (s) {
383
- for (const c of Object.keys(i))
384
- i[c] = new m(i[c]);
378
+ if (v) {
379
+ for (const m of Object.keys(i))
380
+ i[m] = new s(i[m]);
385
381
  return i;
386
382
  }
387
- return new m(i);
383
+ return new s(i);
388
384
  }
389
385
  return i;
390
386
  }
391
387
  }
392
- a.LogSessionOptions = p;
393
- class f {
388
+ a.LogSessionOptions = d;
389
+ class p {
394
390
  constructor(i = {}) {
395
391
  e(this, "resource_key");
396
392
  e(this, "resource_id");
397
393
  e(this, "resource_data");
398
394
  e(this, "options");
399
- typeof i == "string" && (i = JSON.parse(i)), this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.resource_data = i.resource_data, this.options = this.convertValues(i.options, p);
395
+ typeof i == "string" && (i = JSON.parse(i)), this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.resource_data = i.resource_data, this.options = this.convertValues(i.options, d);
400
396
  }
401
397
  static createFrom(i = {}) {
402
- return new f(i);
398
+ return new p(i);
403
399
  }
404
- convertValues(i, m, s = !1) {
400
+ convertValues(i, s, v = !1) {
405
401
  if (!i)
406
402
  return i;
407
403
  if (i.slice && i.map)
408
- return i.map((c) => this.convertValues(c, m));
404
+ return i.map((m) => this.convertValues(m, s));
409
405
  if (typeof i == "object") {
410
- if (s) {
411
- for (const c of Object.keys(i))
412
- i[c] = new m(i[c]);
406
+ if (v) {
407
+ for (const m of Object.keys(i))
408
+ i[m] = new s(i[m]);
413
409
  return i;
414
410
  }
415
- return new m(i);
411
+ return new s(i);
416
412
  }
417
413
  return i;
418
414
  }
419
415
  }
420
- a.CreateSessionOptions = f;
421
- class l {
416
+ a.CreateSessionOptions = p;
417
+ class o {
422
418
  constructor(i = {}) {
423
419
  e(this, "plugin");
424
420
  e(this, "resource");
425
421
  e(this, "target_builder");
426
- typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, S.ActionTargetBuilder);
422
+ typeof i == "string" && (i = JSON.parse(i)), this.plugin = i.plugin, this.resource = i.resource, this.target_builder = this.convertValues(i.target_builder, h);
427
423
  }
428
424
  static createFrom(i = {}) {
429
- return new l(i);
425
+ return new o(i);
430
426
  }
431
- convertValues(i, m, s = !1) {
427
+ convertValues(i, s, v = !1) {
432
428
  if (!i)
433
429
  return i;
434
430
  if (i.slice && i.map)
435
- return i.map((c) => this.convertValues(c, m));
431
+ return i.map((m) => this.convertValues(m, s));
436
432
  if (typeof i == "object") {
437
- if (s) {
438
- for (const c of Object.keys(i))
439
- i[c] = new m(i[c]);
433
+ if (v) {
434
+ for (const m of Object.keys(i))
435
+ i[m] = new s(i[m]);
440
436
  return i;
441
437
  }
442
- return new m(i);
438
+ return new s(i);
443
439
  }
444
440
  return i;
445
441
  }
446
442
  }
447
- a.Handler = l;
448
- class o {
443
+ a.Handler = o;
444
+ class f {
449
445
  constructor(i = {}) {
450
446
  e(this, "id");
451
447
  e(this, "labels");
452
448
  typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.labels = i.labels;
453
449
  }
454
450
  static createFrom(i = {}) {
455
- return new o(i);
451
+ return new f(i);
456
452
  }
457
453
  }
458
- a.LogSource = o;
459
- class y {
454
+ a.LogSource = f;
455
+ class n {
460
456
  constructor(i = {}) {
461
457
  e(this, "id");
462
458
  e(this, "plugin_id");
@@ -467,43 +463,43 @@ var G;
467
463
  e(this, "status");
468
464
  e(this, "active_sources");
469
465
  e(this, "created_at");
470
- typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.plugin_id = i.plugin_id, this.connection_id = i.connection_id, this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.options = this.convertValues(i.options, p), this.status = i.status, this.active_sources = this.convertValues(i.active_sources, o), this.created_at = this.convertValues(i.created_at, _.Time);
466
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.plugin_id = i.plugin_id, this.connection_id = i.connection_id, this.resource_key = i.resource_key, this.resource_id = i.resource_id, this.options = this.convertValues(i.options, d), this.status = i.status, this.active_sources = this.convertValues(i.active_sources, f), this.created_at = this.convertValues(i.created_at, S.Time);
471
467
  }
472
468
  static createFrom(i = {}) {
473
- return new y(i);
469
+ return new n(i);
474
470
  }
475
- convertValues(i, m, s = !1) {
471
+ convertValues(i, s, v = !1) {
476
472
  if (!i)
477
473
  return i;
478
474
  if (i.slice && i.map)
479
- return i.map((c) => this.convertValues(c, m));
475
+ return i.map((m) => this.convertValues(m, s));
480
476
  if (typeof i == "object") {
481
- if (s) {
482
- for (const c of Object.keys(i))
483
- i[c] = new m(i[c]);
477
+ if (v) {
478
+ for (const m of Object.keys(i))
479
+ i[m] = new s(i[m]);
484
480
  return i;
485
481
  }
486
- return new m(i);
482
+ return new s(i);
487
483
  }
488
484
  return i;
489
485
  }
490
486
  }
491
- a.LogSession = y;
492
- })(G || (G = {}));
493
- var z;
487
+ a.LogSession = n;
488
+ })(X || (X = {}));
489
+ var $;
494
490
  ((a) => {
495
- class p {
491
+ class h {
496
492
  constructor(o = {}) {
497
493
  e(this, "displayName");
498
494
  e(this, "pattern");
499
495
  typeof o == "string" && (o = JSON.parse(o)), this.displayName = o.displayName, this.pattern = o.pattern;
500
496
  }
501
497
  static createFrom(o = {}) {
502
- return new p(o);
498
+ return new h(o);
503
499
  }
504
500
  }
505
- a.FileFilter = p;
506
- class f {
501
+ a.FileFilter = h;
502
+ class d {
507
503
  constructor(o = {}) {
508
504
  e(this, "defaultDirectory");
509
505
  e(this, "defaultFilename");
@@ -513,33 +509,33 @@ var z;
513
509
  e(this, "canCreateDirectories");
514
510
  e(this, "resolvesAliases");
515
511
  e(this, "treatPackagesAsDirectories");
516
- typeof o == "string" && (o = JSON.parse(o)), this.defaultDirectory = o.defaultDirectory, this.defaultFilename = o.defaultFilename, this.title = o.title, this.filters = this.convertValues(o.filters, p), this.showHiddenFiles = o.showHiddenFiles, this.canCreateDirectories = o.canCreateDirectories, this.resolvesAliases = o.resolvesAliases, this.treatPackagesAsDirectories = o.treatPackagesAsDirectories;
512
+ typeof o == "string" && (o = JSON.parse(o)), this.defaultDirectory = o.defaultDirectory, this.defaultFilename = o.defaultFilename, this.title = o.title, this.filters = this.convertValues(o.filters, h), this.showHiddenFiles = o.showHiddenFiles, this.canCreateDirectories = o.canCreateDirectories, this.resolvesAliases = o.resolvesAliases, this.treatPackagesAsDirectories = o.treatPackagesAsDirectories;
517
513
  }
518
514
  static createFrom(o = {}) {
519
- return new f(o);
515
+ return new d(o);
520
516
  }
521
- convertValues(o, y, r = !1) {
517
+ convertValues(o, f, n = !1) {
522
518
  if (!o)
523
519
  return o;
524
520
  if (o.slice && o.map)
525
- return o.map((i) => this.convertValues(i, y));
521
+ return o.map((l) => this.convertValues(l, f));
526
522
  if (typeof o == "object") {
527
- if (r) {
528
- for (const i of Object.keys(o))
529
- o[i] = new y(o[i]);
523
+ if (n) {
524
+ for (const l of Object.keys(o))
525
+ o[l] = new f(o[l]);
530
526
  return o;
531
527
  }
532
- return new y(o);
528
+ return new f(o);
533
529
  }
534
530
  return o;
535
531
  }
536
532
  }
537
- a.FileDialogOptions = f;
538
- })(z || (z = {}));
539
- var K;
533
+ a.FileDialogOptions = d;
534
+ })($ || ($ = {}));
535
+ var W;
540
536
  ((a) => {
541
- class p {
542
- constructor(n = {}) {
537
+ class h {
538
+ constructor(r = {}) {
543
539
  e(this, "metric_id");
544
540
  e(this, "min");
545
541
  e(this, "max");
@@ -551,82 +547,82 @@ var K;
551
547
  e(this, "count");
552
548
  e(this, "window");
553
549
  e(this, "labels");
554
- typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.min = n.min, this.max = n.max, this.avg = n.avg, this.sum = n.sum, this.p50 = n.p50, this.p90 = n.p90, this.p99 = n.p99, this.count = n.count, this.window = n.window, this.labels = n.labels;
550
+ typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.min = r.min, this.max = r.max, this.avg = r.avg, this.sum = r.sum, this.p50 = r.p50, this.p90 = r.p90, this.p99 = r.p99, this.count = r.count, this.window = r.window, this.labels = r.labels;
555
551
  }
556
- static createFrom(n = {}) {
557
- return new p(n);
552
+ static createFrom(r = {}) {
553
+ return new h(r);
558
554
  }
559
555
  }
560
- a.AggregateValue = p;
561
- class f {
562
- constructor(n = {}) {
556
+ a.AggregateValue = h;
557
+ class d {
558
+ constructor(r = {}) {
563
559
  e(this, "min");
564
560
  e(this, "max");
565
561
  e(this, "color");
566
- typeof n == "string" && (n = JSON.parse(n)), this.min = n.min, this.max = n.max, this.color = n.color;
562
+ typeof r == "string" && (r = JSON.parse(r)), this.min = r.min, this.max = r.max, this.color = r.color;
567
563
  }
568
- static createFrom(n = {}) {
569
- return new f(n);
564
+ static createFrom(r = {}) {
565
+ return new d(r);
570
566
  }
571
567
  }
572
- a.ColorRange = f;
573
- class l {
574
- constructor(n = {}) {
568
+ a.ColorRange = d;
569
+ class p {
570
+ constructor(r = {}) {
575
571
  e(this, "metric_id");
576
572
  e(this, "value");
577
573
  e(this, "timestamp");
578
574
  e(this, "labels");
579
- typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.value = n.value, this.timestamp = this.convertValues(n.timestamp, _.Time), this.labels = n.labels;
575
+ typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.value = r.value, this.timestamp = this.convertValues(r.timestamp, S.Time), this.labels = r.labels;
580
576
  }
581
- static createFrom(n = {}) {
582
- return new l(n);
577
+ static createFrom(r = {}) {
578
+ return new p(r);
583
579
  }
584
- convertValues(n, v, b = !1) {
585
- if (!n)
586
- return n;
587
- if (n.slice && n.map)
588
- return n.map((d) => this.convertValues(d, v));
589
- if (typeof n == "object") {
580
+ convertValues(r, g, b = !1) {
581
+ if (!r)
582
+ return r;
583
+ if (r.slice && r.map)
584
+ return r.map((u) => this.convertValues(u, g));
585
+ if (typeof r == "object") {
590
586
  if (b) {
591
- for (const d of Object.keys(n))
592
- n[d] = new v(n[d]);
593
- return n;
587
+ for (const u of Object.keys(r))
588
+ r[u] = new g(r[u]);
589
+ return r;
594
590
  }
595
- return new v(n);
591
+ return new g(r);
596
592
  }
597
- return n;
593
+ return r;
598
594
  }
599
595
  }
600
- a.CurrentValue = l;
596
+ a.CurrentValue = p;
601
597
  class o {
602
- constructor(n = {}) {
598
+ constructor(r = {}) {
603
599
  e(this, "timestamp");
604
600
  e(this, "value");
605
601
  e(this, "labels");
606
- typeof n == "string" && (n = JSON.parse(n)), this.timestamp = this.convertValues(n.timestamp, _.Time), this.value = n.value, this.labels = n.labels;
602
+ typeof r == "string" && (r = JSON.parse(r)), this.timestamp = this.convertValues(r.timestamp, S.Time), this.value = r.value, this.labels = r.labels;
607
603
  }
608
- static createFrom(n = {}) {
609
- return new o(n);
604
+ static createFrom(r = {}) {
605
+ return new o(r);
610
606
  }
611
- convertValues(n, v, b = !1) {
612
- if (!n)
613
- return n;
614
- if (n.slice && n.map)
615
- return n.map((d) => this.convertValues(d, v));
616
- if (typeof n == "object") {
607
+ convertValues(r, g, b = !1) {
608
+ if (!r)
609
+ return r;
610
+ if (r.slice && r.map)
611
+ return r.map((u) => this.convertValues(u, g));
612
+ if (typeof r == "object") {
617
613
  if (b) {
618
- for (const d of Object.keys(n))
619
- n[d] = new v(n[d]);
620
- return n;
614
+ for (const u of Object.keys(r))
615
+ r[u] = new g(r[u]);
616
+ return r;
621
617
  }
622
- return new v(n);
618
+ return new g(r);
623
619
  }
624
- return n;
620
+ return r;
625
621
  }
626
622
  }
627
623
  a.DataPoint = o;
628
- class y {
629
- constructor(n = {}) {
624
+ class f {
625
+ constructor(r = {}) {
630
626
  e(this, "id");
631
627
  e(this, "name");
632
628
  e(this, "unit");
@@ -635,140 +631,140 @@ var K;
635
631
  e(this, "format_string");
636
632
  e(this, "supported_shapes");
637
633
  e(this, "chart_group");
638
- typeof n == "string" && (n = JSON.parse(n)), this.id = n.id, this.name = n.name, this.unit = n.unit, this.icon = n.icon, this.color_ranges = this.convertValues(n.color_ranges, f), this.format_string = n.format_string, this.supported_shapes = n.supported_shapes, this.chart_group = n.chart_group;
634
+ typeof r == "string" && (r = JSON.parse(r)), this.id = r.id, this.name = r.name, this.unit = r.unit, this.icon = r.icon, this.color_ranges = this.convertValues(r.color_ranges, d), this.format_string = r.format_string, this.supported_shapes = r.supported_shapes, this.chart_group = r.chart_group;
639
635
  }
640
- static createFrom(n = {}) {
641
- return new y(n);
636
+ static createFrom(r = {}) {
637
+ return new f(r);
642
638
  }
643
- convertValues(n, v, b = !1) {
644
- if (!n)
645
- return n;
646
- if (n.slice && n.map)
647
- return n.map((d) => this.convertValues(d, v));
648
- if (typeof n == "object") {
639
+ convertValues(r, g, b = !1) {
640
+ if (!r)
641
+ return r;
642
+ if (r.slice && r.map)
643
+ return r.map((u) => this.convertValues(u, g));
644
+ if (typeof r == "object") {
649
645
  if (b) {
650
- for (const d of Object.keys(n))
651
- n[d] = new v(n[d]);
652
- return n;
646
+ for (const u of Object.keys(r))
647
+ r[u] = new g(r[u]);
648
+ return r;
653
649
  }
654
- return new v(n);
650
+ return new g(r);
655
651
  }
656
- return n;
652
+ return r;
657
653
  }
658
654
  }
659
- a.MetricDescriptor = y;
660
- class r {
661
- constructor(n = {}) {
655
+ a.MetricDescriptor = f;
656
+ class n {
657
+ constructor(r = {}) {
662
658
  e(this, "resource");
663
659
  e(this, "metrics");
664
- typeof n == "string" && (n = JSON.parse(n)), this.resource = n.resource, this.metrics = this.convertValues(n.metrics, y);
660
+ typeof r == "string" && (r = JSON.parse(r)), this.resource = r.resource, this.metrics = this.convertValues(r.metrics, f);
665
661
  }
666
- static createFrom(n = {}) {
667
- return new r(n);
662
+ static createFrom(r = {}) {
663
+ return new n(r);
668
664
  }
669
- convertValues(n, v, b = !1) {
670
- if (!n)
671
- return n;
672
- if (n.slice && n.map)
673
- return n.map((d) => this.convertValues(d, v));
674
- if (typeof n == "object") {
665
+ convertValues(r, g, b = !1) {
666
+ if (!r)
667
+ return r;
668
+ if (r.slice && r.map)
669
+ return r.map((u) => this.convertValues(u, g));
670
+ if (typeof r == "object") {
675
671
  if (b) {
676
- for (const d of Object.keys(n))
677
- n[d] = new v(n[d]);
678
- return n;
672
+ for (const u of Object.keys(r))
673
+ r[u] = new g(r[u]);
674
+ return r;
679
675
  }
680
- return new v(n);
676
+ return new g(r);
681
677
  }
682
- return n;
678
+ return r;
683
679
  }
684
680
  }
685
- a.Handler = r;
686
- class i {
687
- constructor(n = {}) {
681
+ a.Handler = n;
682
+ class l {
683
+ constructor(r = {}) {
688
684
  e(this, "plugin_id");
689
685
  e(this, "provider_id");
690
686
  e(this, "name");
691
687
  e(this, "icon");
692
688
  e(this, "description");
693
689
  e(this, "handlers");
694
- typeof n == "string" && (n = JSON.parse(n)), this.plugin_id = n.plugin_id, this.provider_id = n.provider_id, this.name = n.name, this.icon = n.icon, this.description = n.description, this.handlers = this.convertValues(n.handlers, r);
690
+ typeof r == "string" && (r = JSON.parse(r)), this.plugin_id = r.plugin_id, this.provider_id = r.provider_id, this.name = r.name, this.icon = r.icon, this.description = r.description, this.handlers = this.convertValues(r.handlers, n);
695
691
  }
696
- static createFrom(n = {}) {
697
- return new i(n);
692
+ static createFrom(r = {}) {
693
+ return new l(r);
698
694
  }
699
- convertValues(n, v, b = !1) {
700
- if (!n)
701
- return n;
702
- if (n.slice && n.map)
703
- return n.map((d) => this.convertValues(d, v));
704
- if (typeof n == "object") {
695
+ convertValues(r, g, b = !1) {
696
+ if (!r)
697
+ return r;
698
+ if (r.slice && r.map)
699
+ return r.map((u) => this.convertValues(u, g));
700
+ if (typeof r == "object") {
705
701
  if (b) {
706
- for (const d of Object.keys(n))
707
- n[d] = new v(n[d]);
708
- return n;
702
+ for (const u of Object.keys(r))
703
+ r[u] = new g(r[u]);
704
+ return r;
709
705
  }
710
- return new v(n);
706
+ return new g(r);
711
707
  }
712
- return n;
708
+ return r;
713
709
  }
714
710
  }
715
- a.MetricProviderSummary = i;
716
- class m {
717
- constructor(n = {}) {
711
+ a.MetricProviderSummary = l;
712
+ class i {
713
+ constructor(r = {}) {
718
714
  e(this, "metric_id");
719
715
  e(this, "data_points");
720
716
  e(this, "labels");
721
- typeof n == "string" && (n = JSON.parse(n)), this.metric_id = n.metric_id, this.data_points = this.convertValues(n.data_points, o), this.labels = n.labels;
717
+ typeof r == "string" && (r = JSON.parse(r)), this.metric_id = r.metric_id, this.data_points = this.convertValues(r.data_points, o), this.labels = r.labels;
722
718
  }
723
- static createFrom(n = {}) {
724
- return new m(n);
719
+ static createFrom(r = {}) {
720
+ return new i(r);
725
721
  }
726
- convertValues(n, v, b = !1) {
727
- if (!n)
728
- return n;
729
- if (n.slice && n.map)
730
- return n.map((d) => this.convertValues(d, v));
731
- if (typeof n == "object") {
722
+ convertValues(r, g, b = !1) {
723
+ if (!r)
724
+ return r;
725
+ if (r.slice && r.map)
726
+ return r.map((u) => this.convertValues(u, g));
727
+ if (typeof r == "object") {
732
728
  if (b) {
733
- for (const d of Object.keys(n))
734
- n[d] = new v(n[d]);
735
- return n;
729
+ for (const u of Object.keys(r))
730
+ r[u] = new g(r[u]);
731
+ return r;
736
732
  }
737
- return new v(n);
733
+ return new g(r);
738
734
  }
739
- return n;
735
+ return r;
740
736
  }
741
737
  }
742
- a.TimeSeries = m;
738
+ a.TimeSeries = i;
743
739
  class s {
744
- constructor(n = {}) {
740
+ constructor(r = {}) {
745
741
  e(this, "time_series");
746
742
  e(this, "current_value");
747
743
  e(this, "aggregate_value");
748
- typeof n == "string" && (n = JSON.parse(n)), this.time_series = this.convertValues(n.time_series, m), this.current_value = this.convertValues(n.current_value, l), this.aggregate_value = this.convertValues(n.aggregate_value, p);
744
+ typeof r == "string" && (r = JSON.parse(r)), this.time_series = this.convertValues(r.time_series, i), this.current_value = this.convertValues(r.current_value, p), this.aggregate_value = this.convertValues(r.aggregate_value, h);
749
745
  }
750
- static createFrom(n = {}) {
751
- return new s(n);
746
+ static createFrom(r = {}) {
747
+ return new s(r);
752
748
  }
753
- convertValues(n, v, b = !1) {
754
- if (!n)
755
- return n;
756
- if (n.slice && n.map)
757
- return n.map((d) => this.convertValues(d, v));
758
- if (typeof n == "object") {
749
+ convertValues(r, g, b = !1) {
750
+ if (!r)
751
+ return r;
752
+ if (r.slice && r.map)
753
+ return r.map((u) => this.convertValues(u, g));
754
+ if (typeof r == "object") {
759
755
  if (b) {
760
- for (const d of Object.keys(n))
761
- n[d] = new v(n[d]);
762
- return n;
756
+ for (const u of Object.keys(r))
757
+ r[u] = new g(r[u]);
758
+ return r;
763
759
  }
764
- return new v(n);
760
+ return new g(r);
765
761
  }
766
- return n;
762
+ return r;
767
763
  }
768
764
  }
769
765
  a.MetricResult = s;
770
- class c {
771
- constructor(n = {}) {
766
+ class v {
767
+ constructor(r = {}) {
772
768
  e(this, "resource_key");
773
769
  e(this, "resource_id");
774
770
  e(this, "resource_namespace");
@@ -779,98 +775,98 @@ var K;
779
775
  e(this, "end_time");
780
776
  e(this, "step");
781
777
  e(this, "params");
782
- typeof n == "string" && (n = JSON.parse(n)), this.resource_key = n.resource_key, this.resource_id = n.resource_id, this.resource_namespace = n.resource_namespace, this.resource_data = n.resource_data, this.metric_ids = n.metric_ids, this.shape = n.shape, this.start_time = this.convertValues(n.start_time, _.Time), this.end_time = this.convertValues(n.end_time, _.Time), this.step = n.step, this.params = n.params;
778
+ typeof r == "string" && (r = JSON.parse(r)), this.resource_key = r.resource_key, this.resource_id = r.resource_id, this.resource_namespace = r.resource_namespace, this.resource_data = r.resource_data, this.metric_ids = r.metric_ids, this.shape = r.shape, this.start_time = this.convertValues(r.start_time, S.Time), this.end_time = this.convertValues(r.end_time, S.Time), this.step = r.step, this.params = r.params;
783
779
  }
784
- static createFrom(n = {}) {
785
- return new c(n);
780
+ static createFrom(r = {}) {
781
+ return new v(r);
786
782
  }
787
- convertValues(n, v, b = !1) {
788
- if (!n)
789
- return n;
790
- if (n.slice && n.map)
791
- return n.map((d) => this.convertValues(d, v));
792
- if (typeof n == "object") {
783
+ convertValues(r, g, b = !1) {
784
+ if (!r)
785
+ return r;
786
+ if (r.slice && r.map)
787
+ return r.map((u) => this.convertValues(u, g));
788
+ if (typeof r == "object") {
793
789
  if (b) {
794
- for (const d of Object.keys(n))
795
- n[d] = new v(n[d]);
796
- return n;
790
+ for (const u of Object.keys(r))
791
+ r[u] = new g(r[u]);
792
+ return r;
797
793
  }
798
- return new v(n);
794
+ return new g(r);
799
795
  }
800
- return n;
796
+ return r;
801
797
  }
802
798
  }
803
- a.QueryRequest = c;
804
- class O {
805
- constructor(n = {}) {
799
+ a.QueryRequest = v;
800
+ class m {
801
+ constructor(r = {}) {
806
802
  e(this, "success");
807
803
  e(this, "results");
808
804
  e(this, "error");
809
- typeof n == "string" && (n = JSON.parse(n)), this.success = n.success, this.results = this.convertValues(n.results, s), this.error = n.error;
805
+ typeof r == "string" && (r = JSON.parse(r)), this.success = r.success, this.results = this.convertValues(r.results, s), this.error = r.error;
810
806
  }
811
- static createFrom(n = {}) {
812
- return new O(n);
807
+ static createFrom(r = {}) {
808
+ return new m(r);
813
809
  }
814
- convertValues(n, v, b = !1) {
815
- if (!n)
816
- return n;
817
- if (n.slice && n.map)
818
- return n.map((d) => this.convertValues(d, v));
819
- if (typeof n == "object") {
810
+ convertValues(r, g, b = !1) {
811
+ if (!r)
812
+ return r;
813
+ if (r.slice && r.map)
814
+ return r.map((u) => this.convertValues(u, g));
815
+ if (typeof r == "object") {
820
816
  if (b) {
821
- for (const d of Object.keys(n))
822
- n[d] = new v(n[d]);
823
- return n;
817
+ for (const u of Object.keys(r))
818
+ r[u] = new g(r[u]);
819
+ return r;
824
820
  }
825
- return new v(n);
821
+ return new g(r);
826
822
  }
827
- return n;
823
+ return r;
828
824
  }
829
825
  }
830
- a.QueryResponse = O;
831
- class w {
832
- constructor(n = {}) {
826
+ a.QueryResponse = m;
827
+ class V {
828
+ constructor(r = {}) {
833
829
  e(this, "resource_key");
834
830
  e(this, "resource_id");
835
831
  e(this, "resource_namespace");
836
832
  e(this, "resource_data");
837
833
  e(this, "metric_ids");
838
834
  e(this, "interval");
839
- typeof n == "string" && (n = JSON.parse(n)), this.resource_key = n.resource_key, this.resource_id = n.resource_id, this.resource_namespace = n.resource_namespace, this.resource_data = n.resource_data, this.metric_ids = n.metric_ids, this.interval = n.interval;
835
+ typeof r == "string" && (r = JSON.parse(r)), this.resource_key = r.resource_key, this.resource_id = r.resource_id, this.resource_namespace = r.resource_namespace, this.resource_data = r.resource_data, this.metric_ids = r.metric_ids, this.interval = r.interval;
840
836
  }
841
- static createFrom(n = {}) {
842
- return new w(n);
837
+ static createFrom(r = {}) {
838
+ return new V(r);
843
839
  }
844
840
  }
845
- a.SubscribeRequest = w;
846
- })(K || (K = {}));
847
- var H;
841
+ a.SubscribeRequest = V;
842
+ })(W || (W = {}));
843
+ var tt;
848
844
  ((a) => {
849
- class p {
850
- constructor(r = {}) {
845
+ class h {
846
+ constructor(n = {}) {
851
847
  e(this, "resource_id");
852
848
  e(this, "connection_id");
853
- typeof r == "string" && (r = JSON.parse(r)), this.resource_id = r.resource_id, this.connection_id = r.connection_id;
849
+ typeof n == "string" && (n = JSON.parse(n)), this.resource_id = n.resource_id, this.connection_id = n.connection_id;
854
850
  }
855
- static createFrom(r = {}) {
856
- return new p(r);
851
+ static createFrom(n = {}) {
852
+ return new h(n);
857
853
  }
858
854
  }
859
- a.FindPortForwardSessionRequest = p;
860
- class f {
861
- constructor(r = {}) {
855
+ a.FindPortForwardSessionRequest = h;
856
+ class d {
857
+ constructor(n = {}) {
862
858
  e(this, "algorithm");
863
859
  e(this, "key");
864
860
  e(this, "enabled");
865
- typeof r == "string" && (r = JSON.parse(r)), this.algorithm = r.algorithm, this.key = r.key, this.enabled = r.enabled;
861
+ typeof n == "string" && (n = JSON.parse(n)), this.algorithm = n.algorithm, this.key = n.key, this.enabled = n.enabled;
866
862
  }
867
- static createFrom(r = {}) {
868
- return new f(r);
863
+ static createFrom(n = {}) {
864
+ return new d(n);
869
865
  }
870
866
  }
871
- a.PortForwardSessionEncryption = f;
872
- class l {
873
- constructor(r = {}) {
867
+ a.PortForwardSessionEncryption = d;
868
+ class p {
869
+ constructor(n = {}) {
874
870
  e(this, "created_at");
875
871
  e(this, "updated_at");
876
872
  e(this, "connection");
@@ -882,30 +878,30 @@ var H;
882
878
  e(this, "encryption");
883
879
  e(this, "local_port");
884
880
  e(this, "remote_port");
885
- typeof r == "string" && (r = JSON.parse(r)), this.created_at = this.convertValues(r.created_at, _.Time), this.updated_at = this.convertValues(r.updated_at, _.Time), this.connection = r.connection, this.labels = r.labels, this.id = r.id, this.protocol = r.protocol, this.state = r.state, this.connection_type = r.connection_type, this.encryption = this.convertValues(r.encryption, f), this.local_port = r.local_port, this.remote_port = r.remote_port;
881
+ typeof n == "string" && (n = JSON.parse(n)), this.created_at = this.convertValues(n.created_at, S.Time), this.updated_at = this.convertValues(n.updated_at, S.Time), this.connection = n.connection, this.labels = n.labels, this.id = n.id, this.protocol = n.protocol, this.state = n.state, this.connection_type = n.connection_type, this.encryption = this.convertValues(n.encryption, d), this.local_port = n.local_port, this.remote_port = n.remote_port;
886
882
  }
887
- static createFrom(r = {}) {
888
- return new l(r);
883
+ static createFrom(n = {}) {
884
+ return new p(n);
889
885
  }
890
- convertValues(r, i, m = !1) {
891
- if (!r)
892
- return r;
893
- if (r.slice && r.map)
894
- return r.map((s) => this.convertValues(s, i));
895
- if (typeof r == "object") {
896
- if (m) {
897
- for (const s of Object.keys(r))
898
- r[s] = new i(r[s]);
899
- return r;
886
+ convertValues(n, l, i = !1) {
887
+ if (!n)
888
+ return n;
889
+ if (n.slice && n.map)
890
+ return n.map((s) => this.convertValues(s, l));
891
+ if (typeof n == "object") {
892
+ if (i) {
893
+ for (const s of Object.keys(n))
894
+ n[s] = new l(n[s]);
895
+ return n;
900
896
  }
901
- return new i(r);
897
+ return new l(n);
902
898
  }
903
- return r;
899
+ return n;
904
900
  }
905
901
  }
906
- a.PortForwardSession = l;
902
+ a.PortForwardSession = p;
907
903
  class o {
908
- constructor(r = {}) {
904
+ constructor(n = {}) {
909
905
  e(this, "connection");
910
906
  e(this, "labels");
911
907
  e(this, "params");
@@ -914,63 +910,98 @@ var H;
914
910
  e(this, "encryption");
915
911
  e(this, "local_port");
916
912
  e(this, "remote_port");
917
- typeof r == "string" && (r = JSON.parse(r)), this.connection = r.connection, this.labels = r.labels, this.params = r.params, this.protocol = r.protocol, this.connection_type = r.connection_type, this.encryption = this.convertValues(r.encryption, f), this.local_port = r.local_port, this.remote_port = r.remote_port;
913
+ typeof n == "string" && (n = JSON.parse(n)), this.connection = n.connection, this.labels = n.labels, this.params = n.params, this.protocol = n.protocol, this.connection_type = n.connection_type, this.encryption = this.convertValues(n.encryption, d), this.local_port = n.local_port, this.remote_port = n.remote_port;
918
914
  }
919
- static createFrom(r = {}) {
920
- return new o(r);
915
+ static createFrom(n = {}) {
916
+ return new o(n);
921
917
  }
922
- convertValues(r, i, m = !1) {
923
- if (!r)
924
- return r;
925
- if (r.slice && r.map)
926
- return r.map((s) => this.convertValues(s, i));
927
- if (typeof r == "object") {
928
- if (m) {
929
- for (const s of Object.keys(r))
930
- r[s] = new i(r[s]);
931
- return r;
918
+ convertValues(n, l, i = !1) {
919
+ if (!n)
920
+ return n;
921
+ if (n.slice && n.map)
922
+ return n.map((s) => this.convertValues(s, l));
923
+ if (typeof n == "object") {
924
+ if (i) {
925
+ for (const s of Object.keys(n))
926
+ n[s] = new l(n[s]);
927
+ return n;
932
928
  }
933
- return new i(r);
929
+ return new l(n);
934
930
  }
935
- return r;
931
+ return n;
936
932
  }
937
933
  }
938
934
  a.PortForwardSessionOptions = o;
939
- })(H || (H = {}));
940
- var Q;
935
+ })(tt || (tt = {}));
936
+ var et;
941
937
  ((a) => {
942
- class p {
943
- constructor(l = {}) {
938
+ class h {
939
+ constructor(p = {}) {
944
940
  e(this, "DevMode");
945
941
  e(this, "DevModePath");
946
942
  e(this, "ExistingState");
947
- typeof l == "string" && (l = JSON.parse(l)), this.DevMode = l.DevMode, this.DevModePath = l.DevModePath, this.ExistingState = this.convertValues(l.ExistingState, S.PluginStateRecord);
948
- }
949
- static createFrom(l = {}) {
950
- return new p(l);
951
- }
952
- convertValues(l, o, y = !1) {
953
- if (!l)
954
- return l;
955
- if (l.slice && l.map)
956
- return l.map((r) => this.convertValues(r, o));
957
- if (typeof l == "object") {
958
- if (y) {
959
- for (const r of Object.keys(l))
960
- l[r] = new o(l[r]);
961
- return l;
943
+ typeof p == "string" && (p = JSON.parse(p)), this.DevMode = p.DevMode, this.DevModePath = p.DevModePath, this.ExistingState = this.convertValues(p.ExistingState, Y.PluginStateRecord);
944
+ }
945
+ static createFrom(p = {}) {
946
+ return new h(p);
947
+ }
948
+ convertValues(p, o, f = !1) {
949
+ if (!p)
950
+ return p;
951
+ if (p.slice && p.map)
952
+ return p.map((n) => this.convertValues(n, o));
953
+ if (typeof p == "object") {
954
+ if (f) {
955
+ for (const n of Object.keys(p))
956
+ p[n] = new o(p[n]);
957
+ return p;
962
958
  }
963
- return new o(l);
959
+ return new o(p);
964
960
  }
965
- return l;
961
+ return p;
966
962
  }
967
963
  }
968
- a.LoadPluginOptions = p;
969
- })(Q || (Q = {}));
970
- var Y;
964
+ a.LoadPluginOptions = h;
965
+ })(et || (et = {}));
966
+ var it;
971
967
  ((a) => {
968
+ class h {
969
+ constructor(f = {}) {
970
+ e(this, "timestamp");
971
+ e(this, "pluginID");
972
+ e(this, "source");
973
+ e(this, "level");
974
+ e(this, "message");
975
+ typeof f == "string" && (f = JSON.parse(f)), this.timestamp = f.timestamp, this.pluginID = f.pluginID, this.source = f.source, this.level = f.level, this.message = f.message;
976
+ }
977
+ static createFrom(f = {}) {
978
+ return new h(f);
979
+ }
980
+ }
981
+ a.LogEntry = h;
982
+ class d {
983
+ static createFrom(f = {}) {
984
+ return new d(f);
985
+ }
986
+ constructor(f = {}) {
987
+ typeof f == "string" && (f = JSON.parse(f));
988
+ }
989
+ }
990
+ a.Manager = d;
972
991
  class p {
973
- constructor(i = {}) {
992
+ static createFrom(f = {}) {
993
+ return new p(f);
994
+ }
995
+ constructor(f = {}) {
996
+ typeof f == "string" && (f = JSON.parse(f));
997
+ }
998
+ }
999
+ a.PluginLogStream = p;
1000
+ })(it || (it = {}));
1001
+ var nt;
1002
+ ((a) => {
1003
+ class h {
1004
+ constructor(l = {}) {
974
1005
  e(this, "id");
975
1006
  e(this, "name");
976
1007
  e(this, "description");
@@ -990,69 +1021,69 @@ var Y;
990
1021
  e(this, "installed_version");
991
1022
  e(this, "latest_version");
992
1023
  e(this, "update_available");
993
- typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.name = i.name, this.description = i.description, this.icon_url = i.icon_url, this.category = i.category, this.tags = i.tags, this.license = i.license, this.official = i.official, this.featured = i.featured, this.download_count = i.download_count, this.average_rating = i.average_rating, this.review_count = i.review_count, this.repository = i.repository, this.url = i.url, this.publisher_name = i.publisher_name, this.installed = i.installed, this.installed_version = i.installed_version, this.latest_version = i.latest_version, this.update_available = i.update_available;
1024
+ typeof l == "string" && (l = JSON.parse(l)), this.id = l.id, this.name = l.name, this.description = l.description, this.icon_url = l.icon_url, this.category = l.category, this.tags = l.tags, this.license = l.license, this.official = l.official, this.featured = l.featured, this.download_count = l.download_count, this.average_rating = l.average_rating, this.review_count = l.review_count, this.repository = l.repository, this.url = l.url, this.publisher_name = l.publisher_name, this.installed = l.installed, this.installed_version = l.installed_version, this.latest_version = l.latest_version, this.update_available = l.update_available;
994
1025
  }
995
- static createFrom(i = {}) {
996
- return new p(i);
1026
+ static createFrom(l = {}) {
1027
+ return new h(l);
997
1028
  }
998
1029
  }
999
- a.AvailablePlugin = p;
1000
- class f {
1001
- constructor(i = {}) {
1030
+ a.AvailablePlugin = h;
1031
+ class d {
1032
+ constructor(l = {}) {
1002
1033
  e(this, "date");
1003
1034
  e(this, "count");
1004
- typeof i == "string" && (i = JSON.parse(i)), this.date = i.date, this.count = i.count;
1035
+ typeof l == "string" && (l = JSON.parse(l)), this.date = l.date, this.count = l.count;
1005
1036
  }
1006
- static createFrom(i = {}) {
1007
- return new f(i);
1037
+ static createFrom(l = {}) {
1038
+ return new d(l);
1008
1039
  }
1009
1040
  }
1010
- a.DailyStat = f;
1011
- class l {
1012
- constructor(i = {}) {
1041
+ a.DailyStat = d;
1042
+ class p {
1043
+ constructor(l = {}) {
1013
1044
  e(this, "total");
1014
1045
  e(this, "last_month");
1015
1046
  e(this, "last_week");
1016
1047
  e(this, "daily_stats");
1017
- typeof i == "string" && (i = JSON.parse(i)), this.total = i.total, this.last_month = i.last_month, this.last_week = i.last_week, this.daily_stats = this.convertValues(i.daily_stats, f);
1048
+ typeof l == "string" && (l = JSON.parse(l)), this.total = l.total, this.last_month = l.last_month, this.last_week = l.last_week, this.daily_stats = this.convertValues(l.daily_stats, d);
1018
1049
  }
1019
- static createFrom(i = {}) {
1020
- return new l(i);
1050
+ static createFrom(l = {}) {
1051
+ return new p(l);
1021
1052
  }
1022
- convertValues(i, m, s = !1) {
1023
- if (!i)
1024
- return i;
1025
- if (i.slice && i.map)
1026
- return i.map((c) => this.convertValues(c, m));
1027
- if (typeof i == "object") {
1053
+ convertValues(l, i, s = !1) {
1054
+ if (!l)
1055
+ return l;
1056
+ if (l.slice && l.map)
1057
+ return l.map((v) => this.convertValues(v, i));
1058
+ if (typeof l == "object") {
1028
1059
  if (s) {
1029
- for (const c of Object.keys(i))
1030
- i[c] = new m(i[c]);
1031
- return i;
1060
+ for (const v of Object.keys(l))
1061
+ l[v] = new i(l[v]);
1062
+ return l;
1032
1063
  }
1033
- return new m(i);
1064
+ return new i(l);
1034
1065
  }
1035
- return i;
1066
+ return l;
1036
1067
  }
1037
1068
  }
1038
- a.DownloadStats = l;
1069
+ a.DownloadStats = p;
1039
1070
  class o {
1040
- constructor(i = {}) {
1071
+ constructor(l = {}) {
1041
1072
  e(this, "id");
1042
1073
  e(this, "user_id");
1043
1074
  e(this, "rating");
1044
1075
  e(this, "title");
1045
1076
  e(this, "body");
1046
1077
  e(this, "created_at");
1047
- typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.user_id = i.user_id, this.rating = i.rating, this.title = i.title, this.body = i.body, this.created_at = i.created_at;
1078
+ typeof l == "string" && (l = JSON.parse(l)), this.id = l.id, this.user_id = l.user_id, this.rating = l.rating, this.title = l.title, this.body = l.body, this.created_at = l.created_at;
1048
1079
  }
1049
- static createFrom(i = {}) {
1050
- return new o(i);
1080
+ static createFrom(l = {}) {
1081
+ return new o(l);
1051
1082
  }
1052
1083
  }
1053
1084
  a.Review = o;
1054
- class y {
1055
- constructor(i = {}) {
1085
+ class f {
1086
+ constructor(l = {}) {
1056
1087
  e(this, "version");
1057
1088
  e(this, "description");
1058
1089
  e(this, "changelog");
@@ -1060,191 +1091,113 @@ var Y;
1060
1091
  e(this, "max_ide_version");
1061
1092
  e(this, "capabilities");
1062
1093
  e(this, "created_at");
1063
- typeof i == "string" && (i = JSON.parse(i)), this.version = i.version, this.description = i.description, this.changelog = i.changelog, this.min_ide_version = i.min_ide_version, this.max_ide_version = i.max_ide_version, this.capabilities = i.capabilities, this.created_at = i.created_at;
1094
+ typeof l == "string" && (l = JSON.parse(l)), this.version = l.version, this.description = l.description, this.changelog = l.changelog, this.min_ide_version = l.min_ide_version, this.max_ide_version = l.max_ide_version, this.capabilities = l.capabilities, this.created_at = l.created_at;
1064
1095
  }
1065
- static createFrom(i = {}) {
1066
- return new y(i);
1096
+ static createFrom(l = {}) {
1097
+ return new f(l);
1067
1098
  }
1068
1099
  }
1069
- a.VersionInfo = y;
1070
- })(Y || (Y = {}));
1071
- var q;
1100
+ a.VersionInfo = f;
1101
+ })(nt || (nt = {}));
1102
+ var rt;
1072
1103
  ((a) => {
1073
- ((y) => {
1074
- y.TEXT = "text", y.INTEGER = "integer", y.FLOAT = "float", y.TOGGLE = "toggle", y.COLOR = "color", y.DATETIME = "datetime", y.PASSWORD = "password";
1075
- })(a.SettingType || (a.SettingType = {}));
1076
- class p {
1077
- constructor(r = {}) {
1078
- e(this, "enabled");
1079
- e(this, "allowFolders");
1080
- e(this, "extensions");
1081
- e(this, "multiple");
1082
- e(this, "relative");
1083
- e(this, "defaultPath");
1084
- typeof r == "string" && (r = JSON.parse(r)), this.enabled = r.enabled, this.allowFolders = r.allowFolders, this.extensions = r.extensions, this.multiple = r.multiple, this.relative = r.relative, this.defaultPath = r.defaultPath;
1085
- }
1086
- static createFrom(r = {}) {
1087
- return new p(r);
1088
- }
1089
- }
1090
- a.SettingFileSelection = p;
1091
- class f {
1092
- constructor(r = {}) {
1093
- e(this, "label");
1104
+ ((O) => {
1105
+ O[O.IDLE = 0] = "IDLE", O[O.SYNCING = 1] = "SYNCING", O[O.SYNCED = 2] = "SYNCED", O[O.ERROR = 3] = "ERROR", O[O.STOPPED = 4] = "STOPPED", O[O.FAILED = 5] = "FAILED", O[O.FORBIDDEN = 6] = "FORBIDDEN", O[O.SKIPPED = 7] = "SKIPPED";
1106
+ })(a.WatchState || (a.WatchState = {})), ((O) => {
1107
+ O[O.ON_CONNECT = 0] = "ON_CONNECT", O[O.ON_FIRST_QUERY = 1] = "ON_FIRST_QUERY", O[O.NEVER = 2] = "NEVER";
1108
+ })(a.SyncPolicy || (a.SyncPolicy = {}));
1109
+ class h {
1110
+ constructor(t = {}) {
1111
+ e(this, "type");
1094
1112
  e(this, "description");
1095
- e(this, "value");
1096
- typeof r == "string" && (r = JSON.parse(r)), this.label = r.label, this.description = r.description, this.value = r.value;
1113
+ e(this, "enum");
1114
+ e(this, "default");
1115
+ e(this, "minimum");
1116
+ e(this, "maximum");
1117
+ e(this, "properties");
1118
+ e(this, "required");
1119
+ typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.description = t.description, this.enum = t.enum, this.default = t.default, this.minimum = t.minimum, this.maximum = t.maximum, this.properties = this.convertValues(t.properties, h, !0), this.required = t.required;
1097
1120
  }
1098
- static createFrom(r = {}) {
1099
- return new f(r);
1121
+ static createFrom(t = {}) {
1122
+ return new h(t);
1123
+ }
1124
+ convertValues(t, y, w = !1) {
1125
+ if (!t)
1126
+ return t;
1127
+ if (t.slice && t.map)
1128
+ return t.map((c) => this.convertValues(c, y));
1129
+ if (typeof t == "object") {
1130
+ if (w) {
1131
+ for (const c of Object.keys(t))
1132
+ t[c] = new y(t[c]);
1133
+ return t;
1134
+ }
1135
+ return new y(t);
1136
+ }
1137
+ return t;
1100
1138
  }
1101
1139
  }
1102
- a.SettingOption = f;
1103
- class l {
1104
- constructor(r = {}) {
1105
- e(this, "id");
1106
- e(this, "label");
1107
- e(this, "description");
1108
- e(this, "type");
1109
- e(this, "value");
1110
- e(this, "default");
1111
- e(this, "options");
1112
- e(this, "fileSelection");
1113
- e(this, "sensitive");
1114
- typeof r == "string" && (r = JSON.parse(r)), this.id = r.id, this.label = r.label, this.description = r.description, this.type = r.type, this.value = r.value, this.default = r.default, this.options = this.convertValues(r.options, f), this.fileSelection = this.convertValues(r.fileSelection, p), this.sensitive = r.sensitive;
1140
+ a.SchemaProperty = h;
1141
+ class d {
1142
+ constructor(t = {}) {
1143
+ e(this, "properties");
1144
+ e(this, "required");
1145
+ typeof t == "string" && (t = JSON.parse(t)), this.properties = this.convertValues(t.properties, h, !0), this.required = t.required;
1115
1146
  }
1116
- static createFrom(r = {}) {
1117
- return new l(r);
1147
+ static createFrom(t = {}) {
1148
+ return new d(t);
1118
1149
  }
1119
- convertValues(r, i, m = !1) {
1120
- if (!r)
1121
- return r;
1122
- if (r.slice && r.map)
1123
- return r.map((s) => this.convertValues(s, i));
1124
- if (typeof r == "object") {
1125
- if (m) {
1126
- for (const s of Object.keys(r))
1127
- r[s] = new i(r[s]);
1128
- return r;
1150
+ convertValues(t, y, w = !1) {
1151
+ if (!t)
1152
+ return t;
1153
+ if (t.slice && t.map)
1154
+ return t.map((c) => this.convertValues(c, y));
1155
+ if (typeof t == "object") {
1156
+ if (w) {
1157
+ for (const c of Object.keys(t))
1158
+ t[c] = new y(t[c]);
1159
+ return t;
1129
1160
  }
1130
- return new i(r);
1161
+ return new y(t);
1131
1162
  }
1132
- return r;
1163
+ return t;
1133
1164
  }
1134
1165
  }
1135
- a.Setting = l;
1136
- class o {
1137
- constructor(r = {}) {
1138
- e(this, "settings");
1166
+ a.Schema = d;
1167
+ class p {
1168
+ constructor(t = {}) {
1139
1169
  e(this, "id");
1140
1170
  e(this, "label");
1141
1171
  e(this, "description");
1142
1172
  e(this, "icon");
1143
- typeof r == "string" && (r = JSON.parse(r)), this.settings = this.convertValues(r.settings, l, !0), this.id = r.id, this.label = r.label, this.description = r.description, this.icon = r.icon;
1173
+ e(this, "scope");
1174
+ e(this, "streaming");
1175
+ e(this, "paramsSchema");
1176
+ e(this, "outputSchema");
1177
+ e(this, "dangerous");
1178
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.label = t.label, this.description = t.description, this.icon = t.icon, this.scope = t.scope, this.streaming = t.streaming, this.paramsSchema = this.convertValues(t.paramsSchema, d), this.outputSchema = this.convertValues(t.outputSchema, d), this.dangerous = t.dangerous;
1144
1179
  }
1145
- static createFrom(r = {}) {
1146
- return new o(r);
1180
+ static createFrom(t = {}) {
1181
+ return new p(t);
1147
1182
  }
1148
- convertValues(r, i, m = !1) {
1149
- if (!r)
1150
- return r;
1151
- if (r.slice && r.map)
1152
- return r.map((s) => this.convertValues(s, i));
1153
- if (typeof r == "object") {
1154
- if (m) {
1155
- for (const s of Object.keys(r))
1156
- r[s] = new i(r[s]);
1157
- return r;
1158
- }
1159
- return new i(r);
1160
- }
1161
- return r;
1162
- }
1163
- }
1164
- a.Category = o;
1165
- })(q || (q = {}));
1166
- var _;
1167
- ((a) => {
1168
- class p {
1169
- static createFrom(l = {}) {
1170
- return new p(l);
1171
- }
1172
- constructor(l = {}) {
1173
- typeof l == "string" && (l = JSON.parse(l));
1174
- }
1175
- }
1176
- a.Time = p;
1177
- })(_ || (_ = {}));
1178
- var W;
1179
- ((a) => {
1180
- ((l) => {
1181
- l.CONFIG = "config", l.FILESYSTEM = "fs", l.IMAGE = "image", l.KUBERNETES = "kubernetes", l.REPOSITORY = "repository", l.ROOTFS = "rootfs", l.SBOM = "sbom";
1182
- })(a.Command || (a.Command = {})), ((l) => {
1183
- l.VULN = "vuln", l.MISCONFIG = "misconfig", l.SECRET = "secret", l.LICENSE = "license";
1184
- })(a.Scanner || (a.Scanner = {}));
1185
- class p {
1186
- constructor(o = {}) {
1187
- e(this, "filePatterns");
1188
- e(this, "skipDirs");
1189
- e(this, "skipFiles");
1190
- e(this, "scanners");
1191
- typeof o == "string" && (o = JSON.parse(o)), this.filePatterns = o.filePatterns, this.skipDirs = o.skipDirs, this.skipFiles = o.skipFiles, this.scanners = o.scanners;
1192
- }
1193
- static createFrom(o = {}) {
1194
- return new p(o);
1195
- }
1196
- }
1197
- a.ScanOptions = p;
1198
- class f {
1199
- constructor(o = {}) {
1200
- e(this, "timestamp");
1201
- e(this, "result");
1202
- e(this, "id");
1203
- e(this, "command");
1204
- typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp, _.Time), this.result = o.result, this.id = o.id, this.command = o.command;
1205
- }
1206
- static createFrom(o = {}) {
1207
- return new f(o);
1208
- }
1209
- convertValues(o, y, r = !1) {
1210
- if (!o)
1211
- return o;
1212
- if (o.slice && o.map)
1213
- return o.map((i) => this.convertValues(i, y));
1214
- if (typeof o == "object") {
1215
- if (r) {
1216
- for (const i of Object.keys(o))
1217
- o[i] = new y(o[i]);
1218
- return o;
1183
+ convertValues(t, y, w = !1) {
1184
+ if (!t)
1185
+ return t;
1186
+ if (t.slice && t.map)
1187
+ return t.map((c) => this.convertValues(c, y));
1188
+ if (typeof t == "object") {
1189
+ if (w) {
1190
+ for (const c of Object.keys(t))
1191
+ t[c] = new y(t[c]);
1192
+ return t;
1219
1193
  }
1220
- return new y(o);
1194
+ return new y(t);
1221
1195
  }
1222
- return o;
1223
- }
1224
- }
1225
- a.ScanResult = f;
1226
- })(W || (W = {}));
1227
- var S;
1228
- ((a) => {
1229
- ((V) => {
1230
- V.UNKNOWN = "UNKNOWN", V.CONNECTED = "CONNECTED", V.DISCONNECTED = "DISCONNECTED", V.PENDING = "PENDING", V.FAILED = "FAILED", V.ERROR = "ERROR", V.UNAUTHORIZED = "UNAUTHORIZED", V.FORBIDDEN = "FORBIDDEN", V.BAD_REQUEST = "BAD_REQUEST", V.NOT_FOUND = "NOT_FOUND", V.TIMEOUT = "TIMEOUT", V.UNAVAILABLE = "UNAVAILABLE", V.REQUEST_ENTITY_TOO_LARGE = "REQUEST_ENTITY_TOO_LARGE";
1231
- })(a.ConnectionStatusCode || (a.ConnectionStatusCode = {}));
1232
- class p {
1233
- constructor(t = {}) {
1234
- e(this, "id");
1235
- e(this, "label");
1236
- e(this, "description");
1237
- e(this, "icon");
1238
- e(this, "scope");
1239
- e(this, "streaming");
1240
- typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.label = t.label, this.description = t.description, this.icon = t.icon, this.scope = t.scope, this.streaming = t.streaming;
1241
- }
1242
- static createFrom(t = {}) {
1243
- return new p(t);
1196
+ return t;
1244
1197
  }
1245
1198
  }
1246
1199
  a.ActionDescriptor = p;
1247
- class f {
1200
+ class o {
1248
1201
  constructor(t = {}) {
1249
1202
  e(this, "id");
1250
1203
  e(this, "namespace");
@@ -1252,11 +1205,11 @@ var S;
1252
1205
  typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.params = t.params;
1253
1206
  }
1254
1207
  static createFrom(t = {}) {
1255
- return new f(t);
1208
+ return new o(t);
1256
1209
  }
1257
1210
  }
1258
- a.ActionInput = f;
1259
- class l {
1211
+ a.ActionInput = o;
1212
+ class f {
1260
1213
  constructor(t = {}) {
1261
1214
  e(this, "success");
1262
1215
  e(this, "data");
@@ -1264,24 +1217,11 @@ var S;
1264
1217
  typeof t == "string" && (t = JSON.parse(t)), this.success = t.success, this.data = t.data, this.message = t.message;
1265
1218
  }
1266
1219
  static createFrom(t = {}) {
1267
- return new l(t);
1268
- }
1269
- }
1270
- a.ActionResult = l;
1271
- class o {
1272
- constructor(t = {}) {
1273
- e(this, "selectors");
1274
- e(this, "label_selector");
1275
- e(this, "label");
1276
- e(this, "paths");
1277
- typeof t == "string" && (t = JSON.parse(t)), this.selectors = t.selectors, this.label_selector = t.label_selector, this.label = t.label, this.paths = t.paths;
1278
- }
1279
- static createFrom(t = {}) {
1280
- return new o(t);
1220
+ return new f(t);
1281
1221
  }
1282
1222
  }
1283
- a.ActionTargetBuilder = o;
1284
- class y {
1223
+ a.ActionResult = f;
1224
+ class n {
1285
1225
  constructor(t = {}) {
1286
1226
  e(this, "idAccessor");
1287
1227
  e(this, "namespaceAccessor");
@@ -1294,11 +1234,11 @@ var S;
1294
1234
  typeof t == "string" && (t = JSON.parse(t)), this.idAccessor = t.idAccessor, this.namespaceAccessor = t.namespaceAccessor, this.namespaced = t.namespaced, this.resourceKey = t.resourceKey, this.keyAccessor = t.keyAccessor, this.keyMap = t.keyMap, this.detailExtractors = t.detailExtractors, this.displayId = t.displayId;
1295
1235
  }
1296
1236
  static createFrom(t = {}) {
1297
- return new y(t);
1237
+ return new n(t);
1298
1238
  }
1299
1239
  }
1300
- a.ResourceLink = y;
1301
- class r {
1240
+ a.ResourceLink = n;
1241
+ class l {
1302
1242
  constructor(t = {}) {
1303
1243
  e(this, "id");
1304
1244
  e(this, "header");
@@ -1314,138 +1254,74 @@ var S;
1314
1254
  e(this, "componentParams");
1315
1255
  e(this, "resourceLink");
1316
1256
  e(this, "valueMap");
1317
- typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.header = t.header, this.accessor = t.accessor, this.accessorPriority = t.accessorPriority, this.colorMap = t.colorMap, this.color = t.color, this.align = t.align, this.hidden = t.hidden, this.width = t.width, this.formatter = t.formatter, this.component = t.component, this.componentParams = t.componentParams, this.resourceLink = this.convertValues(t.resourceLink, y), this.valueMap = t.valueMap;
1257
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.header = t.header, this.accessor = t.accessor, this.accessorPriority = t.accessorPriority, this.colorMap = t.colorMap, this.color = t.color, this.align = t.align, this.hidden = t.hidden, this.width = t.width, this.formatter = t.formatter, this.component = t.component, this.componentParams = t.componentParams, this.resourceLink = this.convertValues(t.resourceLink, n), this.valueMap = t.valueMap;
1318
1258
  }
1319
1259
  static createFrom(t = {}) {
1320
- return new r(t);
1260
+ return new l(t);
1321
1261
  }
1322
- convertValues(t, u, g = !1) {
1262
+ convertValues(t, y, w = !1) {
1323
1263
  if (!t)
1324
1264
  return t;
1325
1265
  if (t.slice && t.map)
1326
- return t.map((h) => this.convertValues(h, u));
1266
+ return t.map((c) => this.convertValues(c, y));
1327
1267
  if (typeof t == "object") {
1328
- if (g) {
1329
- for (const h of Object.keys(t))
1330
- t[h] = new u(t[h]);
1268
+ if (w) {
1269
+ for (const c of Object.keys(t))
1270
+ t[c] = new y(t[c]);
1331
1271
  return t;
1332
1272
  }
1333
- return new u(t);
1273
+ return new y(t);
1334
1274
  }
1335
1275
  return t;
1336
1276
  }
1337
1277
  }
1338
- a.ColumnDef = r;
1278
+ a.ColumnDefinition = l;
1339
1279
  class i {
1340
1280
  constructor(t = {}) {
1341
- e(this, "last_refresh");
1342
- e(this, "data");
1343
- e(this, "labels");
1344
- e(this, "id");
1345
- e(this, "uid");
1346
- e(this, "name");
1347
- e(this, "description");
1348
- e(this, "avatar");
1349
- e(this, "expiry_time");
1350
- e(this, "Client");
1351
- typeof t == "string" && (t = JSON.parse(t)), this.last_refresh = this.convertValues(t.last_refresh, _.Time), this.data = t.data, this.labels = t.labels, this.id = t.id, this.uid = t.uid, this.name = t.name, this.description = t.description, this.avatar = t.avatar, this.expiry_time = t.expiry_time, this.Client = t.Client;
1352
- }
1353
- static createFrom(t = {}) {
1354
- return new i(t);
1355
- }
1356
- convertValues(t, u, g = !1) {
1357
- if (!t)
1358
- return t;
1359
- if (t.slice && t.map)
1360
- return t.map((h) => this.convertValues(h, u));
1361
- if (typeof t == "object") {
1362
- if (g) {
1363
- for (const h of Object.keys(t))
1364
- t[h] = new u(t[h]);
1365
- return t;
1366
- }
1367
- return new u(t);
1368
- }
1369
- return t;
1370
- }
1371
- }
1372
- a.Connection = i;
1373
- class m {
1374
- constructor(t = {}) {
1375
- e(this, "connection");
1376
- e(this, "status");
1377
- e(this, "error");
1378
- e(this, "details");
1379
- typeof t == "string" && (t = JSON.parse(t)), this.connection = this.convertValues(t.connection, i), this.status = t.status, this.error = t.error, this.details = t.details;
1380
- }
1381
- static createFrom(t = {}) {
1382
- return new m(t);
1383
- }
1384
- convertValues(t, u, g = !1) {
1385
- if (!t)
1386
- return t;
1387
- if (t.slice && t.map)
1388
- return t.map((h) => this.convertValues(h, u));
1389
- if (typeof t == "object") {
1390
- if (g) {
1391
- for (const h of Object.keys(t))
1392
- t[h] = new u(t[h]);
1393
- return t;
1394
- }
1395
- return new u(t);
1396
- }
1397
- return t;
1398
- }
1399
- }
1400
- a.ConnectionStatus = m;
1401
- class s {
1402
- constructor(t = {}) {
1403
- e(this, "params");
1404
1281
  e(this, "input");
1405
1282
  e(this, "namespace");
1406
- typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.input = t.input, this.namespace = t.namespace;
1283
+ typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.namespace = t.namespace;
1407
1284
  }
1408
1285
  static createFrom(t = {}) {
1409
- return new s(t);
1286
+ return new i(t);
1410
1287
  }
1411
1288
  }
1412
- a.CreateInput = s;
1413
- class c {
1289
+ a.CreateInput = i;
1290
+ class s {
1414
1291
  constructor(t = {}) {
1415
1292
  e(this, "result");
1416
1293
  e(this, "success");
1417
1294
  typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1418
1295
  }
1419
1296
  static createFrom(t = {}) {
1420
- return new c(t);
1297
+ return new s(t);
1421
1298
  }
1422
1299
  }
1423
- a.CreateResult = c;
1424
- class O {
1300
+ a.CreateResult = s;
1301
+ class v {
1425
1302
  constructor(t = {}) {
1426
- e(this, "input");
1427
- e(this, "params");
1428
1303
  e(this, "id");
1429
1304
  e(this, "namespace");
1430
- typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.params = t.params, this.id = t.id, this.namespace = t.namespace;
1305
+ e(this, "gracePeriodSeconds");
1306
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.gracePeriodSeconds = t.gracePeriodSeconds;
1431
1307
  }
1432
1308
  static createFrom(t = {}) {
1433
- return new O(t);
1309
+ return new v(t);
1434
1310
  }
1435
1311
  }
1436
- a.DeleteInput = O;
1437
- class w {
1312
+ a.DeleteInput = v;
1313
+ class m {
1438
1314
  constructor(t = {}) {
1439
1315
  e(this, "result");
1440
1316
  e(this, "success");
1441
1317
  typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1442
1318
  }
1443
1319
  static createFrom(t = {}) {
1444
- return new w(t);
1320
+ return new m(t);
1445
1321
  }
1446
1322
  }
1447
- a.DeleteResult = w;
1448
- class F {
1323
+ a.DeleteResult = m;
1324
+ class V {
1449
1325
  constructor(t = {}) {
1450
1326
  e(this, "resourceKey");
1451
1327
  e(this, "fileMatch");
@@ -1456,318 +1332,418 @@ var S;
1456
1332
  typeof t == "string" && (t = JSON.parse(t)), this.resourceKey = t.resourceKey, this.fileMatch = t.fileMatch, this.uri = t.uri, this.url = t.url, this.content = t.content, this.language = t.language;
1457
1333
  }
1458
1334
  static createFrom(t = {}) {
1459
- return new F(t);
1460
- }
1461
- }
1462
- a.EditorSchema = F;
1463
- class n {
1464
- constructor(t = {}) {
1465
- e(this, "page");
1466
- e(this, "pageSize");
1467
- typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize;
1468
- }
1469
- static createFrom(t = {}) {
1470
- return new n(t);
1335
+ return new V(t);
1471
1336
  }
1472
1337
  }
1473
- a.PaginationParams = n;
1474
- class v {
1338
+ a.EditorSchema = V;
1339
+ class _ {
1475
1340
  constructor(t = {}) {
1476
- e(this, "by");
1477
- e(this, "direction");
1478
- typeof t == "string" && (t = JSON.parse(t)), this.by = t.by, this.direction = t.direction;
1341
+ e(this, "field");
1342
+ e(this, "operator");
1343
+ e(this, "value");
1344
+ typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.operator = t.operator, this.value = t.value;
1479
1345
  }
1480
1346
  static createFrom(t = {}) {
1481
- return new v(t);
1347
+ return new _(t);
1482
1348
  }
1483
1349
  }
1484
- a.OrderParams = v;
1485
- class b {
1350
+ a.FilterPredicate = _;
1351
+ class r {
1486
1352
  constructor(t = {}) {
1487
- e(this, "params");
1488
- e(this, "conditions");
1489
- e(this, "namespaces");
1490
- e(this, "order");
1491
- e(this, "pagination");
1492
- typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.conditions = t.conditions, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, v), this.pagination = this.convertValues(t.pagination, n);
1353
+ e(this, "logic");
1354
+ e(this, "predicates");
1355
+ e(this, "groups");
1356
+ typeof t == "string" && (t = JSON.parse(t)), this.logic = t.logic, this.predicates = this.convertValues(t.predicates, _), this.groups = this.convertValues(t.groups, r);
1493
1357
  }
1494
1358
  static createFrom(t = {}) {
1495
- return new b(t);
1359
+ return new r(t);
1496
1360
  }
1497
- convertValues(t, u, g = !1) {
1361
+ convertValues(t, y, w = !1) {
1498
1362
  if (!t)
1499
1363
  return t;
1500
1364
  if (t.slice && t.map)
1501
- return t.map((h) => this.convertValues(h, u));
1365
+ return t.map((c) => this.convertValues(c, y));
1502
1366
  if (typeof t == "object") {
1503
- if (g) {
1504
- for (const h of Object.keys(t))
1505
- t[h] = new u(t[h]);
1367
+ if (w) {
1368
+ for (const c of Object.keys(t))
1369
+ t[c] = new y(t[c]);
1506
1370
  return t;
1507
1371
  }
1508
- return new u(t);
1372
+ return new y(t);
1509
1373
  }
1510
1374
  return t;
1511
1375
  }
1512
1376
  }
1513
- a.FindInput = b;
1514
- class d {
1377
+ a.FilterExpression = r;
1378
+ class g {
1379
+ constructor(t = {}) {
1380
+ e(this, "path");
1381
+ e(this, "displayName");
1382
+ e(this, "description");
1383
+ e(this, "type");
1384
+ e(this, "operators");
1385
+ e(this, "allowedValues");
1386
+ e(this, "required");
1387
+ typeof t == "string" && (t = JSON.parse(t)), this.path = t.path, this.displayName = t.displayName, this.description = t.description, this.type = t.type, this.operators = t.operators, this.allowedValues = t.allowedValues, this.required = t.required;
1388
+ }
1389
+ static createFrom(t = {}) {
1390
+ return new g(t);
1391
+ }
1392
+ }
1393
+ a.FilterField = g;
1394
+ class b {
1515
1395
  constructor(t = {}) {
1516
1396
  e(this, "page");
1517
1397
  e(this, "pageSize");
1518
- e(this, "total");
1519
- e(this, "pages");
1520
- typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.total = t.total, this.pages = t.pages;
1398
+ e(this, "cursor");
1399
+ typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.cursor = t.cursor;
1521
1400
  }
1522
1401
  static createFrom(t = {}) {
1523
- return new d(t);
1402
+ return new b(t);
1524
1403
  }
1525
1404
  }
1526
- a.PaginationResult = d;
1527
- class J {
1405
+ a.PaginationParams = b;
1406
+ class u {
1528
1407
  constructor(t = {}) {
1529
- e(this, "result");
1530
- e(this, "success");
1408
+ e(this, "field");
1409
+ e(this, "descending");
1410
+ typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.descending = t.descending;
1411
+ }
1412
+ static createFrom(t = {}) {
1413
+ return new u(t);
1414
+ }
1415
+ }
1416
+ a.OrderField = u;
1417
+ class R {
1418
+ constructor(t = {}) {
1419
+ e(this, "filters");
1420
+ e(this, "textQuery");
1421
+ e(this, "namespaces");
1422
+ e(this, "order");
1531
1423
  e(this, "pagination");
1532
- typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.pagination = this.convertValues(t.pagination, d);
1424
+ typeof t == "string" && (t = JSON.parse(t)), this.filters = this.convertValues(t.filters, r), this.textQuery = t.textQuery, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, u), this.pagination = this.convertValues(t.pagination, b);
1533
1425
  }
1534
1426
  static createFrom(t = {}) {
1535
- return new J(t);
1427
+ return new R(t);
1536
1428
  }
1537
- convertValues(t, u, g = !1) {
1429
+ convertValues(t, y, w = !1) {
1538
1430
  if (!t)
1539
1431
  return t;
1540
1432
  if (t.slice && t.map)
1541
- return t.map((h) => this.convertValues(h, u));
1433
+ return t.map((c) => this.convertValues(c, y));
1542
1434
  if (typeof t == "object") {
1543
- if (g) {
1544
- for (const h of Object.keys(t))
1545
- t[h] = new u(t[h]);
1435
+ if (w) {
1436
+ for (const c of Object.keys(t))
1437
+ t[c] = new y(t[c]);
1546
1438
  return t;
1547
1439
  }
1548
- return new u(t);
1440
+ return new y(t);
1549
1441
  }
1550
1442
  return t;
1551
1443
  }
1552
1444
  }
1553
- a.FindResult = J;
1554
- class j {
1445
+ a.FindInput = R;
1446
+ class P {
1555
1447
  constructor(t = {}) {
1556
- e(this, "params");
1557
- e(this, "id");
1558
- e(this, "namespace");
1559
- typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.id = t.id, this.namespace = t.namespace;
1448
+ e(this, "result");
1449
+ e(this, "success");
1450
+ e(this, "totalCount");
1451
+ e(this, "nextCursor");
1452
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.totalCount = t.totalCount, this.nextCursor = t.nextCursor;
1560
1453
  }
1561
1454
  static createFrom(t = {}) {
1562
- return new j(t);
1455
+ return new P(t);
1563
1456
  }
1564
1457
  }
1565
- a.GetInput = j;
1566
- class E {
1458
+ a.FindResult = P;
1459
+ class I {
1567
1460
  constructor(t = {}) {
1568
- e(this, "result");
1569
- e(this, "success");
1570
- typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1461
+ e(this, "id");
1462
+ e(this, "namespace");
1463
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace;
1571
1464
  }
1572
1465
  static createFrom(t = {}) {
1573
- return new E(t);
1466
+ return new I(t);
1574
1467
  }
1575
1468
  }
1576
- a.GetResult = E;
1577
- class D {
1469
+ a.GetInput = I;
1470
+ class T {
1578
1471
  constructor(t = {}) {
1579
- e(this, "connection");
1580
- e(this, "resources");
1581
- e(this, "resourceCounts");
1582
- e(this, "totalResources");
1583
- e(this, "syncedCount");
1584
- e(this, "errorCount");
1585
- typeof t == "string" && (t = JSON.parse(t)), this.connection = t.connection, this.resources = t.resources, this.resourceCounts = t.resourceCounts, this.totalResources = t.totalResources, this.syncedCount = t.syncedCount, this.errorCount = t.errorCount;
1472
+ e(this, "result");
1473
+ e(this, "success");
1474
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1586
1475
  }
1587
1476
  static createFrom(t = {}) {
1588
- return new D(t);
1477
+ return new T(t);
1589
1478
  }
1590
1479
  }
1591
- a.InformerConnectionSummary = D;
1592
- class k {
1480
+ a.GetResult = T;
1481
+ class N {
1593
1482
  constructor(t = {}) {
1594
- e(this, "id");
1595
- e(this, "title");
1596
- e(this, "icon");
1597
- e(this, "description");
1598
- e(this, "items");
1599
- typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.title = t.title, this.icon = t.icon, this.description = t.description, this.items = this.convertValues(t.items, k);
1483
+ e(this, "type");
1484
+ e(this, "status");
1485
+ e(this, "reason");
1486
+ e(this, "message");
1487
+ e(this, "lastProbeTime");
1488
+ e(this, "lastTransitionTime");
1489
+ typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.status = t.status, this.reason = t.reason, this.message = t.message, this.lastProbeTime = this.convertValues(t.lastProbeTime, S.Time), this.lastTransitionTime = this.convertValues(t.lastTransitionTime, S.Time);
1600
1490
  }
1601
1491
  static createFrom(t = {}) {
1602
- return new k(t);
1492
+ return new N(t);
1603
1493
  }
1604
- convertValues(t, u, g = !1) {
1494
+ convertValues(t, y, w = !1) {
1605
1495
  if (!t)
1606
1496
  return t;
1607
1497
  if (t.slice && t.map)
1608
- return t.map((h) => this.convertValues(h, u));
1498
+ return t.map((c) => this.convertValues(c, y));
1609
1499
  if (typeof t == "object") {
1610
- if (g) {
1611
- for (const h of Object.keys(t))
1612
- t[h] = new u(t[h]);
1500
+ if (w) {
1501
+ for (const c of Object.keys(t))
1502
+ t[c] = new y(t[c]);
1613
1503
  return t;
1614
1504
  }
1615
- return new u(t);
1505
+ return new y(t);
1616
1506
  }
1617
1507
  return t;
1618
1508
  }
1619
1509
  }
1620
- a.LayoutItem = k;
1621
- class P {
1510
+ a.HealthCondition = N;
1511
+ class A {
1622
1512
  constructor(t = {}) {
1623
- e(this, "params");
1624
1513
  e(this, "namespaces");
1625
1514
  e(this, "order");
1626
1515
  e(this, "pagination");
1627
- typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, v), this.pagination = this.convertValues(t.pagination, n);
1516
+ typeof t == "string" && (t = JSON.parse(t)), this.namespaces = t.namespaces, this.order = this.convertValues(t.order, u), this.pagination = this.convertValues(t.pagination, b);
1628
1517
  }
1629
1518
  static createFrom(t = {}) {
1630
- return new P(t);
1519
+ return new A(t);
1631
1520
  }
1632
- convertValues(t, u, g = !1) {
1521
+ convertValues(t, y, w = !1) {
1633
1522
  if (!t)
1634
1523
  return t;
1635
1524
  if (t.slice && t.map)
1636
- return t.map((h) => this.convertValues(h, u));
1525
+ return t.map((c) => this.convertValues(c, y));
1637
1526
  if (typeof t == "object") {
1638
- if (g) {
1639
- for (const h of Object.keys(t))
1640
- t[h] = new u(t[h]);
1527
+ if (w) {
1528
+ for (const c of Object.keys(t))
1529
+ t[c] = new y(t[c]);
1641
1530
  return t;
1642
1531
  }
1643
- return new u(t);
1532
+ return new y(t);
1644
1533
  }
1645
1534
  return t;
1646
1535
  }
1647
1536
  }
1648
- a.ListInput = P;
1649
- class R {
1537
+ a.ListInput = A;
1538
+ class C {
1650
1539
  constructor(t = {}) {
1651
1540
  e(this, "result");
1652
1541
  e(this, "success");
1653
- e(this, "pagination");
1654
- typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.pagination = this.convertValues(t.pagination, d);
1542
+ e(this, "totalCount");
1543
+ e(this, "nextCursor");
1544
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.totalCount = t.totalCount, this.nextCursor = t.nextCursor;
1655
1545
  }
1656
1546
  static createFrom(t = {}) {
1657
- return new R(t);
1547
+ return new C(t);
1658
1548
  }
1659
- convertValues(t, u, g = !1) {
1660
- if (!t)
1661
- return t;
1662
- if (t.slice && t.map)
1663
- return t.map((h) => this.convertValues(h, u));
1664
- if (typeof t == "object") {
1665
- if (g) {
1666
- for (const h of Object.keys(t))
1667
- t[h] = new u(t[h]);
1668
- return t;
1669
- }
1670
- return new u(t);
1671
- }
1549
+ }
1550
+ a.ListResult = C;
1551
+ class F {
1552
+ constructor(t = {}) {
1553
+ e(this, "method");
1554
+ e(this, "fieldPath");
1555
+ e(this, "ownerRefKind");
1556
+ e(this, "labelSelector");
1557
+ typeof t == "string" && (t = JSON.parse(t)), this.method = t.method, this.fieldPath = t.fieldPath, this.ownerRefKind = t.ownerRefKind, this.labelSelector = t.labelSelector;
1558
+ }
1559
+ static createFrom(t = {}) {
1560
+ return new F(t);
1561
+ }
1562
+ }
1563
+ a.RelationshipExtractor = F;
1564
+ class k {
1565
+ constructor(t = {}) {
1566
+ e(this, "type");
1567
+ e(this, "targetResourceKey");
1568
+ e(this, "label");
1569
+ e(this, "inverseLabel");
1570
+ e(this, "cardinality");
1571
+ e(this, "extractor");
1572
+ typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.targetResourceKey = t.targetResourceKey, this.label = t.label, this.inverseLabel = t.inverseLabel, this.cardinality = t.cardinality, this.extractor = this.convertValues(t.extractor, F);
1573
+ }
1574
+ static createFrom(t = {}) {
1575
+ return new k(t);
1576
+ }
1577
+ convertValues(t, y, w = !1) {
1578
+ if (!t)
1579
+ return t;
1580
+ if (t.slice && t.map)
1581
+ return t.map((c) => this.convertValues(c, y));
1582
+ if (typeof t == "object") {
1583
+ if (w) {
1584
+ for (const c of Object.keys(t))
1585
+ t[c] = new y(t[c]);
1586
+ return t;
1587
+ }
1588
+ return new y(t);
1589
+ }
1672
1590
  return t;
1673
1591
  }
1674
1592
  }
1675
- a.ListResult = R;
1676
- class T {
1593
+ a.RelationshipDescriptor = k;
1594
+ class J {
1677
1595
  constructor(t = {}) {
1596
+ e(this, "pluginId");
1597
+ e(this, "connectionId");
1598
+ e(this, "resourceKey");
1678
1599
  e(this, "id");
1679
- e(this, "metadata");
1680
- e(this, "phase");
1681
- e(this, "enabled");
1682
- e(this, "devMode");
1683
- e(this, "devPath");
1684
- e(this, "capabilities");
1685
- e(this, "lastError");
1686
- typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.metadata = this.convertValues(t.metadata, N.PluginMeta), this.phase = t.phase, this.enabled = t.enabled, this.devMode = t.devMode, this.devPath = t.devPath, this.capabilities = t.capabilities, this.lastError = t.lastError;
1600
+ e(this, "namespace");
1601
+ e(this, "displayName");
1602
+ typeof t == "string" && (t = JSON.parse(t)), this.pluginId = t.pluginId, this.connectionId = t.connectionId, this.resourceKey = t.resourceKey, this.id = t.id, this.namespace = t.namespace, this.displayName = t.displayName;
1687
1603
  }
1688
1604
  static createFrom(t = {}) {
1689
- return new T(t);
1605
+ return new J(t);
1690
1606
  }
1691
- convertValues(t, u, g = !1) {
1607
+ }
1608
+ a.ResourceRef = J;
1609
+ class L {
1610
+ constructor(t = {}) {
1611
+ e(this, "descriptor");
1612
+ e(this, "targets");
1613
+ typeof t == "string" && (t = JSON.parse(t)), this.descriptor = this.convertValues(t.descriptor, k), this.targets = this.convertValues(t.targets, J);
1614
+ }
1615
+ static createFrom(t = {}) {
1616
+ return new L(t);
1617
+ }
1618
+ convertValues(t, y, w = !1) {
1692
1619
  if (!t)
1693
1620
  return t;
1694
1621
  if (t.slice && t.map)
1695
- return t.map((h) => this.convertValues(h, u));
1622
+ return t.map((c) => this.convertValues(c, y));
1696
1623
  if (typeof t == "object") {
1697
- if (g) {
1698
- for (const h of Object.keys(t))
1699
- t[h] = new u(t[h]);
1624
+ if (w) {
1625
+ for (const c of Object.keys(t))
1626
+ t[c] = new y(t[c]);
1700
1627
  return t;
1701
1628
  }
1702
- return new u(t);
1629
+ return new y(t);
1703
1630
  }
1704
1631
  return t;
1705
1632
  }
1706
1633
  }
1707
- a.PluginInfo = T;
1708
- class I {
1634
+ a.ResolvedRelationship = L;
1635
+ class E {
1709
1636
  constructor(t = {}) {
1710
- e(this, "id");
1711
- e(this, "phase");
1712
- e(this, "metadata");
1713
- e(this, "enabled");
1714
- e(this, "devMode");
1715
- e(this, "devPath");
1716
- e(this, "lastError");
1717
- e(this, "errorCount");
1718
- e(this, "installedAt");
1719
- typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.phase = t.phase, this.metadata = this.convertValues(t.metadata, N.PluginMeta), this.enabled = t.enabled, this.devMode = t.devMode, this.devPath = t.devPath, this.lastError = t.lastError, this.errorCount = t.errorCount, this.installedAt = this.convertValues(t.installedAt, _.Time);
1637
+ e(this, "level");
1638
+ e(this, "expectedCount");
1639
+ e(this, "defaultPageSize");
1640
+ typeof t == "string" && (t = JSON.parse(t)), this.level = t.level, this.expectedCount = t.expectedCount, this.defaultPageSize = t.defaultPageSize;
1720
1641
  }
1721
1642
  static createFrom(t = {}) {
1722
- return new I(t);
1643
+ return new E(t);
1644
+ }
1645
+ }
1646
+ a.ScaleHint = E;
1647
+ class x {
1648
+ constructor(t = {}) {
1649
+ e(this, "canGet");
1650
+ e(this, "canList");
1651
+ e(this, "canFind");
1652
+ e(this, "canCreate");
1653
+ e(this, "canUpdate");
1654
+ e(this, "canDelete");
1655
+ e(this, "watchable");
1656
+ e(this, "filterable");
1657
+ e(this, "searchable");
1658
+ e(this, "hasActions");
1659
+ e(this, "hasSchema");
1660
+ e(this, "namespaceScoped");
1661
+ e(this, "hasRelationships");
1662
+ e(this, "hasHealth");
1663
+ e(this, "hasEvents");
1664
+ e(this, "scaleHint");
1665
+ typeof t == "string" && (t = JSON.parse(t)), this.canGet = t.canGet, this.canList = t.canList, this.canFind = t.canFind, this.canCreate = t.canCreate, this.canUpdate = t.canUpdate, this.canDelete = t.canDelete, this.watchable = t.watchable, this.filterable = t.filterable, this.searchable = t.searchable, this.hasActions = t.hasActions, this.hasSchema = t.hasSchema, this.namespaceScoped = t.namespaceScoped, this.hasRelationships = t.hasRelationships, this.hasHealth = t.hasHealth, this.hasEvents = t.hasEvents, this.scaleHint = this.convertValues(t.scaleHint, E);
1723
1666
  }
1724
- convertValues(t, u, g = !1) {
1667
+ static createFrom(t = {}) {
1668
+ return new x(t);
1669
+ }
1670
+ convertValues(t, y, w = !1) {
1725
1671
  if (!t)
1726
1672
  return t;
1727
1673
  if (t.slice && t.map)
1728
- return t.map((h) => this.convertValues(h, u));
1674
+ return t.map((c) => this.convertValues(c, y));
1729
1675
  if (typeof t == "object") {
1730
- if (g) {
1731
- for (const h of Object.keys(t))
1732
- t[h] = new u(t[h]);
1676
+ if (w) {
1677
+ for (const c of Object.keys(t))
1678
+ t[c] = new y(t[c]);
1733
1679
  return t;
1734
1680
  }
1735
- return new u(t);
1681
+ return new y(t);
1736
1682
  }
1737
1683
  return t;
1738
1684
  }
1739
1685
  }
1740
- a.PluginStateRecord = I;
1741
- class A {
1686
+ a.ResourceCapabilities = x;
1687
+ class M {
1742
1688
  constructor(t = {}) {
1743
1689
  e(this, "id_accessor");
1744
1690
  e(this, "namespace_accessor");
1745
1691
  e(this, "memoizer_accessor");
1746
1692
  e(this, "columnDefs");
1747
- e(this, "supportedOperations");
1748
- typeof t == "string" && (t = JSON.parse(t)), this.id_accessor = t.id_accessor, this.namespace_accessor = t.namespace_accessor, this.memoizer_accessor = t.memoizer_accessor, this.columnDefs = this.convertValues(t.columnDefs, r), this.supportedOperations = t.supportedOperations;
1693
+ typeof t == "string" && (t = JSON.parse(t)), this.id_accessor = t.id_accessor, this.namespace_accessor = t.namespace_accessor, this.memoizer_accessor = t.memoizer_accessor, this.columnDefs = this.convertValues(t.columnDefs, l);
1749
1694
  }
1750
1695
  static createFrom(t = {}) {
1751
- return new A(t);
1696
+ return new M(t);
1752
1697
  }
1753
- convertValues(t, u, g = !1) {
1698
+ convertValues(t, y, w = !1) {
1754
1699
  if (!t)
1755
1700
  return t;
1756
1701
  if (t.slice && t.map)
1757
- return t.map((h) => this.convertValues(h, u));
1702
+ return t.map((c) => this.convertValues(c, y));
1758
1703
  if (typeof t == "object") {
1759
- if (g) {
1760
- for (const h of Object.keys(t))
1761
- t[h] = new u(t[h]);
1704
+ if (w) {
1705
+ for (const c of Object.keys(t))
1706
+ t[c] = new y(t[c]);
1762
1707
  return t;
1763
1708
  }
1764
- return new u(t);
1709
+ return new y(t);
1765
1710
  }
1766
1711
  return t;
1767
1712
  }
1768
1713
  }
1769
- a.ResourceDefinition = A;
1770
- class M {
1714
+ a.ResourceDefinition = M;
1715
+ class U {
1716
+ constructor(t = {}) {
1717
+ e(this, "type");
1718
+ e(this, "reason");
1719
+ e(this, "message");
1720
+ e(this, "source");
1721
+ e(this, "count");
1722
+ e(this, "firstSeen");
1723
+ e(this, "lastSeen");
1724
+ typeof t == "string" && (t = JSON.parse(t)), this.type = t.type, this.reason = t.reason, this.message = t.message, this.source = t.source, this.count = t.count, this.firstSeen = this.convertValues(t.firstSeen, S.Time), this.lastSeen = this.convertValues(t.lastSeen, S.Time);
1725
+ }
1726
+ static createFrom(t = {}) {
1727
+ return new U(t);
1728
+ }
1729
+ convertValues(t, y, w = !1) {
1730
+ if (!t)
1731
+ return t;
1732
+ if (t.slice && t.map)
1733
+ return t.map((c) => this.convertValues(c, y));
1734
+ if (typeof t == "object") {
1735
+ if (w) {
1736
+ for (const c of Object.keys(t))
1737
+ t[c] = new y(t[c]);
1738
+ return t;
1739
+ }
1740
+ return new y(t);
1741
+ }
1742
+ return t;
1743
+ }
1744
+ }
1745
+ a.ResourceEvent = U;
1746
+ class G {
1771
1747
  constructor(t = {}) {
1772
1748
  e(this, "id");
1773
1749
  e(this, "name");
@@ -1777,26 +1753,55 @@ var S;
1777
1753
  typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.name = t.name, this.description = t.description, this.icon = t.icon, this.resources = this.convertValues(t.resources, Array, !0);
1778
1754
  }
1779
1755
  static createFrom(t = {}) {
1780
- return new M(t);
1756
+ return new G(t);
1781
1757
  }
1782
- convertValues(t, u, g = !1) {
1758
+ convertValues(t, y, w = !1) {
1783
1759
  if (!t)
1784
1760
  return t;
1785
1761
  if (t.slice && t.map)
1786
- return t.map((h) => this.convertValues(h, u));
1762
+ return t.map((c) => this.convertValues(c, y));
1787
1763
  if (typeof t == "object") {
1788
- if (g) {
1789
- for (const h of Object.keys(t))
1790
- t[h] = new u(t[h]);
1764
+ if (w) {
1765
+ for (const c of Object.keys(t))
1766
+ t[c] = new y(t[c]);
1791
1767
  return t;
1792
1768
  }
1793
- return new u(t);
1769
+ return new y(t);
1794
1770
  }
1795
1771
  return t;
1796
1772
  }
1797
1773
  }
1798
- a.ResourceGroup = M;
1799
- class L {
1774
+ a.ResourceGroup = G;
1775
+ class K {
1776
+ constructor(t = {}) {
1777
+ e(this, "status");
1778
+ e(this, "reason");
1779
+ e(this, "message");
1780
+ e(this, "since");
1781
+ e(this, "conditions");
1782
+ typeof t == "string" && (t = JSON.parse(t)), this.status = t.status, this.reason = t.reason, this.message = t.message, this.since = this.convertValues(t.since, S.Time), this.conditions = this.convertValues(t.conditions, N);
1783
+ }
1784
+ static createFrom(t = {}) {
1785
+ return new K(t);
1786
+ }
1787
+ convertValues(t, y, w = !1) {
1788
+ if (!t)
1789
+ return t;
1790
+ if (t.slice && t.map)
1791
+ return t.map((c) => this.convertValues(c, y));
1792
+ if (typeof t == "object") {
1793
+ if (w) {
1794
+ for (const c of Object.keys(t))
1795
+ t[c] = new y(t[c]);
1796
+ return t;
1797
+ }
1798
+ return new y(t);
1799
+ }
1800
+ return t;
1801
+ }
1802
+ }
1803
+ a.ResourceHealth = K;
1804
+ class B {
1800
1805
  constructor(t = {}) {
1801
1806
  e(this, "group");
1802
1807
  e(this, "version");
@@ -1808,114 +1813,480 @@ var S;
1808
1813
  typeof t == "string" && (t = JSON.parse(t)), this.group = t.group, this.version = t.version, this.kind = t.kind, this.label = t.label, this.icon = t.icon, this.description = t.description, this.category = t.category;
1809
1814
  }
1810
1815
  static createFrom(t = {}) {
1811
- return new L(t);
1816
+ return new B(t);
1812
1817
  }
1813
1818
  }
1814
- a.ResourceMeta = L;
1815
- class C {
1819
+ a.ResourceMeta = B;
1820
+ class H {
1816
1821
  constructor(t = {}) {
1817
1822
  e(this, "input");
1818
- e(this, "params");
1819
1823
  e(this, "id");
1820
1824
  e(this, "namespace");
1821
- typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.params = t.params, this.id = t.id, this.namespace = t.namespace;
1825
+ typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.id = t.id, this.namespace = t.namespace;
1822
1826
  }
1823
1827
  static createFrom(t = {}) {
1824
- return new C(t);
1828
+ return new H(t);
1825
1829
  }
1826
1830
  }
1827
- a.UpdateInput = C;
1828
- class x {
1831
+ a.UpdateInput = H;
1832
+ class q {
1829
1833
  constructor(t = {}) {
1830
1834
  e(this, "result");
1831
1835
  e(this, "success");
1832
1836
  typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1833
1837
  }
1834
1838
  static createFrom(t = {}) {
1835
- return new x(t);
1839
+ return new q(t);
1840
+ }
1841
+ }
1842
+ a.UpdateResult = q;
1843
+ class j {
1844
+ constructor(t = {}) {
1845
+ e(this, "partitions");
1846
+ typeof t == "string" && (t = JSON.parse(t)), this.partitions = t.partitions;
1847
+ }
1848
+ static createFrom(t = {}) {
1849
+ return new j(t);
1850
+ }
1851
+ }
1852
+ a.WatchScope = j;
1853
+ class Q {
1854
+ constructor(t = {}) {
1855
+ e(this, "connectionId");
1856
+ e(this, "resources");
1857
+ e(this, "resourceCounts");
1858
+ e(this, "scope");
1859
+ typeof t == "string" && (t = JSON.parse(t)), this.connectionId = t.connectionId, this.resources = t.resources, this.resourceCounts = t.resourceCounts, this.scope = this.convertValues(t.scope, j);
1860
+ }
1861
+ static createFrom(t = {}) {
1862
+ return new Q(t);
1863
+ }
1864
+ convertValues(t, y, w = !1) {
1865
+ if (!t)
1866
+ return t;
1867
+ if (t.slice && t.map)
1868
+ return t.map((c) => this.convertValues(c, y));
1869
+ if (typeof t == "object") {
1870
+ if (w) {
1871
+ for (const c of Object.keys(t))
1872
+ t[c] = new y(t[c]);
1873
+ return t;
1874
+ }
1875
+ return new y(t);
1876
+ }
1877
+ return t;
1878
+ }
1879
+ }
1880
+ a.WatchConnectionSummary = Q;
1881
+ })(rt || (rt = {}));
1882
+ var st;
1883
+ ((a) => {
1884
+ ((f) => {
1885
+ f.TEXT = "text", f.SELECT = "select", f.MULTISELECT = "multiselect", f.INTEGER = "integer", f.FLOAT = "float", f.TOGGLE = "toggle", f.COLOR = "color", f.DATETIME = "datetime", f.PASSWORD = "password";
1886
+ })(a.SettingType || (a.SettingType = {}));
1887
+ class h {
1888
+ constructor(n = {}) {
1889
+ e(this, "enabled");
1890
+ e(this, "allowFolders");
1891
+ e(this, "extensions");
1892
+ e(this, "multiple");
1893
+ e(this, "relative");
1894
+ e(this, "defaultPath");
1895
+ typeof n == "string" && (n = JSON.parse(n)), this.enabled = n.enabled, this.allowFolders = n.allowFolders, this.extensions = n.extensions, this.multiple = n.multiple, this.relative = n.relative, this.defaultPath = n.defaultPath;
1896
+ }
1897
+ static createFrom(n = {}) {
1898
+ return new h(n);
1899
+ }
1900
+ }
1901
+ a.SettingFileSelection = h;
1902
+ class d {
1903
+ constructor(n = {}) {
1904
+ e(this, "label");
1905
+ e(this, "description");
1906
+ e(this, "value");
1907
+ typeof n == "string" && (n = JSON.parse(n)), this.label = n.label, this.description = n.description, this.value = n.value;
1908
+ }
1909
+ static createFrom(n = {}) {
1910
+ return new d(n);
1911
+ }
1912
+ }
1913
+ a.SettingOption = d;
1914
+ class p {
1915
+ constructor(n = {}) {
1916
+ e(this, "id");
1917
+ e(this, "label");
1918
+ e(this, "description");
1919
+ e(this, "type");
1920
+ e(this, "value");
1921
+ e(this, "default");
1922
+ e(this, "options");
1923
+ e(this, "fileSelection");
1924
+ e(this, "sensitive");
1925
+ typeof n == "string" && (n = JSON.parse(n)), this.id = n.id, this.label = n.label, this.description = n.description, this.type = n.type, this.value = n.value, this.default = n.default, this.options = this.convertValues(n.options, d), this.fileSelection = this.convertValues(n.fileSelection, h), this.sensitive = n.sensitive;
1926
+ }
1927
+ static createFrom(n = {}) {
1928
+ return new p(n);
1929
+ }
1930
+ convertValues(n, l, i = !1) {
1931
+ if (!n)
1932
+ return n;
1933
+ if (n.slice && n.map)
1934
+ return n.map((s) => this.convertValues(s, l));
1935
+ if (typeof n == "object") {
1936
+ if (i) {
1937
+ for (const s of Object.keys(n))
1938
+ n[s] = new l(n[s]);
1939
+ return n;
1940
+ }
1941
+ return new l(n);
1942
+ }
1943
+ return n;
1944
+ }
1945
+ }
1946
+ a.Setting = p;
1947
+ class o {
1948
+ constructor(n = {}) {
1949
+ e(this, "settings");
1950
+ e(this, "id");
1951
+ e(this, "label");
1952
+ e(this, "description");
1953
+ e(this, "icon");
1954
+ typeof n == "string" && (n = JSON.parse(n)), this.settings = this.convertValues(n.settings, p, !0), this.id = n.id, this.label = n.label, this.description = n.description, this.icon = n.icon;
1955
+ }
1956
+ static createFrom(n = {}) {
1957
+ return new o(n);
1958
+ }
1959
+ convertValues(n, l, i = !1) {
1960
+ if (!n)
1961
+ return n;
1962
+ if (n.slice && n.map)
1963
+ return n.map((s) => this.convertValues(s, l));
1964
+ if (typeof n == "object") {
1965
+ if (i) {
1966
+ for (const s of Object.keys(n))
1967
+ n[s] = new l(n[s]);
1968
+ return n;
1969
+ }
1970
+ return new l(n);
1971
+ }
1972
+ return n;
1836
1973
  }
1837
1974
  }
1838
- a.UpdateResult = x;
1975
+ a.Category = o;
1976
+ })(st || (st = {}));
1977
+ var S;
1978
+ ((a) => {
1979
+ class h {
1980
+ static createFrom(p = {}) {
1981
+ return new h(p);
1982
+ }
1983
+ constructor(p = {}) {
1984
+ typeof p == "string" && (p = JSON.parse(p));
1985
+ }
1986
+ }
1987
+ a.Time = h;
1839
1988
  })(S || (S = {}));
1840
- var Z;
1989
+ var at;
1990
+ ((a) => {
1991
+ ((p) => {
1992
+ p.CONFIG = "config", p.FILESYSTEM = "fs", p.IMAGE = "image", p.KUBERNETES = "kubernetes", p.REPOSITORY = "repository", p.ROOTFS = "rootfs", p.SBOM = "sbom";
1993
+ })(a.Command || (a.Command = {})), ((p) => {
1994
+ p.VULN = "vuln", p.MISCONFIG = "misconfig", p.SECRET = "secret", p.LICENSE = "license";
1995
+ })(a.Scanner || (a.Scanner = {}));
1996
+ class h {
1997
+ constructor(o = {}) {
1998
+ e(this, "filePatterns");
1999
+ e(this, "skipDirs");
2000
+ e(this, "skipFiles");
2001
+ e(this, "scanners");
2002
+ typeof o == "string" && (o = JSON.parse(o)), this.filePatterns = o.filePatterns, this.skipDirs = o.skipDirs, this.skipFiles = o.skipFiles, this.scanners = o.scanners;
2003
+ }
2004
+ static createFrom(o = {}) {
2005
+ return new h(o);
2006
+ }
2007
+ }
2008
+ a.ScanOptions = h;
2009
+ class d {
2010
+ constructor(o = {}) {
2011
+ e(this, "timestamp");
2012
+ e(this, "result");
2013
+ e(this, "id");
2014
+ e(this, "command");
2015
+ typeof o == "string" && (o = JSON.parse(o)), this.timestamp = this.convertValues(o.timestamp, S.Time), this.result = o.result, this.id = o.id, this.command = o.command;
2016
+ }
2017
+ static createFrom(o = {}) {
2018
+ return new d(o);
2019
+ }
2020
+ convertValues(o, f, n = !1) {
2021
+ if (!o)
2022
+ return o;
2023
+ if (o.slice && o.map)
2024
+ return o.map((l) => this.convertValues(l, f));
2025
+ if (typeof o == "object") {
2026
+ if (n) {
2027
+ for (const l of Object.keys(o))
2028
+ o[l] = new f(o[l]);
2029
+ return o;
2030
+ }
2031
+ return new f(o);
2032
+ }
2033
+ return o;
2034
+ }
2035
+ }
2036
+ a.ScanResult = d;
2037
+ })(at || (at = {}));
2038
+ var Y;
1841
2039
  ((a) => {
2040
+ ((l) => {
2041
+ l.UNKNOWN = "UNKNOWN", l.CONNECTED = "CONNECTED", l.DISCONNECTED = "DISCONNECTED", l.PENDING = "PENDING", l.FAILED = "FAILED", l.ERROR = "ERROR", l.UNAUTHORIZED = "UNAUTHORIZED", l.FORBIDDEN = "FORBIDDEN", l.BAD_REQUEST = "BAD_REQUEST", l.NOT_FOUND = "NOT_FOUND", l.TIMEOUT = "TIMEOUT", l.UNAVAILABLE = "UNAVAILABLE", l.REQUEST_ENTITY_TOO_LARGE = "REQUEST_ENTITY_TOO_LARGE";
2042
+ })(a.ConnectionStatusCode || (a.ConnectionStatusCode = {}));
2043
+ class h {
2044
+ constructor(i = {}) {
2045
+ e(this, "enabled");
2046
+ e(this, "triggers");
2047
+ e(this, "retry");
2048
+ typeof i == "string" && (i = JSON.parse(i)), this.enabled = i.enabled, this.triggers = i.triggers, this.retry = i.retry;
2049
+ }
2050
+ static createFrom(i = {}) {
2051
+ return new h(i);
2052
+ }
2053
+ }
2054
+ a.ConnectionAutoConnect = h;
2055
+ class d {
2056
+ constructor(i = {}) {
2057
+ e(this, "auto_connect");
2058
+ typeof i == "string" && (i = JSON.parse(i)), this.auto_connect = this.convertValues(i.auto_connect, h);
2059
+ }
2060
+ static createFrom(i = {}) {
2061
+ return new d(i);
2062
+ }
2063
+ convertValues(i, s, v = !1) {
2064
+ if (!i)
2065
+ return i;
2066
+ if (i.slice && i.map)
2067
+ return i.map((m) => this.convertValues(m, s));
2068
+ if (typeof i == "object") {
2069
+ if (v) {
2070
+ for (const m of Object.keys(i))
2071
+ i[m] = new s(i[m]);
2072
+ return i;
2073
+ }
2074
+ return new s(i);
2075
+ }
2076
+ return i;
2077
+ }
2078
+ }
2079
+ a.ConnectionLifecycle = d;
1842
2080
  class p {
1843
- constructor(r = {}) {
1844
- e(this, "plugin");
1845
- typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin;
2081
+ constructor(i = {}) {
2082
+ e(this, "last_refresh");
2083
+ e(this, "data");
2084
+ e(this, "labels");
2085
+ e(this, "lifecycle");
2086
+ e(this, "id");
2087
+ e(this, "uid");
2088
+ e(this, "name");
2089
+ e(this, "description");
2090
+ e(this, "avatar");
2091
+ e(this, "expiry_time");
2092
+ e(this, "Client");
2093
+ typeof i == "string" && (i = JSON.parse(i)), this.last_refresh = this.convertValues(i.last_refresh, S.Time), this.data = i.data, this.labels = i.labels, this.lifecycle = this.convertValues(i.lifecycle, d), this.id = i.id, this.uid = i.uid, this.name = i.name, this.description = i.description, this.avatar = i.avatar, this.expiry_time = i.expiry_time, this.Client = i.Client;
1846
2094
  }
1847
- static createFrom(r = {}) {
1848
- return new p(r);
2095
+ static createFrom(i = {}) {
2096
+ return new p(i);
2097
+ }
2098
+ convertValues(i, s, v = !1) {
2099
+ if (!i)
2100
+ return i;
2101
+ if (i.slice && i.map)
2102
+ return i.map((m) => this.convertValues(m, s));
2103
+ if (typeof i == "object") {
2104
+ if (v) {
2105
+ for (const m of Object.keys(i))
2106
+ i[m] = new s(i[m]);
2107
+ return i;
2108
+ }
2109
+ return new s(i);
2110
+ }
2111
+ return i;
2112
+ }
2113
+ }
2114
+ a.Connection = p;
2115
+ class o {
2116
+ constructor(i = {}) {
2117
+ e(this, "connection");
2118
+ e(this, "status");
2119
+ e(this, "error");
2120
+ e(this, "details");
2121
+ typeof i == "string" && (i = JSON.parse(i)), this.connection = this.convertValues(i.connection, p), this.status = i.status, this.error = i.error, this.details = i.details;
2122
+ }
2123
+ static createFrom(i = {}) {
2124
+ return new o(i);
2125
+ }
2126
+ convertValues(i, s, v = !1) {
2127
+ if (!i)
2128
+ return i;
2129
+ if (i.slice && i.map)
2130
+ return i.map((m) => this.convertValues(m, s));
2131
+ if (typeof i == "object") {
2132
+ if (v) {
2133
+ for (const m of Object.keys(i))
2134
+ i[m] = new s(i[m]);
2135
+ return i;
2136
+ }
2137
+ return new s(i);
2138
+ }
2139
+ return i;
1849
2140
  }
1850
2141
  }
1851
- a.GetPluginComponentsInput = p;
2142
+ a.ConnectionStatus = o;
1852
2143
  class f {
1853
- constructor(r = {}) {
2144
+ constructor(i = {}) {
2145
+ e(this, "id");
2146
+ e(this, "metadata");
2147
+ e(this, "phase");
2148
+ e(this, "enabled");
2149
+ e(this, "devMode");
2150
+ e(this, "devPath");
2151
+ e(this, "capabilities");
2152
+ e(this, "lastError");
2153
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.metadata = this.convertValues(i.metadata, D.PluginMeta), this.phase = i.phase, this.enabled = i.enabled, this.devMode = i.devMode, this.devPath = i.devPath, this.capabilities = i.capabilities, this.lastError = i.lastError;
2154
+ }
2155
+ static createFrom(i = {}) {
2156
+ return new f(i);
2157
+ }
2158
+ convertValues(i, s, v = !1) {
2159
+ if (!i)
2160
+ return i;
2161
+ if (i.slice && i.map)
2162
+ return i.map((m) => this.convertValues(m, s));
2163
+ if (typeof i == "object") {
2164
+ if (v) {
2165
+ for (const m of Object.keys(i))
2166
+ i[m] = new s(i[m]);
2167
+ return i;
2168
+ }
2169
+ return new s(i);
2170
+ }
2171
+ return i;
2172
+ }
2173
+ }
2174
+ a.PluginInfo = f;
2175
+ class n {
2176
+ constructor(i = {}) {
2177
+ e(this, "id");
2178
+ e(this, "phase");
2179
+ e(this, "metadata");
2180
+ e(this, "enabled");
2181
+ e(this, "devMode");
2182
+ e(this, "devPath");
2183
+ e(this, "lastError");
2184
+ e(this, "errorCount");
2185
+ e(this, "installedAt");
2186
+ typeof i == "string" && (i = JSON.parse(i)), this.id = i.id, this.phase = i.phase, this.metadata = this.convertValues(i.metadata, D.PluginMeta), this.enabled = i.enabled, this.devMode = i.devMode, this.devPath = i.devPath, this.lastError = i.lastError, this.errorCount = i.errorCount, this.installedAt = this.convertValues(i.installedAt, S.Time);
2187
+ }
2188
+ static createFrom(i = {}) {
2189
+ return new n(i);
2190
+ }
2191
+ convertValues(i, s, v = !1) {
2192
+ if (!i)
2193
+ return i;
2194
+ if (i.slice && i.map)
2195
+ return i.map((m) => this.convertValues(m, s));
2196
+ if (typeof i == "object") {
2197
+ if (v) {
2198
+ for (const m of Object.keys(i))
2199
+ i[m] = new s(i[m]);
2200
+ return i;
2201
+ }
2202
+ return new s(i);
2203
+ }
2204
+ return i;
2205
+ }
2206
+ }
2207
+ a.PluginStateRecord = n;
2208
+ })(Y || (Y = {}));
2209
+ var lt;
2210
+ ((a) => {
2211
+ class h {
2212
+ constructor(n = {}) {
2213
+ e(this, "plugin");
2214
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin;
2215
+ }
2216
+ static createFrom(n = {}) {
2217
+ return new h(n);
2218
+ }
2219
+ }
2220
+ a.GetPluginComponentsInput = h;
2221
+ class d {
2222
+ constructor(n = {}) {
1854
2223
  e(this, "plugin");
1855
2224
  e(this, "resource");
1856
2225
  e(this, "area");
1857
- typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin, this.resource = r.resource, this.area = r.area;
2226
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin, this.resource = n.resource, this.area = n.area;
1858
2227
  }
1859
- static createFrom(r = {}) {
1860
- return new f(r);
2228
+ static createFrom(n = {}) {
2229
+ return new d(n);
1861
2230
  }
1862
2231
  }
1863
- a.GetResourceAreaComponentInput = f;
1864
- class l {
1865
- constructor(r = {}) {
2232
+ a.GetResourceAreaComponentInput = d;
2233
+ class p {
2234
+ constructor(n = {}) {
1866
2235
  e(this, "plugin");
1867
2236
  e(this, "resource");
1868
- typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin, this.resource = r.resource;
2237
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin, this.resource = n.resource;
1869
2238
  }
1870
- static createFrom(r = {}) {
1871
- return new l(r);
2239
+ static createFrom(n = {}) {
2240
+ return new p(n);
1872
2241
  }
1873
2242
  }
1874
- a.GetResourceComponentsInput = l;
2243
+ a.GetResourceComponentsInput = p;
1875
2244
  class o {
1876
- constructor(r = {}) {
2245
+ constructor(n = {}) {
1877
2246
  e(this, "owner");
1878
2247
  e(this, "name");
1879
2248
  e(this, "plugin");
1880
2249
  e(this, "resource");
1881
2250
  e(this, "area");
1882
2251
  e(this, "extension");
1883
- typeof r == "string" && (r = JSON.parse(r)), this.owner = r.owner, this.name = r.name, this.plugin = r.plugin, this.resource = r.resource, this.area = r.area, this.extension = r.extension;
2252
+ typeof n == "string" && (n = JSON.parse(n)), this.owner = n.owner, this.name = n.name, this.plugin = n.plugin, this.resource = n.resource, this.area = n.area, this.extension = n.extension;
1884
2253
  }
1885
- static createFrom(r = {}) {
1886
- return new o(r);
2254
+ static createFrom(n = {}) {
2255
+ return new o(n);
1887
2256
  }
1888
2257
  }
1889
2258
  a.ResourceComponent = o;
1890
- })(Z || (Z = {}));
1891
- var X;
2259
+ })(lt || (lt = {}));
2260
+ var ot;
1892
2261
  ((a) => {
1893
- class p {
1894
- constructor(l = {}) {
2262
+ class h {
2263
+ constructor(p = {}) {
1895
2264
  e(this, "filename");
1896
2265
  e(this, "contents");
1897
- typeof l == "string" && (l = JSON.parse(l)), this.filename = l.filename, this.contents = l.contents;
2266
+ typeof p == "string" && (p = JSON.parse(p)), this.filename = p.filename, this.contents = p.contents;
1898
2267
  }
1899
- static createFrom(l = {}) {
1900
- return new p(l);
2268
+ static createFrom(p = {}) {
2269
+ return new h(p);
1901
2270
  }
1902
2271
  }
1903
- a.GetLanguageInput = p;
1904
- })(X || (X = {}));
2272
+ a.GetLanguageInput = h;
2273
+ })(ot || (ot = {}));
1905
2274
  export {
1906
- N as config,
1907
- U as devserver,
1908
- B as exec,
1909
- G as logs,
1910
- z as main,
1911
- K as metric,
1912
- H as networker,
1913
- Q as plugin,
1914
- Y as registry,
1915
- q as settings,
1916
- _ as time,
1917
- W as trivy,
1918
- S as types,
1919
- Z as ui,
1920
- X as utils
2275
+ D as config,
2276
+ z as devserver,
2277
+ Z as exec,
2278
+ X as logs,
2279
+ $ as main,
2280
+ W as metric,
2281
+ tt as networker,
2282
+ et as plugin,
2283
+ it as pluginlog,
2284
+ nt as registry,
2285
+ rt as resource,
2286
+ st as settings,
2287
+ S as time,
2288
+ at as trivy,
2289
+ Y as types,
2290
+ lt as ui,
2291
+ ot as utils
1921
2292
  };