@omniviewdev/runtime 0.1.11 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) 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/useResourceType.d.ts +1 -1
  19. package/dist/hooks/resource/useResourceTypes.d.ts +1 -1
  20. package/dist/hooks/resource/useResources.d.ts +14 -22
  21. package/dist/hooks/resource/useWatchState.d.ts +28 -0
  22. package/dist/index.cjs +2 -2
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +1405 -1294
  25. package/dist/models.cjs +1 -1
  26. package/dist/models.js +1319 -994
  27. package/dist/types/index.d.ts +1 -1
  28. package/dist/types/watch.d.ts +29 -0
  29. package/dist/utils/activeSyncAggregator.d.ts +13 -8
  30. package/dist/utils/resourceKey.d.ts +12 -0
  31. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +2 -0
  32. package/dist/wailsjs/go/models.d.ts +400 -240
  33. package/dist/wailsjs/go/plugin/pluginManager.d.ts +3 -1
  34. package/dist/wailsjs/go/pluginlog/Manager.d.ts +18 -0
  35. package/dist/wailsjs/go/resource/Client.d.ts +39 -23
  36. package/package.json +1 -1
  37. package/dist/Client-BtQwAB3N.cjs +0 -1
  38. package/dist/errors/parseAppError.test.d.ts +0 -1
  39. package/dist/hooks/resource/useInformerState.d.ts +0 -24
  40. package/dist/types/informer.d.ts +0 -49
  41. 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 st = Object.defineProperty;
2
+ var at = (a, h, d) => h in a ? st(a, h, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[h] = d;
3
+ var e = (a, h, d) => at(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, f = !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((O) => this.convertValues(O, 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 (f) {
47
+ for (const O of Object.keys(s))
48
+ s[O] = new v(s[O]);
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 m {
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 m(s);
77
77
  }
78
78
  }
79
- a.PluginThemeColors = y;
80
- class r {
79
+ a.PluginThemeColors = m;
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, m);
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, f = !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((O) => this.convertValues(O, 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 (f) {
95
+ for (const O of Object.keys(s))
96
+ s[O] = new v(s[O]);
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, f = !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((O) => this.convertValues(O, 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 (f) {
138
+ for (const O of Object.keys(s))
139
+ s[O] = new v(s[O]);
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 H;
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;
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;
191
191
  }
192
- static createFrom(r = {}) {
193
- return new l(r);
194
- }
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;
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;
220
205
  }
221
- static createFrom(r = {}) {
222
- return new o(r);
223
- }
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
+ })(H || (H = {}));
212
+ var q;
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");
@@ -252,91 +235,91 @@ var B;
252
235
  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;
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((f) => this.convertValues(f, 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 f of Object.keys(i))
248
+ i[f] = new s(i[f]);
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((f) => this.convertValues(f, 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 f of Object.keys(i))
274
+ i[f] = new s(i[f]);
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 m {
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 m(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((f) => this.convertValues(f, 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 f of Object.keys(i))
313
+ i[f] = new s(i[f]);
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 = m;
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
+ })(q || (q = {}));
340
+ var Q;
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");
@@ -371,92 +367,92 @@ var G;
371
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, _.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((f) => this.convertValues(f, 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 f of Object.keys(i))
380
+ i[f] = new s(i[f]);
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((f) => this.convertValues(f, 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 f of Object.keys(i))
408
+ i[f] = new s(i[f]);
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((f) => this.convertValues(f, 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 f of Object.keys(i))
435
+ i[f] = new s(i[f]);
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 m {
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 m(i);
456
452
  }
457
453
  }
458
- a.LogSource = o;
459
- class y {
454
+ a.LogSource = m;
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, m), this.created_at = this.convertValues(i.created_at, _.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((f) => this.convertValues(f, 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 f of Object.keys(i))
479
+ i[f] = new s(i[f]);
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
+ })(Q || (Q = {}));
489
+ var Y;
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, m, 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, m));
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 m(o[l]);
530
526
  return o;
531
527
  }
532
- return new y(o);
528
+ return new m(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
+ })(Y || (Y = {}));
535
+ var z;
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, _.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") {
590
- if (b) {
591
- for (const d of Object.keys(n))
592
- n[d] = new v(n[d]);
593
- return n;
580
+ convertValues(r, g, V = !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") {
586
+ if (V) {
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, _.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") {
617
- if (b) {
618
- for (const d of Object.keys(n))
619
- n[d] = new v(n[d]);
620
- return n;
607
+ convertValues(r, g, V = !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") {
613
+ if (V) {
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 m {
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 m(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") {
649
- if (b) {
650
- for (const d of Object.keys(n))
651
- n[d] = new v(n[d]);
652
- return n;
639
+ convertValues(r, g, V = !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") {
645
+ if (V) {
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 = m;
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, m);
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") {
675
- if (b) {
676
- for (const d of Object.keys(n))
677
- n[d] = new v(n[d]);
678
- return n;
665
+ convertValues(r, g, V = !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") {
671
+ if (V) {
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") {
705
- if (b) {
706
- for (const d of Object.keys(n))
707
- n[d] = new v(n[d]);
708
- return n;
695
+ convertValues(r, g, V = !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") {
701
+ if (V) {
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") {
732
- if (b) {
733
- for (const d of Object.keys(n))
734
- n[d] = new v(n[d]);
735
- return n;
722
+ convertValues(r, g, V = !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") {
728
+ if (V) {
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") {
759
- if (b) {
760
- for (const d of Object.keys(n))
761
- n[d] = new v(n[d]);
762
- return n;
749
+ convertValues(r, g, V = !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") {
755
+ if (V) {
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, _.Time), this.end_time = this.convertValues(r.end_time, _.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") {
793
- if (b) {
794
- for (const d of Object.keys(n))
795
- n[d] = new v(n[d]);
796
- return n;
783
+ convertValues(r, g, V = !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") {
789
+ if (V) {
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 f {
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 f(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") {
820
- if (b) {
821
- for (const d of Object.keys(n))
822
- n[d] = new v(n[d]);
823
- return n;
810
+ convertValues(r, g, V = !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") {
816
+ if (V) {
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 = f;
827
+ class O {
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 O(r);
843
839
  }
844
840
  }
845
- a.SubscribeRequest = w;
846
- })(K || (K = {}));
847
- var H;
841
+ a.SubscribeRequest = O;
842
+ })(z || (z = {}));
843
+ var Z;
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, _.Time), this.updated_at = this.convertValues(n.updated_at, _.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
+ })(Z || (Z = {}));
936
+ var X;
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);
943
+ typeof p == "string" && (p = JSON.parse(p)), this.DevMode = p.DevMode, this.DevModePath = p.DevModePath, this.ExistingState = this.convertValues(p.ExistingState, B.PluginStateRecord);
948
944
  }
949
- static createFrom(l = {}) {
950
- return new p(l);
945
+ static createFrom(p = {}) {
946
+ return new h(p);
951
947
  }
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;
948
+ convertValues(p, o, m = !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 (m) {
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
+ })(X || (X = {}));
966
+ var $;
971
967
  ((a) => {
968
+ class h {
969
+ constructor(m = {}) {
970
+ e(this, "timestamp");
971
+ e(this, "pluginID");
972
+ e(this, "source");
973
+ e(this, "level");
974
+ e(this, "message");
975
+ typeof m == "string" && (m = JSON.parse(m)), this.timestamp = m.timestamp, this.pluginID = m.pluginID, this.source = m.source, this.level = m.level, this.message = m.message;
976
+ }
977
+ static createFrom(m = {}) {
978
+ return new h(m);
979
+ }
980
+ }
981
+ a.LogEntry = h;
982
+ class d {
983
+ static createFrom(m = {}) {
984
+ return new d(m);
985
+ }
986
+ constructor(m = {}) {
987
+ typeof m == "string" && (m = JSON.parse(m));
988
+ }
989
+ }
990
+ a.Manager = d;
972
991
  class p {
973
- constructor(i = {}) {
992
+ static createFrom(m = {}) {
993
+ return new p(m);
994
+ }
995
+ constructor(m = {}) {
996
+ typeof m == "string" && (m = JSON.parse(m));
997
+ }
998
+ }
999
+ a.PluginLogStream = p;
1000
+ })($ || ($ = {}));
1001
+ var W;
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 m {
1086
+ constructor(l = {}) {
1056
1087
  e(this, "version");
1057
1088
  e(this, "description");
1058
1089
  e(this, "changelog");
@@ -1060,228 +1091,184 @@ 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 m(l);
1067
1098
  }
1068
1099
  }
1069
- a.VersionInfo = y;
1070
- })(Y || (Y = {}));
1071
- var q;
1100
+ a.VersionInfo = m;
1101
+ })(W || (W = {}));
1102
+ var tt;
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
+ ((b) => {
1105
+ b[b.IDLE = 0] = "IDLE", b[b.SYNCING = 1] = "SYNCING", b[b.SYNCED = 2] = "SYNCED", b[b.ERROR = 3] = "ERROR", b[b.STOPPED = 4] = "STOPPED", b[b.FAILED = 5] = "FAILED", b[b.FORBIDDEN = 6] = "FORBIDDEN", b[b.SKIPPED = 7] = "SKIPPED";
1106
+ })(a.WatchState || (a.WatchState = {})), ((b) => {
1107
+ b[b.ON_CONNECT = 0] = "ON_CONNECT", b[b.ON_FIRST_QUERY = 1] = "ON_FIRST_QUERY", b[b.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;
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;
1158
1193
  }
1159
- return new i(r);
1194
+ return new y(t);
1160
1195
  }
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);
1196
+ return t;
1195
1197
  }
1196
1198
  }
1197
- a.ScanOptions = p;
1198
- class f {
1199
- constructor(o = {}) {
1200
- e(this, "timestamp");
1201
- e(this, "result");
1199
+ a.ActionDescriptor = p;
1200
+ class o {
1201
+ constructor(t = {}) {
1202
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);
1203
+ e(this, "namespace");
1204
+ e(this, "params");
1205
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.params = t.params;
1208
1206
  }
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;
1219
- }
1220
- return new y(o);
1221
- }
1222
- return o;
1207
+ static createFrom(t = {}) {
1208
+ return new o(t);
1223
1209
  }
1224
1210
  }
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 {
1211
+ a.ActionInput = o;
1212
+ class m {
1233
1213
  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;
1214
+ e(this, "success");
1215
+ e(this, "data");
1216
+ e(this, "message");
1217
+ typeof t == "string" && (t = JSON.parse(t)), this.success = t.success, this.data = t.data, this.message = t.message;
1241
1218
  }
1242
1219
  static createFrom(t = {}) {
1243
- return new p(t);
1220
+ return new m(t);
1244
1221
  }
1245
1222
  }
1246
- a.ActionDescriptor = p;
1247
- class f {
1223
+ a.ActionResult = m;
1224
+ class n {
1248
1225
  constructor(t = {}) {
1249
- e(this, "id");
1226
+ e(this, "input");
1250
1227
  e(this, "namespace");
1251
- e(this, "params");
1252
- typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.params = t.params;
1228
+ typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.namespace = t.namespace;
1253
1229
  }
1254
1230
  static createFrom(t = {}) {
1255
- return new f(t);
1231
+ return new n(t);
1256
1232
  }
1257
1233
  }
1258
- a.ActionInput = f;
1234
+ a.ClientCreateInput = n;
1259
1235
  class l {
1260
1236
  constructor(t = {}) {
1237
+ e(this, "result");
1261
1238
  e(this, "success");
1262
- e(this, "data");
1263
- e(this, "message");
1264
- typeof t == "string" && (t = JSON.parse(t)), this.success = t.success, this.data = t.data, this.message = t.message;
1239
+ e(this, "totalCount");
1240
+ e(this, "nextCursor");
1241
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success, this.totalCount = t.totalCount, this.nextCursor = t.nextCursor;
1265
1242
  }
1266
1243
  static createFrom(t = {}) {
1267
1244
  return new l(t);
1268
1245
  }
1269
1246
  }
1270
- a.ActionResult = l;
1271
- class o {
1247
+ a.ClientListResult = l;
1248
+ class i {
1272
1249
  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;
1250
+ e(this, "result");
1251
+ e(this, "success");
1252
+ typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1278
1253
  }
1279
1254
  static createFrom(t = {}) {
1280
- return new o(t);
1255
+ return new i(t);
1256
+ }
1257
+ }
1258
+ a.ClientResult = i;
1259
+ class s {
1260
+ constructor(t = {}) {
1261
+ e(this, "input");
1262
+ e(this, "id");
1263
+ e(this, "namespace");
1264
+ typeof t == "string" && (t = JSON.parse(t)), this.input = t.input, this.id = t.id, this.namespace = t.namespace;
1265
+ }
1266
+ static createFrom(t = {}) {
1267
+ return new s(t);
1281
1268
  }
1282
1269
  }
1283
- a.ActionTargetBuilder = o;
1284
- class y {
1270
+ a.ClientUpdateInput = s;
1271
+ class v {
1285
1272
  constructor(t = {}) {
1286
1273
  e(this, "idAccessor");
1287
1274
  e(this, "namespaceAccessor");
@@ -1294,11 +1281,11 @@ var S;
1294
1281
  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
1282
  }
1296
1283
  static createFrom(t = {}) {
1297
- return new y(t);
1284
+ return new v(t);
1298
1285
  }
1299
1286
  }
1300
- a.ResourceLink = y;
1301
- class r {
1287
+ a.ResourceLink = v;
1288
+ class f {
1302
1289
  constructor(t = {}) {
1303
1290
  e(this, "id");
1304
1291
  e(this, "header");
@@ -1314,489 +1301,484 @@ var S;
1314
1301
  e(this, "componentParams");
1315
1302
  e(this, "resourceLink");
1316
1303
  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;
1304
+ 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, v), this.valueMap = t.valueMap;
1318
1305
  }
1319
1306
  static createFrom(t = {}) {
1320
- return new r(t);
1307
+ return new f(t);
1321
1308
  }
1322
- convertValues(t, u, g = !1) {
1309
+ convertValues(t, y, w = !1) {
1323
1310
  if (!t)
1324
1311
  return t;
1325
1312
  if (t.slice && t.map)
1326
- return t.map((h) => this.convertValues(h, u));
1313
+ return t.map((c) => this.convertValues(c, y));
1327
1314
  if (typeof t == "object") {
1328
- if (g) {
1329
- for (const h of Object.keys(t))
1330
- t[h] = new u(t[h]);
1315
+ if (w) {
1316
+ for (const c of Object.keys(t))
1317
+ t[c] = new y(t[c]);
1331
1318
  return t;
1332
1319
  }
1333
- return new u(t);
1320
+ return new y(t);
1334
1321
  }
1335
1322
  return t;
1336
1323
  }
1337
1324
  }
1338
- a.ColumnDef = r;
1339
- class i {
1325
+ a.ColumnDefinition = f;
1326
+ class O {
1340
1327
  constructor(t = {}) {
1341
- e(this, "last_refresh");
1342
- e(this, "data");
1343
- e(this, "labels");
1344
1328
  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
- e(this, "input");
1405
1329
  e(this, "namespace");
1406
- typeof t == "string" && (t = JSON.parse(t)), this.params = t.params, this.input = t.input, this.namespace = t.namespace;
1330
+ e(this, "gracePeriodSeconds");
1331
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace, this.gracePeriodSeconds = t.gracePeriodSeconds;
1407
1332
  }
1408
1333
  static createFrom(t = {}) {
1409
- return new s(t);
1334
+ return new O(t);
1410
1335
  }
1411
1336
  }
1412
- a.CreateInput = s;
1413
- class c {
1337
+ a.DeleteInput = O;
1338
+ class R {
1414
1339
  constructor(t = {}) {
1415
- e(this, "result");
1416
- e(this, "success");
1417
- typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1340
+ e(this, "resourceKey");
1341
+ e(this, "fileMatch");
1342
+ e(this, "uri");
1343
+ e(this, "url");
1344
+ e(this, "content");
1345
+ e(this, "language");
1346
+ 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;
1418
1347
  }
1419
1348
  static createFrom(t = {}) {
1420
- return new c(t);
1349
+ return new R(t);
1421
1350
  }
1422
1351
  }
1423
- a.CreateResult = c;
1424
- class O {
1352
+ a.EditorSchema = R;
1353
+ class r {
1425
1354
  constructor(t = {}) {
1426
- e(this, "input");
1427
- e(this, "params");
1428
- e(this, "id");
1429
- 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;
1355
+ e(this, "field");
1356
+ e(this, "operator");
1357
+ e(this, "value");
1358
+ typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.operator = t.operator, this.value = t.value;
1431
1359
  }
1432
1360
  static createFrom(t = {}) {
1433
- return new O(t);
1361
+ return new r(t);
1434
1362
  }
1435
1363
  }
1436
- a.DeleteInput = O;
1437
- class w {
1364
+ a.FilterPredicate = r;
1365
+ class g {
1438
1366
  constructor(t = {}) {
1439
- e(this, "result");
1440
- e(this, "success");
1441
- typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1367
+ e(this, "logic");
1368
+ e(this, "predicates");
1369
+ e(this, "groups");
1370
+ typeof t == "string" && (t = JSON.parse(t)), this.logic = t.logic, this.predicates = this.convertValues(t.predicates, r), this.groups = this.convertValues(t.groups, g);
1442
1371
  }
1443
1372
  static createFrom(t = {}) {
1444
- return new w(t);
1373
+ return new g(t);
1374
+ }
1375
+ convertValues(t, y, w = !1) {
1376
+ if (!t)
1377
+ return t;
1378
+ if (t.slice && t.map)
1379
+ return t.map((c) => this.convertValues(c, y));
1380
+ if (typeof t == "object") {
1381
+ if (w) {
1382
+ for (const c of Object.keys(t))
1383
+ t[c] = new y(t[c]);
1384
+ return t;
1385
+ }
1386
+ return new y(t);
1387
+ }
1388
+ return t;
1445
1389
  }
1446
1390
  }
1447
- a.DeleteResult = w;
1448
- class F {
1391
+ a.FilterExpression = g;
1392
+ class V {
1449
1393
  constructor(t = {}) {
1450
- e(this, "resourceKey");
1451
- e(this, "fileMatch");
1452
- e(this, "uri");
1453
- e(this, "url");
1454
- e(this, "content");
1455
- e(this, "language");
1456
- 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;
1394
+ e(this, "path");
1395
+ e(this, "displayName");
1396
+ e(this, "description");
1397
+ e(this, "type");
1398
+ e(this, "operators");
1399
+ e(this, "allowedValues");
1400
+ e(this, "required");
1401
+ 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;
1457
1402
  }
1458
1403
  static createFrom(t = {}) {
1459
- return new F(t);
1404
+ return new V(t);
1460
1405
  }
1461
1406
  }
1462
- a.EditorSchema = F;
1463
- class n {
1407
+ a.FilterField = V;
1408
+ class u {
1464
1409
  constructor(t = {}) {
1465
1410
  e(this, "page");
1466
1411
  e(this, "pageSize");
1467
- typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize;
1412
+ e(this, "cursor");
1413
+ typeof t == "string" && (t = JSON.parse(t)), this.page = t.page, this.pageSize = t.pageSize, this.cursor = t.cursor;
1468
1414
  }
1469
1415
  static createFrom(t = {}) {
1470
- return new n(t);
1416
+ return new u(t);
1471
1417
  }
1472
1418
  }
1473
- a.PaginationParams = n;
1474
- class v {
1419
+ a.PaginationParams = u;
1420
+ class S {
1475
1421
  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;
1422
+ e(this, "field");
1423
+ e(this, "descending");
1424
+ typeof t == "string" && (t = JSON.parse(t)), this.field = t.field, this.descending = t.descending;
1479
1425
  }
1480
1426
  static createFrom(t = {}) {
1481
- return new v(t);
1427
+ return new S(t);
1482
1428
  }
1483
1429
  }
1484
- a.OrderParams = v;
1485
- class b {
1430
+ a.OrderField = S;
1431
+ class P {
1486
1432
  constructor(t = {}) {
1487
- e(this, "params");
1488
- e(this, "conditions");
1433
+ e(this, "filters");
1434
+ e(this, "textQuery");
1489
1435
  e(this, "namespaces");
1490
1436
  e(this, "order");
1491
1437
  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);
1438
+ typeof t == "string" && (t = JSON.parse(t)), this.filters = this.convertValues(t.filters, g), this.textQuery = t.textQuery, this.namespaces = t.namespaces, this.order = this.convertValues(t.order, S), this.pagination = this.convertValues(t.pagination, u);
1493
1439
  }
1494
1440
  static createFrom(t = {}) {
1495
- return new b(t);
1441
+ return new P(t);
1496
1442
  }
1497
- convertValues(t, u, g = !1) {
1443
+ convertValues(t, y, w = !1) {
1498
1444
  if (!t)
1499
1445
  return t;
1500
1446
  if (t.slice && t.map)
1501
- return t.map((h) => this.convertValues(h, u));
1447
+ return t.map((c) => this.convertValues(c, y));
1502
1448
  if (typeof t == "object") {
1503
- if (g) {
1504
- for (const h of Object.keys(t))
1505
- t[h] = new u(t[h]);
1449
+ if (w) {
1450
+ for (const c of Object.keys(t))
1451
+ t[c] = new y(t[c]);
1506
1452
  return t;
1507
1453
  }
1508
- return new u(t);
1454
+ return new y(t);
1509
1455
  }
1510
1456
  return t;
1511
1457
  }
1512
1458
  }
1513
- a.FindInput = b;
1514
- class d {
1459
+ a.FindInput = P;
1460
+ class I {
1515
1461
  constructor(t = {}) {
1516
- e(this, "page");
1517
- 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;
1462
+ e(this, "id");
1463
+ e(this, "namespace");
1464
+ typeof t == "string" && (t = JSON.parse(t)), this.id = t.id, this.namespace = t.namespace;
1521
1465
  }
1522
1466
  static createFrom(t = {}) {
1523
- return new d(t);
1467
+ return new I(t);
1524
1468
  }
1525
1469
  }
1526
- a.PaginationResult = d;
1527
- class J {
1470
+ a.GetInput = I;
1471
+ class N {
1528
1472
  constructor(t = {}) {
1529
- e(this, "result");
1530
- e(this, "success");
1531
- 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);
1473
+ e(this, "type");
1474
+ e(this, "status");
1475
+ e(this, "reason");
1476
+ e(this, "message");
1477
+ e(this, "lastProbeTime");
1478
+ e(this, "lastTransitionTime");
1479
+ 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, _.Time), this.lastTransitionTime = this.convertValues(t.lastTransitionTime, _.Time);
1533
1480
  }
1534
1481
  static createFrom(t = {}) {
1535
- return new J(t);
1482
+ return new N(t);
1536
1483
  }
1537
- convertValues(t, u, g = !1) {
1484
+ convertValues(t, y, w = !1) {
1538
1485
  if (!t)
1539
1486
  return t;
1540
1487
  if (t.slice && t.map)
1541
- return t.map((h) => this.convertValues(h, u));
1488
+ return t.map((c) => this.convertValues(c, y));
1542
1489
  if (typeof t == "object") {
1543
- if (g) {
1544
- for (const h of Object.keys(t))
1545
- t[h] = new u(t[h]);
1490
+ if (w) {
1491
+ for (const c of Object.keys(t))
1492
+ t[c] = new y(t[c]);
1546
1493
  return t;
1547
1494
  }
1548
- return new u(t);
1495
+ return new y(t);
1549
1496
  }
1550
1497
  return t;
1551
1498
  }
1552
1499
  }
1553
- a.FindResult = J;
1554
- class j {
1500
+ a.HealthCondition = N;
1501
+ class T {
1555
1502
  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;
1503
+ e(this, "namespaces");
1504
+ e(this, "order");
1505
+ e(this, "pagination");
1506
+ typeof t == "string" && (t = JSON.parse(t)), this.namespaces = t.namespaces, this.order = this.convertValues(t.order, S), this.pagination = this.convertValues(t.pagination, u);
1560
1507
  }
1561
1508
  static createFrom(t = {}) {
1562
- return new j(t);
1563
- }
1564
- }
1565
- a.GetInput = j;
1566
- class E {
1567
- 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;
1509
+ return new T(t);
1571
1510
  }
1572
- static createFrom(t = {}) {
1573
- return new E(t);
1511
+ convertValues(t, y, w = !1) {
1512
+ if (!t)
1513
+ return t;
1514
+ if (t.slice && t.map)
1515
+ return t.map((c) => this.convertValues(c, y));
1516
+ if (typeof t == "object") {
1517
+ if (w) {
1518
+ for (const c of Object.keys(t))
1519
+ t[c] = new y(t[c]);
1520
+ return t;
1521
+ }
1522
+ return new y(t);
1523
+ }
1524
+ return t;
1574
1525
  }
1575
1526
  }
1576
- a.GetResult = E;
1577
- class D {
1527
+ a.ListInput = T;
1528
+ class F {
1578
1529
  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;
1530
+ e(this, "method");
1531
+ e(this, "fieldPath");
1532
+ e(this, "ownerRefKind");
1533
+ e(this, "labelSelector");
1534
+ typeof t == "string" && (t = JSON.parse(t)), this.method = t.method, this.fieldPath = t.fieldPath, this.ownerRefKind = t.ownerRefKind, this.labelSelector = t.labelSelector;
1586
1535
  }
1587
1536
  static createFrom(t = {}) {
1588
- return new D(t);
1537
+ return new F(t);
1589
1538
  }
1590
1539
  }
1591
- a.InformerConnectionSummary = D;
1540
+ a.RelationshipExtractor = F;
1592
1541
  class k {
1593
1542
  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);
1543
+ e(this, "type");
1544
+ e(this, "targetResourceKey");
1545
+ e(this, "label");
1546
+ e(this, "inverseLabel");
1547
+ e(this, "cardinality");
1548
+ e(this, "extractor");
1549
+ 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);
1600
1550
  }
1601
1551
  static createFrom(t = {}) {
1602
1552
  return new k(t);
1603
1553
  }
1604
- convertValues(t, u, g = !1) {
1554
+ convertValues(t, y, w = !1) {
1605
1555
  if (!t)
1606
1556
  return t;
1607
1557
  if (t.slice && t.map)
1608
- return t.map((h) => this.convertValues(h, u));
1558
+ return t.map((c) => this.convertValues(c, y));
1609
1559
  if (typeof t == "object") {
1610
- if (g) {
1611
- for (const h of Object.keys(t))
1612
- t[h] = new u(t[h]);
1560
+ if (w) {
1561
+ for (const c of Object.keys(t))
1562
+ t[c] = new y(t[c]);
1613
1563
  return t;
1614
1564
  }
1615
- return new u(t);
1565
+ return new y(t);
1616
1566
  }
1617
1567
  return t;
1618
1568
  }
1619
1569
  }
1620
- a.LayoutItem = k;
1621
- class P {
1570
+ a.RelationshipDescriptor = k;
1571
+ class J {
1622
1572
  constructor(t = {}) {
1623
- e(this, "params");
1624
- e(this, "namespaces");
1625
- e(this, "order");
1626
- 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);
1573
+ e(this, "pluginId");
1574
+ e(this, "connectionId");
1575
+ e(this, "resourceKey");
1576
+ e(this, "id");
1577
+ e(this, "namespace");
1578
+ e(this, "displayName");
1579
+ 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;
1628
1580
  }
1629
1581
  static createFrom(t = {}) {
1630
- return new P(t);
1582
+ return new J(t);
1631
1583
  }
1632
- convertValues(t, u, g = !1) {
1584
+ }
1585
+ a.ResourceRef = J;
1586
+ class A {
1587
+ constructor(t = {}) {
1588
+ e(this, "descriptor");
1589
+ e(this, "targets");
1590
+ typeof t == "string" && (t = JSON.parse(t)), this.descriptor = this.convertValues(t.descriptor, k), this.targets = this.convertValues(t.targets, J);
1591
+ }
1592
+ static createFrom(t = {}) {
1593
+ return new A(t);
1594
+ }
1595
+ convertValues(t, y, w = !1) {
1633
1596
  if (!t)
1634
1597
  return t;
1635
1598
  if (t.slice && t.map)
1636
- return t.map((h) => this.convertValues(h, u));
1599
+ return t.map((c) => this.convertValues(c, y));
1637
1600
  if (typeof t == "object") {
1638
- if (g) {
1639
- for (const h of Object.keys(t))
1640
- t[h] = new u(t[h]);
1601
+ if (w) {
1602
+ for (const c of Object.keys(t))
1603
+ t[c] = new y(t[c]);
1641
1604
  return t;
1642
1605
  }
1643
- return new u(t);
1606
+ return new y(t);
1644
1607
  }
1645
1608
  return t;
1646
1609
  }
1647
1610
  }
1648
- a.ListInput = P;
1649
- class R {
1611
+ a.ResolvedRelationship = A;
1612
+ class E {
1650
1613
  constructor(t = {}) {
1651
- e(this, "result");
1652
- 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);
1614
+ e(this, "level");
1615
+ e(this, "expectedCount");
1616
+ e(this, "defaultPageSize");
1617
+ typeof t == "string" && (t = JSON.parse(t)), this.level = t.level, this.expectedCount = t.expectedCount, this.defaultPageSize = t.defaultPageSize;
1655
1618
  }
1656
1619
  static createFrom(t = {}) {
1657
- return new R(t);
1620
+ return new E(t);
1621
+ }
1622
+ }
1623
+ a.ScaleHint = E;
1624
+ class C {
1625
+ constructor(t = {}) {
1626
+ e(this, "canGet");
1627
+ e(this, "canList");
1628
+ e(this, "canFind");
1629
+ e(this, "canCreate");
1630
+ e(this, "canUpdate");
1631
+ e(this, "canDelete");
1632
+ e(this, "watchable");
1633
+ e(this, "filterable");
1634
+ e(this, "searchable");
1635
+ e(this, "hasActions");
1636
+ e(this, "hasSchema");
1637
+ e(this, "namespaceScoped");
1638
+ e(this, "hasRelationships");
1639
+ e(this, "hasHealth");
1640
+ e(this, "hasEvents");
1641
+ e(this, "scaleHint");
1642
+ 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);
1643
+ }
1644
+ static createFrom(t = {}) {
1645
+ return new C(t);
1658
1646
  }
1659
- convertValues(t, u, g = !1) {
1647
+ convertValues(t, y, w = !1) {
1660
1648
  if (!t)
1661
1649
  return t;
1662
1650
  if (t.slice && t.map)
1663
- return t.map((h) => this.convertValues(h, u));
1651
+ return t.map((c) => this.convertValues(c, y));
1664
1652
  if (typeof t == "object") {
1665
- if (g) {
1666
- for (const h of Object.keys(t))
1667
- t[h] = new u(t[h]);
1653
+ if (w) {
1654
+ for (const c of Object.keys(t))
1655
+ t[c] = new y(t[c]);
1668
1656
  return t;
1669
1657
  }
1670
- return new u(t);
1658
+ return new y(t);
1671
1659
  }
1672
1660
  return t;
1673
1661
  }
1674
1662
  }
1675
- a.ListResult = R;
1676
- class T {
1663
+ a.ResourceCapabilities = C;
1664
+ class L {
1677
1665
  constructor(t = {}) {
1678
- 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;
1666
+ e(this, "id_accessor");
1667
+ e(this, "namespace_accessor");
1668
+ e(this, "memoizer_accessor");
1669
+ e(this, "columnDefs");
1670
+ 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, f);
1687
1671
  }
1688
1672
  static createFrom(t = {}) {
1689
- return new T(t);
1673
+ return new L(t);
1690
1674
  }
1691
- convertValues(t, u, g = !1) {
1675
+ convertValues(t, y, w = !1) {
1692
1676
  if (!t)
1693
1677
  return t;
1694
1678
  if (t.slice && t.map)
1695
- return t.map((h) => this.convertValues(h, u));
1679
+ return t.map((c) => this.convertValues(c, y));
1696
1680
  if (typeof t == "object") {
1697
- if (g) {
1698
- for (const h of Object.keys(t))
1699
- t[h] = new u(t[h]);
1681
+ if (w) {
1682
+ for (const c of Object.keys(t))
1683
+ t[c] = new y(t[c]);
1700
1684
  return t;
1701
1685
  }
1702
- return new u(t);
1686
+ return new y(t);
1703
1687
  }
1704
1688
  return t;
1705
1689
  }
1706
1690
  }
1707
- a.PluginInfo = T;
1708
- class I {
1691
+ a.ResourceDefinition = L;
1692
+ class M {
1709
1693
  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);
1694
+ e(this, "type");
1695
+ e(this, "reason");
1696
+ e(this, "message");
1697
+ e(this, "source");
1698
+ e(this, "count");
1699
+ e(this, "firstSeen");
1700
+ e(this, "lastSeen");
1701
+ 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, _.Time), this.lastSeen = this.convertValues(t.lastSeen, _.Time);
1720
1702
  }
1721
1703
  static createFrom(t = {}) {
1722
- return new I(t);
1704
+ return new M(t);
1723
1705
  }
1724
- convertValues(t, u, g = !1) {
1706
+ convertValues(t, y, w = !1) {
1725
1707
  if (!t)
1726
1708
  return t;
1727
1709
  if (t.slice && t.map)
1728
- return t.map((h) => this.convertValues(h, u));
1710
+ return t.map((c) => this.convertValues(c, y));
1729
1711
  if (typeof t == "object") {
1730
- if (g) {
1731
- for (const h of Object.keys(t))
1732
- t[h] = new u(t[h]);
1712
+ if (w) {
1713
+ for (const c of Object.keys(t))
1714
+ t[c] = new y(t[c]);
1733
1715
  return t;
1734
1716
  }
1735
- return new u(t);
1717
+ return new y(t);
1736
1718
  }
1737
1719
  return t;
1738
1720
  }
1739
1721
  }
1740
- a.PluginStateRecord = I;
1741
- class A {
1722
+ a.ResourceEvent = M;
1723
+ class x {
1742
1724
  constructor(t = {}) {
1743
- e(this, "id_accessor");
1744
- e(this, "namespace_accessor");
1745
- e(this, "memoizer_accessor");
1746
- 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;
1725
+ e(this, "id");
1726
+ e(this, "name");
1727
+ e(this, "description");
1728
+ e(this, "icon");
1729
+ e(this, "resources");
1730
+ 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);
1749
1731
  }
1750
1732
  static createFrom(t = {}) {
1751
- return new A(t);
1733
+ return new x(t);
1752
1734
  }
1753
- convertValues(t, u, g = !1) {
1735
+ convertValues(t, y, w = !1) {
1754
1736
  if (!t)
1755
1737
  return t;
1756
1738
  if (t.slice && t.map)
1757
- return t.map((h) => this.convertValues(h, u));
1739
+ return t.map((c) => this.convertValues(c, y));
1758
1740
  if (typeof t == "object") {
1759
- if (g) {
1760
- for (const h of Object.keys(t))
1761
- t[h] = new u(t[h]);
1741
+ if (w) {
1742
+ for (const c of Object.keys(t))
1743
+ t[c] = new y(t[c]);
1762
1744
  return t;
1763
1745
  }
1764
- return new u(t);
1746
+ return new y(t);
1765
1747
  }
1766
1748
  return t;
1767
1749
  }
1768
1750
  }
1769
- a.ResourceDefinition = A;
1770
- class M {
1751
+ a.ResourceGroup = x;
1752
+ class U {
1771
1753
  constructor(t = {}) {
1772
- e(this, "id");
1773
- e(this, "name");
1774
- e(this, "description");
1775
- e(this, "icon");
1776
- e(this, "resources");
1777
- 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);
1754
+ e(this, "status");
1755
+ e(this, "reason");
1756
+ e(this, "message");
1757
+ e(this, "since");
1758
+ e(this, "conditions");
1759
+ 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, _.Time), this.conditions = this.convertValues(t.conditions, N);
1778
1760
  }
1779
1761
  static createFrom(t = {}) {
1780
- return new M(t);
1762
+ return new U(t);
1781
1763
  }
1782
- convertValues(t, u, g = !1) {
1764
+ convertValues(t, y, w = !1) {
1783
1765
  if (!t)
1784
1766
  return t;
1785
1767
  if (t.slice && t.map)
1786
- return t.map((h) => this.convertValues(h, u));
1768
+ return t.map((c) => this.convertValues(c, y));
1787
1769
  if (typeof t == "object") {
1788
- if (g) {
1789
- for (const h of Object.keys(t))
1790
- t[h] = new u(t[h]);
1770
+ if (w) {
1771
+ for (const c of Object.keys(t))
1772
+ t[c] = new y(t[c]);
1791
1773
  return t;
1792
1774
  }
1793
- return new u(t);
1775
+ return new y(t);
1794
1776
  }
1795
1777
  return t;
1796
1778
  }
1797
1779
  }
1798
- a.ResourceGroup = M;
1799
- class L {
1780
+ a.ResourceHealth = U;
1781
+ class G {
1800
1782
  constructor(t = {}) {
1801
1783
  e(this, "group");
1802
1784
  e(this, "version");
@@ -1808,114 +1790,457 @@ var S;
1808
1790
  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
1791
  }
1810
1792
  static createFrom(t = {}) {
1811
- return new L(t);
1793
+ return new G(t);
1812
1794
  }
1813
1795
  }
1814
- a.ResourceMeta = L;
1815
- class C {
1796
+ a.ResourceMeta = G;
1797
+ class j {
1816
1798
  constructor(t = {}) {
1817
- e(this, "input");
1818
- e(this, "params");
1819
- e(this, "id");
1820
- 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;
1799
+ e(this, "partitions");
1800
+ typeof t == "string" && (t = JSON.parse(t)), this.partitions = t.partitions;
1822
1801
  }
1823
1802
  static createFrom(t = {}) {
1824
- return new C(t);
1803
+ return new j(t);
1825
1804
  }
1826
1805
  }
1827
- a.UpdateInput = C;
1828
- class x {
1806
+ a.WatchScope = j;
1807
+ class K {
1829
1808
  constructor(t = {}) {
1830
- e(this, "result");
1831
- e(this, "success");
1832
- typeof t == "string" && (t = JSON.parse(t)), this.result = t.result, this.success = t.success;
1809
+ e(this, "connectionId");
1810
+ e(this, "resources");
1811
+ e(this, "resourceCounts");
1812
+ e(this, "scope");
1813
+ 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);
1833
1814
  }
1834
1815
  static createFrom(t = {}) {
1835
- return new x(t);
1816
+ return new K(t);
1817
+ }
1818
+ convertValues(t, y, w = !1) {
1819
+ if (!t)
1820
+ return t;
1821
+ if (t.slice && t.map)
1822
+ return t.map((c) => this.convertValues(c, y));
1823
+ if (typeof t == "object") {
1824
+ if (w) {
1825
+ for (const c of Object.keys(t))
1826
+ t[c] = new y(t[c]);
1827
+ return t;
1828
+ }
1829
+ return new y(t);
1830
+ }
1831
+ return t;
1836
1832
  }
1837
1833
  }
1838
- a.UpdateResult = x;
1839
- })(S || (S = {}));
1840
- var Z;
1834
+ a.WatchConnectionSummary = K;
1835
+ })(tt || (tt = {}));
1836
+ var et;
1841
1837
  ((a) => {
1838
+ ((m) => {
1839
+ m.TEXT = "text", m.SELECT = "select", m.MULTISELECT = "multiselect", m.INTEGER = "integer", m.FLOAT = "float", m.TOGGLE = "toggle", m.COLOR = "color", m.DATETIME = "datetime", m.PASSWORD = "password";
1840
+ })(a.SettingType || (a.SettingType = {}));
1841
+ class h {
1842
+ constructor(n = {}) {
1843
+ e(this, "enabled");
1844
+ e(this, "allowFolders");
1845
+ e(this, "extensions");
1846
+ e(this, "multiple");
1847
+ e(this, "relative");
1848
+ e(this, "defaultPath");
1849
+ 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;
1850
+ }
1851
+ static createFrom(n = {}) {
1852
+ return new h(n);
1853
+ }
1854
+ }
1855
+ a.SettingFileSelection = h;
1856
+ class d {
1857
+ constructor(n = {}) {
1858
+ e(this, "label");
1859
+ e(this, "description");
1860
+ e(this, "value");
1861
+ typeof n == "string" && (n = JSON.parse(n)), this.label = n.label, this.description = n.description, this.value = n.value;
1862
+ }
1863
+ static createFrom(n = {}) {
1864
+ return new d(n);
1865
+ }
1866
+ }
1867
+ a.SettingOption = d;
1842
1868
  class p {
1843
- constructor(r = {}) {
1869
+ constructor(n = {}) {
1870
+ e(this, "id");
1871
+ e(this, "label");
1872
+ e(this, "description");
1873
+ e(this, "type");
1874
+ e(this, "value");
1875
+ e(this, "default");
1876
+ e(this, "options");
1877
+ e(this, "fileSelection");
1878
+ e(this, "sensitive");
1879
+ 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;
1880
+ }
1881
+ static createFrom(n = {}) {
1882
+ return new p(n);
1883
+ }
1884
+ convertValues(n, l, i = !1) {
1885
+ if (!n)
1886
+ return n;
1887
+ if (n.slice && n.map)
1888
+ return n.map((s) => this.convertValues(s, l));
1889
+ if (typeof n == "object") {
1890
+ if (i) {
1891
+ for (const s of Object.keys(n))
1892
+ n[s] = new l(n[s]);
1893
+ return n;
1894
+ }
1895
+ return new l(n);
1896
+ }
1897
+ return n;
1898
+ }
1899
+ }
1900
+ a.Setting = p;
1901
+ class o {
1902
+ constructor(n = {}) {
1903
+ e(this, "settings");
1904
+ e(this, "id");
1905
+ e(this, "label");
1906
+ e(this, "description");
1907
+ e(this, "icon");
1908
+ 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;
1909
+ }
1910
+ static createFrom(n = {}) {
1911
+ return new o(n);
1912
+ }
1913
+ convertValues(n, l, i = !1) {
1914
+ if (!n)
1915
+ return n;
1916
+ if (n.slice && n.map)
1917
+ return n.map((s) => this.convertValues(s, l));
1918
+ if (typeof n == "object") {
1919
+ if (i) {
1920
+ for (const s of Object.keys(n))
1921
+ n[s] = new l(n[s]);
1922
+ return n;
1923
+ }
1924
+ return new l(n);
1925
+ }
1926
+ return n;
1927
+ }
1928
+ }
1929
+ a.Category = o;
1930
+ })(et || (et = {}));
1931
+ var _;
1932
+ ((a) => {
1933
+ class h {
1934
+ static createFrom(p = {}) {
1935
+ return new h(p);
1936
+ }
1937
+ constructor(p = {}) {
1938
+ typeof p == "string" && (p = JSON.parse(p));
1939
+ }
1940
+ }
1941
+ a.Time = h;
1942
+ })(_ || (_ = {}));
1943
+ var it;
1944
+ ((a) => {
1945
+ ((p) => {
1946
+ p.VULN = "vuln", p.MISCONFIG = "misconfig", p.SECRET = "secret", p.LICENSE = "license";
1947
+ })(a.Scanner || (a.Scanner = {})), ((p) => {
1948
+ p.CONFIG = "config", p.FILESYSTEM = "fs", p.IMAGE = "image", p.KUBERNETES = "kubernetes", p.REPOSITORY = "repository", p.ROOTFS = "rootfs", p.SBOM = "sbom";
1949
+ })(a.Command || (a.Command = {}));
1950
+ class h {
1951
+ constructor(o = {}) {
1952
+ e(this, "filePatterns");
1953
+ e(this, "skipDirs");
1954
+ e(this, "skipFiles");
1955
+ e(this, "scanners");
1956
+ typeof o == "string" && (o = JSON.parse(o)), this.filePatterns = o.filePatterns, this.skipDirs = o.skipDirs, this.skipFiles = o.skipFiles, this.scanners = o.scanners;
1957
+ }
1958
+ static createFrom(o = {}) {
1959
+ return new h(o);
1960
+ }
1961
+ }
1962
+ a.ScanOptions = h;
1963
+ class d {
1964
+ constructor(o = {}) {
1965
+ e(this, "timestamp");
1966
+ e(this, "result");
1967
+ e(this, "id");
1968
+ e(this, "command");
1969
+ 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;
1970
+ }
1971
+ static createFrom(o = {}) {
1972
+ return new d(o);
1973
+ }
1974
+ convertValues(o, m, n = !1) {
1975
+ if (!o)
1976
+ return o;
1977
+ if (o.slice && o.map)
1978
+ return o.map((l) => this.convertValues(l, m));
1979
+ if (typeof o == "object") {
1980
+ if (n) {
1981
+ for (const l of Object.keys(o))
1982
+ o[l] = new m(o[l]);
1983
+ return o;
1984
+ }
1985
+ return new m(o);
1986
+ }
1987
+ return o;
1988
+ }
1989
+ }
1990
+ a.ScanResult = d;
1991
+ })(it || (it = {}));
1992
+ var B;
1993
+ ((a) => {
1994
+ ((l) => {
1995
+ 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";
1996
+ })(a.ConnectionStatusCode || (a.ConnectionStatusCode = {}));
1997
+ class h {
1998
+ constructor(i = {}) {
1999
+ e(this, "enabled");
2000
+ e(this, "triggers");
2001
+ e(this, "retry");
2002
+ typeof i == "string" && (i = JSON.parse(i)), this.enabled = i.enabled, this.triggers = i.triggers, this.retry = i.retry;
2003
+ }
2004
+ static createFrom(i = {}) {
2005
+ return new h(i);
2006
+ }
2007
+ }
2008
+ a.ConnectionAutoConnect = h;
2009
+ class d {
2010
+ constructor(i = {}) {
2011
+ e(this, "auto_connect");
2012
+ typeof i == "string" && (i = JSON.parse(i)), this.auto_connect = this.convertValues(i.auto_connect, h);
2013
+ }
2014
+ static createFrom(i = {}) {
2015
+ return new d(i);
2016
+ }
2017
+ convertValues(i, s, v = !1) {
2018
+ if (!i)
2019
+ return i;
2020
+ if (i.slice && i.map)
2021
+ return i.map((f) => this.convertValues(f, s));
2022
+ if (typeof i == "object") {
2023
+ if (v) {
2024
+ for (const f of Object.keys(i))
2025
+ i[f] = new s(i[f]);
2026
+ return i;
2027
+ }
2028
+ return new s(i);
2029
+ }
2030
+ return i;
2031
+ }
2032
+ }
2033
+ a.ConnectionLifecycle = d;
2034
+ class p {
2035
+ constructor(i = {}) {
2036
+ e(this, "last_refresh");
2037
+ e(this, "data");
2038
+ e(this, "labels");
2039
+ e(this, "lifecycle");
2040
+ e(this, "id");
2041
+ e(this, "uid");
2042
+ e(this, "name");
2043
+ e(this, "description");
2044
+ e(this, "avatar");
2045
+ e(this, "expiry_time");
2046
+ e(this, "Client");
2047
+ typeof i == "string" && (i = JSON.parse(i)), this.last_refresh = this.convertValues(i.last_refresh, _.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;
2048
+ }
2049
+ static createFrom(i = {}) {
2050
+ return new p(i);
2051
+ }
2052
+ convertValues(i, s, v = !1) {
2053
+ if (!i)
2054
+ return i;
2055
+ if (i.slice && i.map)
2056
+ return i.map((f) => this.convertValues(f, s));
2057
+ if (typeof i == "object") {
2058
+ if (v) {
2059
+ for (const f of Object.keys(i))
2060
+ i[f] = new s(i[f]);
2061
+ return i;
2062
+ }
2063
+ return new s(i);
2064
+ }
2065
+ return i;
2066
+ }
2067
+ }
2068
+ a.Connection = p;
2069
+ class o {
2070
+ constructor(i = {}) {
2071
+ e(this, "connection");
2072
+ e(this, "status");
2073
+ e(this, "error");
2074
+ e(this, "details");
2075
+ 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;
2076
+ }
2077
+ static createFrom(i = {}) {
2078
+ return new o(i);
2079
+ }
2080
+ convertValues(i, s, v = !1) {
2081
+ if (!i)
2082
+ return i;
2083
+ if (i.slice && i.map)
2084
+ return i.map((f) => this.convertValues(f, s));
2085
+ if (typeof i == "object") {
2086
+ if (v) {
2087
+ for (const f of Object.keys(i))
2088
+ i[f] = new s(i[f]);
2089
+ return i;
2090
+ }
2091
+ return new s(i);
2092
+ }
2093
+ return i;
2094
+ }
2095
+ }
2096
+ a.ConnectionStatus = o;
2097
+ class m {
2098
+ constructor(i = {}) {
2099
+ e(this, "id");
2100
+ e(this, "metadata");
2101
+ e(this, "phase");
2102
+ e(this, "enabled");
2103
+ e(this, "devMode");
2104
+ e(this, "devPath");
2105
+ e(this, "capabilities");
2106
+ e(this, "lastError");
2107
+ 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;
2108
+ }
2109
+ static createFrom(i = {}) {
2110
+ return new m(i);
2111
+ }
2112
+ convertValues(i, s, v = !1) {
2113
+ if (!i)
2114
+ return i;
2115
+ if (i.slice && i.map)
2116
+ return i.map((f) => this.convertValues(f, s));
2117
+ if (typeof i == "object") {
2118
+ if (v) {
2119
+ for (const f of Object.keys(i))
2120
+ i[f] = new s(i[f]);
2121
+ return i;
2122
+ }
2123
+ return new s(i);
2124
+ }
2125
+ return i;
2126
+ }
2127
+ }
2128
+ a.PluginInfo = m;
2129
+ class n {
2130
+ constructor(i = {}) {
2131
+ e(this, "id");
2132
+ e(this, "phase");
2133
+ e(this, "metadata");
2134
+ e(this, "enabled");
2135
+ e(this, "devMode");
2136
+ e(this, "devPath");
2137
+ e(this, "lastError");
2138
+ e(this, "errorCount");
2139
+ e(this, "installedAt");
2140
+ 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, _.Time);
2141
+ }
2142
+ static createFrom(i = {}) {
2143
+ return new n(i);
2144
+ }
2145
+ convertValues(i, s, v = !1) {
2146
+ if (!i)
2147
+ return i;
2148
+ if (i.slice && i.map)
2149
+ return i.map((f) => this.convertValues(f, s));
2150
+ if (typeof i == "object") {
2151
+ if (v) {
2152
+ for (const f of Object.keys(i))
2153
+ i[f] = new s(i[f]);
2154
+ return i;
2155
+ }
2156
+ return new s(i);
2157
+ }
2158
+ return i;
2159
+ }
2160
+ }
2161
+ a.PluginStateRecord = n;
2162
+ })(B || (B = {}));
2163
+ var nt;
2164
+ ((a) => {
2165
+ class h {
2166
+ constructor(n = {}) {
1844
2167
  e(this, "plugin");
1845
- typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin;
2168
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin;
1846
2169
  }
1847
- static createFrom(r = {}) {
1848
- return new p(r);
2170
+ static createFrom(n = {}) {
2171
+ return new h(n);
1849
2172
  }
1850
2173
  }
1851
- a.GetPluginComponentsInput = p;
1852
- class f {
1853
- constructor(r = {}) {
2174
+ a.GetPluginComponentsInput = h;
2175
+ class d {
2176
+ constructor(n = {}) {
1854
2177
  e(this, "plugin");
1855
2178
  e(this, "resource");
1856
2179
  e(this, "area");
1857
- typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin, this.resource = r.resource, this.area = r.area;
2180
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin, this.resource = n.resource, this.area = n.area;
1858
2181
  }
1859
- static createFrom(r = {}) {
1860
- return new f(r);
2182
+ static createFrom(n = {}) {
2183
+ return new d(n);
1861
2184
  }
1862
2185
  }
1863
- a.GetResourceAreaComponentInput = f;
1864
- class l {
1865
- constructor(r = {}) {
2186
+ a.GetResourceAreaComponentInput = d;
2187
+ class p {
2188
+ constructor(n = {}) {
1866
2189
  e(this, "plugin");
1867
2190
  e(this, "resource");
1868
- typeof r == "string" && (r = JSON.parse(r)), this.plugin = r.plugin, this.resource = r.resource;
2191
+ typeof n == "string" && (n = JSON.parse(n)), this.plugin = n.plugin, this.resource = n.resource;
1869
2192
  }
1870
- static createFrom(r = {}) {
1871
- return new l(r);
2193
+ static createFrom(n = {}) {
2194
+ return new p(n);
1872
2195
  }
1873
2196
  }
1874
- a.GetResourceComponentsInput = l;
2197
+ a.GetResourceComponentsInput = p;
1875
2198
  class o {
1876
- constructor(r = {}) {
2199
+ constructor(n = {}) {
1877
2200
  e(this, "owner");
1878
2201
  e(this, "name");
1879
2202
  e(this, "plugin");
1880
2203
  e(this, "resource");
1881
2204
  e(this, "area");
1882
2205
  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;
2206
+ 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
2207
  }
1885
- static createFrom(r = {}) {
1886
- return new o(r);
2208
+ static createFrom(n = {}) {
2209
+ return new o(n);
1887
2210
  }
1888
2211
  }
1889
2212
  a.ResourceComponent = o;
1890
- })(Z || (Z = {}));
1891
- var X;
2213
+ })(nt || (nt = {}));
2214
+ var rt;
1892
2215
  ((a) => {
1893
- class p {
1894
- constructor(l = {}) {
2216
+ class h {
2217
+ constructor(p = {}) {
1895
2218
  e(this, "filename");
1896
2219
  e(this, "contents");
1897
- typeof l == "string" && (l = JSON.parse(l)), this.filename = l.filename, this.contents = l.contents;
2220
+ typeof p == "string" && (p = JSON.parse(p)), this.filename = p.filename, this.contents = p.contents;
1898
2221
  }
1899
- static createFrom(l = {}) {
1900
- return new p(l);
2222
+ static createFrom(p = {}) {
2223
+ return new h(p);
1901
2224
  }
1902
2225
  }
1903
- a.GetLanguageInput = p;
1904
- })(X || (X = {}));
2226
+ a.GetLanguageInput = h;
2227
+ })(rt || (rt = {}));
1905
2228
  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,
2229
+ D as config,
2230
+ H as devserver,
2231
+ q as exec,
2232
+ Q as logs,
2233
+ Y as main,
2234
+ z as metric,
2235
+ Z as networker,
2236
+ X as plugin,
2237
+ $ as pluginlog,
2238
+ W as registry,
2239
+ tt as resource,
2240
+ et as settings,
1916
2241
  _ as time,
1917
- W as trivy,
1918
- S as types,
1919
- Z as ui,
1920
- X as utils
2242
+ it as trivy,
2243
+ B as types,
2244
+ nt as ui,
2245
+ rt as utils
1921
2246
  };