@meshery/schemas 1.3.16 → 1.3.17

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 (40) hide show
  1. package/dist/cloudApi.d.mts +0 -600
  2. package/dist/cloudApi.d.ts +0 -600
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
  6. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
  7. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  8. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  9. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +20 -20
  10. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +20 -20
  11. package/dist/constructs/v1beta1/model/ModelSchema.js +1 -1
  12. package/dist/constructs/v1beta1/model/ModelSchema.mjs +1 -1
  13. package/dist/constructs/v1beta1/pattern/PatternSchema.js +55 -55
  14. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +55 -55
  15. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +10 -10
  16. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +10 -10
  17. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  18. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  19. package/dist/constructs/v1beta2/design/DesignSchema.js +55 -55
  20. package/dist/constructs/v1beta2/design/DesignSchema.mjs +55 -55
  21. package/dist/constructs/v1beta2/relationship/RelationshipSchema.js +15 -15
  22. package/dist/constructs/v1beta2/relationship/RelationshipSchema.mjs +15 -15
  23. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  24. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  25. package/dist/constructs/v1beta3/connection/Connection.d.ts +167 -1979
  26. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -25
  27. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -25
  28. package/dist/constructs/v1beta3/design/DesignSchema.js +5 -5
  29. package/dist/constructs/v1beta3/design/DesignSchema.mjs +5 -5
  30. package/dist/constructs/v1beta3/relationship/RelationshipSchema.js +15 -15
  31. package/dist/constructs/v1beta3/relationship/RelationshipSchema.mjs +15 -15
  32. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +10 -10
  33. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +10 -10
  34. package/dist/index.js +153 -153
  35. package/dist/index.mjs +153 -153
  36. package/dist/mesheryApi.d.mts +0 -600
  37. package/dist/mesheryApi.d.ts +0 -600
  38. package/dist/mesheryApi.js +1 -1
  39. package/dist/mesheryApi.mjs +1 -1
  40. package/package.json +1 -1
@@ -204,303 +204,6 @@ export interface components {
204
204
  /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
205
205
  kind: string;
206
206
  /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
207
- model?: {
208
- /**
209
- * Format: uuid
210
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
211
- */
212
- id: string;
213
- /**
214
- * @description Specifies the version of the schema used for the definition.
215
- * @default models.meshery.io/v1beta1
216
- * @example [
217
- * "v1",
218
- * "v1alpha1",
219
- * "v2beta3",
220
- * "v1.custom-suffix",
221
- * "models.meshery.io/v1beta1",
222
- * "capability.meshery.io/v1alpha1"
223
- * ]
224
- */
225
- schemaVersion: string;
226
- /** @description Version of the model definition. */
227
- version: string;
228
- /**
229
- * @description The unique name for the model within the scope of a registrant.
230
- * @default untitled-model
231
- * @example cert-manager
232
- */
233
- name: string;
234
- /**
235
- * @description Human-readable name for the model.
236
- * @default Untitled Model
237
- * @example Cert Manager
238
- */
239
- displayName: string;
240
- /**
241
- * @description Description of the model.
242
- * @default A new Meshery model.
243
- */
244
- description: string;
245
- /**
246
- * @description Status of model, including:
247
- * - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
248
- * - maintenance: model is unavailable for a period of time.
249
- * - enabled: model is available for use for all users of this Meshery Server.
250
- * - ignored: model is unavailable for use for all users of this Meshery Server.
251
- * @default enabled
252
- * @enum {string}
253
- */
254
- status: "ignored" | "enabled" | "duplicate";
255
- /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
256
- registrant: {
257
- /**
258
- * Format: uuid
259
- * @description Connection ID
260
- */
261
- id: string;
262
- /** @description Connection Name */
263
- name: string;
264
- /**
265
- * Format: uuid
266
- * @description Associated Credential ID
267
- */
268
- credentialId?: string;
269
- /** @description Connection Type (platform, telemetry, collaboration) */
270
- type: string;
271
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
272
- subType: string;
273
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
274
- kind: string;
275
- /** @description Additional connection metadata */
276
- metadata?: Record<string, never>;
277
- /**
278
- * @description Connection Status
279
- * @enum {string}
280
- */
281
- status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
282
- /**
283
- * Format: uuid
284
- * @description User ID who owns this connection
285
- */
286
- user_id?: string;
287
- /** Format: date-time */
288
- created_at?: string;
289
- /** Format: date-time */
290
- updated_at?: string;
291
- /**
292
- * Format: date-time
293
- * @description SQL null Timestamp to handle null values of time.
294
- */
295
- deleted_at?: string;
296
- /** @description Associated environments for this connection */
297
- environments?: {
298
- /**
299
- * Format: uuid
300
- * @description ID
301
- */
302
- id: string;
303
- /**
304
- * @description Specifies the version of the schema to which the environment conforms.
305
- * @default environments.meshery.io/v1beta1
306
- * @example [
307
- * "v1",
308
- * "v1alpha1",
309
- * "v2beta3",
310
- * "v1.custom-suffix",
311
- * "models.meshery.io/v1beta1",
312
- * "capability.meshery.io/v1alpha1"
313
- * ]
314
- */
315
- schemaVersion: string;
316
- /** @description Environment name */
317
- name: string;
318
- /** @description Environment description */
319
- description: string;
320
- /**
321
- * Format: uuid
322
- * @description Environment organization ID
323
- */
324
- organization_id: string;
325
- /**
326
- * Format: uuid
327
- * @description Environment owner
328
- */
329
- owner?: string;
330
- /**
331
- * Format: date-time
332
- * @description Timestamp when the resource was created.
333
- */
334
- created_at?: string;
335
- /** @description Additional metadata associated with the environment. */
336
- metadata?: Record<string, never>;
337
- /**
338
- * Format: date-time
339
- * @description Timestamp when the resource was updated.
340
- */
341
- updated_at?: string;
342
- /**
343
- * Format: date-time
344
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
345
- */
346
- deleted_at?: string | null;
347
- }[];
348
- /**
349
- * @description Specifies the version of the schema used for the definition.
350
- * @default connections.meshery.io/v1beta1
351
- * @example [
352
- * "v1",
353
- * "v1alpha1",
354
- * "v2beta3",
355
- * "v1.custom-suffix",
356
- * "models.meshery.io/v1beta1",
357
- * "capability.meshery.io/v1alpha1"
358
- * ]
359
- */
360
- schemaVersion: string;
361
- };
362
- /**
363
- * Format: uuid
364
- * @description ID of the registrant.
365
- */
366
- registrantId: string;
367
- /**
368
- * Format: uuid
369
- * @description ID of the category.
370
- */
371
- categoryId: string;
372
- /** @description Category of the model. */
373
- category: {
374
- /**
375
- * Format: uuid
376
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
377
- */
378
- id: string;
379
- /**
380
- * @description The category of the model that determines the main grouping.
381
- * @default Uncategorized
382
- * @enum {string}
383
- */
384
- name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
385
- /** @description Additional metadata associated with the category. */
386
- metadata: Record<string, never>;
387
- };
388
- /**
389
- * SubCategory
390
- * @description Sub category of the model determines the secondary grouping.
391
- * @default Uncategorized
392
- * @enum {string}
393
- */
394
- subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
395
- /** @description Metadata containing additional information associated with the model. */
396
- metadata?: {
397
- /** @description Capabilities associated with the model */
398
- capabilities?: {
399
- /**
400
- * @description Specifies the version of the schema to which the capability definition conforms.
401
- * @example [
402
- * "v1",
403
- * "v1alpha1",
404
- * "v2beta3",
405
- * "v1.custom-suffix",
406
- * "models.meshery.io/v1beta1",
407
- * "capability.meshery.io/v1alpha1"
408
- * ]
409
- */
410
- schemaVersion: string;
411
- /** @description Version of the capability definition. */
412
- version: string;
413
- /** @description Name of the capability in human-readible format. */
414
- displayName: string;
415
- /** @description A written representation of the purpose and characteristics of the capability. */
416
- description: string;
417
- /** @description Top-level categorization of the capability */
418
- kind: string | "action" | "mutate" | "view" | "interaction";
419
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
420
- type: string;
421
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
422
- subType: string;
423
- /** @description Key that backs the capability. */
424
- key: string;
425
- /** @description State of the entity in which the capability is applicable. */
426
- entityState: ("declaration" | "instance")[];
427
- /**
428
- * @description Status of the capability
429
- * @default enabled
430
- * @enum {string}
431
- */
432
- status: "enabled" | "disabled";
433
- /** @description Metadata contains additional information associated with the capability. Extension point. */
434
- metadata?: {
435
- [key: string]: unknown;
436
- };
437
- }[];
438
- /**
439
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
440
- * @default false
441
- */
442
- isAnnotation: boolean;
443
- /**
444
- * @description Primary color associated with the model.
445
- * @default #00b39f
446
- */
447
- primaryColor: string;
448
- /**
449
- * @description Secondary color associated with the model.
450
- * @default #00D3A9
451
- */
452
- secondaryColor: string;
453
- /**
454
- * @description SVG representation of the model in white color.
455
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
456
- */
457
- svgWhite: string;
458
- /**
459
- * @description SVG representation of the model in colored format.
460
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
461
- */
462
- svgColor: string;
463
- /** @description SVG representation of the complete model. */
464
- svgComplete?: string;
465
- /**
466
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
467
- * @enum {string}
468
- */
469
- shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
470
- } & {
471
- [key: string]: unknown;
472
- };
473
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
474
- model: {
475
- /** @description Version of the model as defined by the registrant. */
476
- version: string;
477
- };
478
- /** @description The relationships of the model. */
479
- relationships: unknown[];
480
- /** @description The components of the model. */
481
- components: unknown[];
482
- /**
483
- * @description Number of components associated with the model.
484
- * @default 0
485
- */
486
- componentsCount: number;
487
- /**
488
- * @description Number of relationships associated with the model.
489
- * @default 0
490
- */
491
- relationshipsCount: number;
492
- /**
493
- * Format: date-time
494
- * @description Timestamp when the resource was created.
495
- */
496
- created_at?: string;
497
- /**
498
- * Format: date-time
499
- * @description Timestamp when the resource was updated.
500
- */
501
- updated_at?: string;
502
- };
503
- /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
504
207
  modelReference?: {
505
208
  /**
506
209
  * Format: uuid
@@ -529,11 +232,6 @@ export interface components {
529
232
  kind: string;
530
233
  };
531
234
  };
532
- /**
533
- * Format: uuid
534
- * @description Foreign key to the model to which the component belongs. Populated by the ORM from the `model_id` column and suppressed on the JSON wire; consumers use the nested `model` object for wire-level access.
535
- */
536
- modelId?: string;
537
235
  /** @description Additional connection metadata */
538
236
  metadata?: Record<string, never>;
539
237
  /** @description Schema for the credential Associated with the connection */
@@ -860,384 +558,82 @@ export interface components {
860
558
  /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
861
559
  kind: string;
862
560
  /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
863
- model?: {
561
+ modelReference?: {
864
562
  /**
865
563
  * Format: uuid
866
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
564
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
867
565
  */
868
566
  id: string;
869
- /**
870
- * @description Specifies the version of the schema used for the definition.
871
- * @default models.meshery.io/v1beta1
872
- * @example [
873
- * "v1",
874
- * "v1alpha1",
875
- * "v2beta3",
876
- * "v1.custom-suffix",
877
- * "models.meshery.io/v1beta1",
878
- * "capability.meshery.io/v1alpha1"
879
- * ]
880
- */
881
- schemaVersion: string;
882
- /** @description Version of the model definition. */
883
- version: string;
884
567
  /**
885
568
  * @description The unique name for the model within the scope of a registrant.
886
- * @default untitled-model
887
569
  * @example cert-manager
888
570
  */
889
571
  name: string;
572
+ /** @description Version of the model definition. */
573
+ version: string;
890
574
  /**
891
575
  * @description Human-readable name for the model.
892
- * @default Untitled Model
893
576
  * @example Cert Manager
894
577
  */
895
578
  displayName: string;
579
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
580
+ model: {
581
+ /** @description Version of the model as defined by the registrant. */
582
+ version: string;
583
+ };
584
+ registrant: {
585
+ /** @description Kind of the registrant. */
586
+ kind: string;
587
+ };
588
+ };
589
+ /** @description Additional connection metadata */
590
+ metadata?: Record<string, never>;
591
+ /** @description Schema for the credential Associated with the connection */
592
+ credentialSchema?: Record<string, never>;
593
+ /** @description Schema for the connection */
594
+ connectionSchema?: Record<string, never>;
595
+ /** @description Visualization styles for the connection, including svgColor and svgWhite used for UI representation. */
596
+ styles?: ({
597
+ /** @description Primary color of the component used for UI representation. */
598
+ primaryColor: string;
599
+ /** @description Secondary color of the entity used for UI representation. */
600
+ secondaryColor?: string;
601
+ /** @description White SVG of the entity used for UI representation on dark background. */
602
+ svgWhite: string;
603
+ /** @description Colored SVG of the entity used for UI representation on light background. */
604
+ svgColor: string;
605
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
606
+ svgComplete: string;
607
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
608
+ color?: string;
609
+ /** @description The opacity of the label text, including its outline. */
610
+ textOpacity?: number;
611
+ /** @description A comma-separated list of font names to use on the label text. */
612
+ fontFamily?: string;
613
+ /** @description The size of the label text. */
614
+ fontSize?: string;
615
+ /** @description A CSS font style to be applied to the label text. */
616
+ fontStyle?: string;
617
+ /** @description A CSS font weight to be applied to the label text. */
618
+ fontWeight?: string;
896
619
  /**
897
- * @description Description of the model.
898
- * @default A new Meshery model.
620
+ * @description A transformation to apply to the label text
621
+ * @enum {string}
899
622
  */
900
- description: string;
623
+ textTransform?: "none" | "uppercase" | "lowercase";
624
+ /** @description The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children. */
625
+ opacity?: number;
626
+ /** @description An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
627
+ zIndex?: number;
628
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
629
+ label?: string;
630
+ /** @description The animation to apply to the element. example ripple,bounce,etc */
631
+ animation?: Record<string, never>;
632
+ } & {
633
+ [key: string]: unknown;
634
+ }) & {
901
635
  /**
902
- * @description Status of model, including:
903
- * - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
904
- * - maintenance: model is unavailable for a period of time.
905
- * - enabled: model is available for use for all users of this Meshery Server.
906
- * - ignored: model is unavailable for use for all users of this Meshery Server.
907
- * @default enabled
908
- * @enum {string}
909
- */
910
- status: "ignored" | "enabled" | "duplicate";
911
- /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
912
- registrant: {
913
- /**
914
- * Format: uuid
915
- * @description Connection ID
916
- */
917
- id: string;
918
- /** @description Connection Name */
919
- name: string;
920
- /**
921
- * Format: uuid
922
- * @description Associated Credential ID
923
- */
924
- credentialId?: string;
925
- /** @description Connection Type (platform, telemetry, collaboration) */
926
- type: string;
927
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
928
- subType: string;
929
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
930
- kind: string;
931
- /** @description Additional connection metadata */
932
- metadata?: Record<string, never>;
933
- /**
934
- * @description Connection Status
935
- * @enum {string}
936
- */
937
- status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
938
- /**
939
- * Format: uuid
940
- * @description User ID who owns this connection
941
- */
942
- user_id?: string;
943
- /** Format: date-time */
944
- created_at?: string;
945
- /** Format: date-time */
946
- updated_at?: string;
947
- /**
948
- * Format: date-time
949
- * @description SQL null Timestamp to handle null values of time.
950
- */
951
- deleted_at?: string;
952
- /** @description Associated environments for this connection */
953
- environments?: {
954
- /**
955
- * Format: uuid
956
- * @description ID
957
- */
958
- id: string;
959
- /**
960
- * @description Specifies the version of the schema to which the environment conforms.
961
- * @default environments.meshery.io/v1beta1
962
- * @example [
963
- * "v1",
964
- * "v1alpha1",
965
- * "v2beta3",
966
- * "v1.custom-suffix",
967
- * "models.meshery.io/v1beta1",
968
- * "capability.meshery.io/v1alpha1"
969
- * ]
970
- */
971
- schemaVersion: string;
972
- /** @description Environment name */
973
- name: string;
974
- /** @description Environment description */
975
- description: string;
976
- /**
977
- * Format: uuid
978
- * @description Environment organization ID
979
- */
980
- organization_id: string;
981
- /**
982
- * Format: uuid
983
- * @description Environment owner
984
- */
985
- owner?: string;
986
- /**
987
- * Format: date-time
988
- * @description Timestamp when the resource was created.
989
- */
990
- created_at?: string;
991
- /** @description Additional metadata associated with the environment. */
992
- metadata?: Record<string, never>;
993
- /**
994
- * Format: date-time
995
- * @description Timestamp when the resource was updated.
996
- */
997
- updated_at?: string;
998
- /**
999
- * Format: date-time
1000
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
1001
- */
1002
- deleted_at?: string | null;
1003
- }[];
1004
- /**
1005
- * @description Specifies the version of the schema used for the definition.
1006
- * @default connections.meshery.io/v1beta1
1007
- * @example [
1008
- * "v1",
1009
- * "v1alpha1",
1010
- * "v2beta3",
1011
- * "v1.custom-suffix",
1012
- * "models.meshery.io/v1beta1",
1013
- * "capability.meshery.io/v1alpha1"
1014
- * ]
1015
- */
1016
- schemaVersion: string;
1017
- };
1018
- /**
1019
- * Format: uuid
1020
- * @description ID of the registrant.
1021
- */
1022
- registrantId: string;
1023
- /**
1024
- * Format: uuid
1025
- * @description ID of the category.
1026
- */
1027
- categoryId: string;
1028
- /** @description Category of the model. */
1029
- category: {
1030
- /**
1031
- * Format: uuid
1032
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1033
- */
1034
- id: string;
1035
- /**
1036
- * @description The category of the model that determines the main grouping.
1037
- * @default Uncategorized
1038
- * @enum {string}
1039
- */
1040
- name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
1041
- /** @description Additional metadata associated with the category. */
1042
- metadata: Record<string, never>;
1043
- };
1044
- /**
1045
- * SubCategory
1046
- * @description Sub category of the model determines the secondary grouping.
1047
- * @default Uncategorized
1048
- * @enum {string}
1049
- */
1050
- subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
1051
- /** @description Metadata containing additional information associated with the model. */
1052
- metadata?: {
1053
- /** @description Capabilities associated with the model */
1054
- capabilities?: {
1055
- /**
1056
- * @description Specifies the version of the schema to which the capability definition conforms.
1057
- * @example [
1058
- * "v1",
1059
- * "v1alpha1",
1060
- * "v2beta3",
1061
- * "v1.custom-suffix",
1062
- * "models.meshery.io/v1beta1",
1063
- * "capability.meshery.io/v1alpha1"
1064
- * ]
1065
- */
1066
- schemaVersion: string;
1067
- /** @description Version of the capability definition. */
1068
- version: string;
1069
- /** @description Name of the capability in human-readible format. */
1070
- displayName: string;
1071
- /** @description A written representation of the purpose and characteristics of the capability. */
1072
- description: string;
1073
- /** @description Top-level categorization of the capability */
1074
- kind: string | "action" | "mutate" | "view" | "interaction";
1075
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
1076
- type: string;
1077
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1078
- subType: string;
1079
- /** @description Key that backs the capability. */
1080
- key: string;
1081
- /** @description State of the entity in which the capability is applicable. */
1082
- entityState: ("declaration" | "instance")[];
1083
- /**
1084
- * @description Status of the capability
1085
- * @default enabled
1086
- * @enum {string}
1087
- */
1088
- status: "enabled" | "disabled";
1089
- /** @description Metadata contains additional information associated with the capability. Extension point. */
1090
- metadata?: {
1091
- [key: string]: unknown;
1092
- };
1093
- }[];
1094
- /**
1095
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
1096
- * @default false
1097
- */
1098
- isAnnotation: boolean;
1099
- /**
1100
- * @description Primary color associated with the model.
1101
- * @default #00b39f
1102
- */
1103
- primaryColor: string;
1104
- /**
1105
- * @description Secondary color associated with the model.
1106
- * @default #00D3A9
1107
- */
1108
- secondaryColor: string;
1109
- /**
1110
- * @description SVG representation of the model in white color.
1111
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
1112
- */
1113
- svgWhite: string;
1114
- /**
1115
- * @description SVG representation of the model in colored format.
1116
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
1117
- */
1118
- svgColor: string;
1119
- /** @description SVG representation of the complete model. */
1120
- svgComplete?: string;
1121
- /**
1122
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
1123
- * @enum {string}
1124
- */
1125
- shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
1126
- } & {
1127
- [key: string]: unknown;
1128
- };
1129
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1130
- model: {
1131
- /** @description Version of the model as defined by the registrant. */
1132
- version: string;
1133
- };
1134
- /** @description The relationships of the model. */
1135
- relationships: unknown[];
1136
- /** @description The components of the model. */
1137
- components: unknown[];
1138
- /**
1139
- * @description Number of components associated with the model.
1140
- * @default 0
1141
- */
1142
- componentsCount: number;
1143
- /**
1144
- * @description Number of relationships associated with the model.
1145
- * @default 0
1146
- */
1147
- relationshipsCount: number;
1148
- /**
1149
- * Format: date-time
1150
- * @description Timestamp when the resource was created.
1151
- */
1152
- created_at?: string;
1153
- /**
1154
- * Format: date-time
1155
- * @description Timestamp when the resource was updated.
1156
- */
1157
- updated_at?: string;
1158
- };
1159
- /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
1160
- modelReference?: {
1161
- /**
1162
- * Format: uuid
1163
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1164
- */
1165
- id: string;
1166
- /**
1167
- * @description The unique name for the model within the scope of a registrant.
1168
- * @example cert-manager
1169
- */
1170
- name: string;
1171
- /** @description Version of the model definition. */
1172
- version: string;
1173
- /**
1174
- * @description Human-readable name for the model.
1175
- * @example Cert Manager
1176
- */
1177
- displayName: string;
1178
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1179
- model: {
1180
- /** @description Version of the model as defined by the registrant. */
1181
- version: string;
1182
- };
1183
- registrant: {
1184
- /** @description Kind of the registrant. */
1185
- kind: string;
1186
- };
1187
- };
1188
- /**
1189
- * Format: uuid
1190
- * @description Foreign key to the model to which the component belongs. Populated by the ORM from the `model_id` column and suppressed on the JSON wire; consumers use the nested `model` object for wire-level access.
1191
- */
1192
- modelId?: string;
1193
- /** @description Additional connection metadata */
1194
- metadata?: Record<string, never>;
1195
- /** @description Schema for the credential Associated with the connection */
1196
- credentialSchema?: Record<string, never>;
1197
- /** @description Schema for the connection */
1198
- connectionSchema?: Record<string, never>;
1199
- /** @description Visualization styles for the connection, including svgColor and svgWhite used for UI representation. */
1200
- styles?: ({
1201
- /** @description Primary color of the component used for UI representation. */
1202
- primaryColor: string;
1203
- /** @description Secondary color of the entity used for UI representation. */
1204
- secondaryColor?: string;
1205
- /** @description White SVG of the entity used for UI representation on dark background. */
1206
- svgWhite: string;
1207
- /** @description Colored SVG of the entity used for UI representation on light background. */
1208
- svgColor: string;
1209
- /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
1210
- svgComplete: string;
1211
- /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
1212
- color?: string;
1213
- /** @description The opacity of the label text, including its outline. */
1214
- textOpacity?: number;
1215
- /** @description A comma-separated list of font names to use on the label text. */
1216
- fontFamily?: string;
1217
- /** @description The size of the label text. */
1218
- fontSize?: string;
1219
- /** @description A CSS font style to be applied to the label text. */
1220
- fontStyle?: string;
1221
- /** @description A CSS font weight to be applied to the label text. */
1222
- fontWeight?: string;
1223
- /**
1224
- * @description A transformation to apply to the label text
1225
- * @enum {string}
1226
- */
1227
- textTransform?: "none" | "uppercase" | "lowercase";
1228
- /** @description The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children. */
1229
- opacity?: number;
1230
- /** @description An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
1231
- zIndex?: number;
1232
- /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
1233
- label?: string;
1234
- /** @description The animation to apply to the element. example ripple,bounce,etc */
1235
- animation?: Record<string, never>;
1236
- } & {
1237
- [key: string]: unknown;
1238
- }) & {
1239
- /**
1240
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
636
+ * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
1241
637
  * @enum {string}
1242
638
  */
1243
639
  shape: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
@@ -1943,307 +1339,10 @@ export interface operations {
1943
1339
  /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
1944
1340
  kind: string;
1945
1341
  /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
1946
- model?: {
1342
+ modelReference?: {
1947
1343
  /**
1948
1344
  * Format: uuid
1949
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
1950
- */
1951
- id: string;
1952
- /**
1953
- * @description Specifies the version of the schema used for the definition.
1954
- * @default models.meshery.io/v1beta1
1955
- * @example [
1956
- * "v1",
1957
- * "v1alpha1",
1958
- * "v2beta3",
1959
- * "v1.custom-suffix",
1960
- * "models.meshery.io/v1beta1",
1961
- * "capability.meshery.io/v1alpha1"
1962
- * ]
1963
- */
1964
- schemaVersion: string;
1965
- /** @description Version of the model definition. */
1966
- version: string;
1967
- /**
1968
- * @description The unique name for the model within the scope of a registrant.
1969
- * @default untitled-model
1970
- * @example cert-manager
1971
- */
1972
- name: string;
1973
- /**
1974
- * @description Human-readable name for the model.
1975
- * @default Untitled Model
1976
- * @example Cert Manager
1977
- */
1978
- displayName: string;
1979
- /**
1980
- * @description Description of the model.
1981
- * @default A new Meshery model.
1982
- */
1983
- description: string;
1984
- /**
1985
- * @description Status of model, including:
1986
- * - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
1987
- * - maintenance: model is unavailable for a period of time.
1988
- * - enabled: model is available for use for all users of this Meshery Server.
1989
- * - ignored: model is unavailable for use for all users of this Meshery Server.
1990
- * @default enabled
1991
- * @enum {string}
1992
- */
1993
- status: "ignored" | "enabled" | "duplicate";
1994
- /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
1995
- registrant: {
1996
- /**
1997
- * Format: uuid
1998
- * @description Connection ID
1999
- */
2000
- id: string;
2001
- /** @description Connection Name */
2002
- name: string;
2003
- /**
2004
- * Format: uuid
2005
- * @description Associated Credential ID
2006
- */
2007
- credentialId?: string;
2008
- /** @description Connection Type (platform, telemetry, collaboration) */
2009
- type: string;
2010
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
2011
- subType: string;
2012
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
2013
- kind: string;
2014
- /** @description Additional connection metadata */
2015
- metadata?: Record<string, never>;
2016
- /**
2017
- * @description Connection Status
2018
- * @enum {string}
2019
- */
2020
- status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
2021
- /**
2022
- * Format: uuid
2023
- * @description User ID who owns this connection
2024
- */
2025
- user_id?: string;
2026
- /** Format: date-time */
2027
- created_at?: string;
2028
- /** Format: date-time */
2029
- updated_at?: string;
2030
- /**
2031
- * Format: date-time
2032
- * @description SQL null Timestamp to handle null values of time.
2033
- */
2034
- deleted_at?: string;
2035
- /** @description Associated environments for this connection */
2036
- environments?: {
2037
- /**
2038
- * Format: uuid
2039
- * @description ID
2040
- */
2041
- id: string;
2042
- /**
2043
- * @description Specifies the version of the schema to which the environment conforms.
2044
- * @default environments.meshery.io/v1beta1
2045
- * @example [
2046
- * "v1",
2047
- * "v1alpha1",
2048
- * "v2beta3",
2049
- * "v1.custom-suffix",
2050
- * "models.meshery.io/v1beta1",
2051
- * "capability.meshery.io/v1alpha1"
2052
- * ]
2053
- */
2054
- schemaVersion: string;
2055
- /** @description Environment name */
2056
- name: string;
2057
- /** @description Environment description */
2058
- description: string;
2059
- /**
2060
- * Format: uuid
2061
- * @description Environment organization ID
2062
- */
2063
- organization_id: string;
2064
- /**
2065
- * Format: uuid
2066
- * @description Environment owner
2067
- */
2068
- owner?: string;
2069
- /**
2070
- * Format: date-time
2071
- * @description Timestamp when the resource was created.
2072
- */
2073
- created_at?: string;
2074
- /** @description Additional metadata associated with the environment. */
2075
- metadata?: Record<string, never>;
2076
- /**
2077
- * Format: date-time
2078
- * @description Timestamp when the resource was updated.
2079
- */
2080
- updated_at?: string;
2081
- /**
2082
- * Format: date-time
2083
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
2084
- */
2085
- deleted_at?: string | null;
2086
- }[];
2087
- /**
2088
- * @description Specifies the version of the schema used for the definition.
2089
- * @default connections.meshery.io/v1beta1
2090
- * @example [
2091
- * "v1",
2092
- * "v1alpha1",
2093
- * "v2beta3",
2094
- * "v1.custom-suffix",
2095
- * "models.meshery.io/v1beta1",
2096
- * "capability.meshery.io/v1alpha1"
2097
- * ]
2098
- */
2099
- schemaVersion: string;
2100
- };
2101
- /**
2102
- * Format: uuid
2103
- * @description ID of the registrant.
2104
- */
2105
- registrantId: string;
2106
- /**
2107
- * Format: uuid
2108
- * @description ID of the category.
2109
- */
2110
- categoryId: string;
2111
- /** @description Category of the model. */
2112
- category: {
2113
- /**
2114
- * Format: uuid
2115
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2116
- */
2117
- id: string;
2118
- /**
2119
- * @description The category of the model that determines the main grouping.
2120
- * @default Uncategorized
2121
- * @enum {string}
2122
- */
2123
- name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
2124
- /** @description Additional metadata associated with the category. */
2125
- metadata: Record<string, never>;
2126
- };
2127
- /**
2128
- * SubCategory
2129
- * @description Sub category of the model determines the secondary grouping.
2130
- * @default Uncategorized
2131
- * @enum {string}
2132
- */
2133
- subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
2134
- /** @description Metadata containing additional information associated with the model. */
2135
- metadata?: {
2136
- /** @description Capabilities associated with the model */
2137
- capabilities?: {
2138
- /**
2139
- * @description Specifies the version of the schema to which the capability definition conforms.
2140
- * @example [
2141
- * "v1",
2142
- * "v1alpha1",
2143
- * "v2beta3",
2144
- * "v1.custom-suffix",
2145
- * "models.meshery.io/v1beta1",
2146
- * "capability.meshery.io/v1alpha1"
2147
- * ]
2148
- */
2149
- schemaVersion: string;
2150
- /** @description Version of the capability definition. */
2151
- version: string;
2152
- /** @description Name of the capability in human-readible format. */
2153
- displayName: string;
2154
- /** @description A written representation of the purpose and characteristics of the capability. */
2155
- description: string;
2156
- /** @description Top-level categorization of the capability */
2157
- kind: string | "action" | "mutate" | "view" | "interaction";
2158
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
2159
- type: string;
2160
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2161
- subType: string;
2162
- /** @description Key that backs the capability. */
2163
- key: string;
2164
- /** @description State of the entity in which the capability is applicable. */
2165
- entityState: ("declaration" | "instance")[];
2166
- /**
2167
- * @description Status of the capability
2168
- * @default enabled
2169
- * @enum {string}
2170
- */
2171
- status: "enabled" | "disabled";
2172
- /** @description Metadata contains additional information associated with the capability. Extension point. */
2173
- metadata?: {
2174
- [key: string]: unknown;
2175
- };
2176
- }[];
2177
- /**
2178
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
2179
- * @default false
2180
- */
2181
- isAnnotation: boolean;
2182
- /**
2183
- * @description Primary color associated with the model.
2184
- * @default #00b39f
2185
- */
2186
- primaryColor: string;
2187
- /**
2188
- * @description Secondary color associated with the model.
2189
- * @default #00D3A9
2190
- */
2191
- secondaryColor: string;
2192
- /**
2193
- * @description SVG representation of the model in white color.
2194
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
2195
- */
2196
- svgWhite: string;
2197
- /**
2198
- * @description SVG representation of the model in colored format.
2199
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
2200
- */
2201
- svgColor: string;
2202
- /** @description SVG representation of the complete model. */
2203
- svgComplete?: string;
2204
- /**
2205
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
2206
- * @enum {string}
2207
- */
2208
- shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
2209
- } & {
2210
- [key: string]: unknown;
2211
- };
2212
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
2213
- model: {
2214
- /** @description Version of the model as defined by the registrant. */
2215
- version: string;
2216
- };
2217
- /** @description The relationships of the model. */
2218
- relationships: unknown[];
2219
- /** @description The components of the model. */
2220
- components: unknown[];
2221
- /**
2222
- * @description Number of components associated with the model.
2223
- * @default 0
2224
- */
2225
- componentsCount: number;
2226
- /**
2227
- * @description Number of relationships associated with the model.
2228
- * @default 0
2229
- */
2230
- relationshipsCount: number;
2231
- /**
2232
- * Format: date-time
2233
- * @description Timestamp when the resource was created.
2234
- */
2235
- created_at?: string;
2236
- /**
2237
- * Format: date-time
2238
- * @description Timestamp when the resource was updated.
2239
- */
2240
- updated_at?: string;
2241
- };
2242
- /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
2243
- modelReference?: {
2244
- /**
2245
- * Format: uuid
2246
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1345
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2247
1346
  */
2248
1347
  id: string;
2249
1348
  /**
@@ -2268,11 +1367,6 @@ export interface operations {
2268
1367
  kind: string;
2269
1368
  };
2270
1369
  };
2271
- /**
2272
- * Format: uuid
2273
- * @description Foreign key to the model to which the component belongs. Populated by the ORM from the `model_id` column and suppressed on the JSON wire; consumers use the nested `model` object for wire-level access.
2274
- */
2275
- modelId?: string;
2276
1370
  /** @description Additional connection metadata */
2277
1371
  metadata?: Record<string, never>;
2278
1372
  /** @description Schema for the credential Associated with the connection */
@@ -2834,303 +1928,6 @@ export interface operations {
2834
1928
  /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
2835
1929
  kind: string;
2836
1930
  /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
2837
- model?: {
2838
- /**
2839
- * Format: uuid
2840
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
2841
- */
2842
- id: string;
2843
- /**
2844
- * @description Specifies the version of the schema used for the definition.
2845
- * @default models.meshery.io/v1beta1
2846
- * @example [
2847
- * "v1",
2848
- * "v1alpha1",
2849
- * "v2beta3",
2850
- * "v1.custom-suffix",
2851
- * "models.meshery.io/v1beta1",
2852
- * "capability.meshery.io/v1alpha1"
2853
- * ]
2854
- */
2855
- schemaVersion: string;
2856
- /** @description Version of the model definition. */
2857
- version: string;
2858
- /**
2859
- * @description The unique name for the model within the scope of a registrant.
2860
- * @default untitled-model
2861
- * @example cert-manager
2862
- */
2863
- name: string;
2864
- /**
2865
- * @description Human-readable name for the model.
2866
- * @default Untitled Model
2867
- * @example Cert Manager
2868
- */
2869
- displayName: string;
2870
- /**
2871
- * @description Description of the model.
2872
- * @default A new Meshery model.
2873
- */
2874
- description: string;
2875
- /**
2876
- * @description Status of model, including:
2877
- * - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
2878
- * - maintenance: model is unavailable for a period of time.
2879
- * - enabled: model is available for use for all users of this Meshery Server.
2880
- * - ignored: model is unavailable for use for all users of this Meshery Server.
2881
- * @default enabled
2882
- * @enum {string}
2883
- */
2884
- status: "ignored" | "enabled" | "duplicate";
2885
- /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
2886
- registrant: {
2887
- /**
2888
- * Format: uuid
2889
- * @description Connection ID
2890
- */
2891
- id: string;
2892
- /** @description Connection Name */
2893
- name: string;
2894
- /**
2895
- * Format: uuid
2896
- * @description Associated Credential ID
2897
- */
2898
- credentialId?: string;
2899
- /** @description Connection Type (platform, telemetry, collaboration) */
2900
- type: string;
2901
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
2902
- subType: string;
2903
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
2904
- kind: string;
2905
- /** @description Additional connection metadata */
2906
- metadata?: Record<string, never>;
2907
- /**
2908
- * @description Connection Status
2909
- * @enum {string}
2910
- */
2911
- status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
2912
- /**
2913
- * Format: uuid
2914
- * @description User ID who owns this connection
2915
- */
2916
- user_id?: string;
2917
- /** Format: date-time */
2918
- created_at?: string;
2919
- /** Format: date-time */
2920
- updated_at?: string;
2921
- /**
2922
- * Format: date-time
2923
- * @description SQL null Timestamp to handle null values of time.
2924
- */
2925
- deleted_at?: string;
2926
- /** @description Associated environments for this connection */
2927
- environments?: {
2928
- /**
2929
- * Format: uuid
2930
- * @description ID
2931
- */
2932
- id: string;
2933
- /**
2934
- * @description Specifies the version of the schema to which the environment conforms.
2935
- * @default environments.meshery.io/v1beta1
2936
- * @example [
2937
- * "v1",
2938
- * "v1alpha1",
2939
- * "v2beta3",
2940
- * "v1.custom-suffix",
2941
- * "models.meshery.io/v1beta1",
2942
- * "capability.meshery.io/v1alpha1"
2943
- * ]
2944
- */
2945
- schemaVersion: string;
2946
- /** @description Environment name */
2947
- name: string;
2948
- /** @description Environment description */
2949
- description: string;
2950
- /**
2951
- * Format: uuid
2952
- * @description Environment organization ID
2953
- */
2954
- organization_id: string;
2955
- /**
2956
- * Format: uuid
2957
- * @description Environment owner
2958
- */
2959
- owner?: string;
2960
- /**
2961
- * Format: date-time
2962
- * @description Timestamp when the resource was created.
2963
- */
2964
- created_at?: string;
2965
- /** @description Additional metadata associated with the environment. */
2966
- metadata?: Record<string, never>;
2967
- /**
2968
- * Format: date-time
2969
- * @description Timestamp when the resource was updated.
2970
- */
2971
- updated_at?: string;
2972
- /**
2973
- * Format: date-time
2974
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
2975
- */
2976
- deleted_at?: string | null;
2977
- }[];
2978
- /**
2979
- * @description Specifies the version of the schema used for the definition.
2980
- * @default connections.meshery.io/v1beta1
2981
- * @example [
2982
- * "v1",
2983
- * "v1alpha1",
2984
- * "v2beta3",
2985
- * "v1.custom-suffix",
2986
- * "models.meshery.io/v1beta1",
2987
- * "capability.meshery.io/v1alpha1"
2988
- * ]
2989
- */
2990
- schemaVersion: string;
2991
- };
2992
- /**
2993
- * Format: uuid
2994
- * @description ID of the registrant.
2995
- */
2996
- registrantId: string;
2997
- /**
2998
- * Format: uuid
2999
- * @description ID of the category.
3000
- */
3001
- categoryId: string;
3002
- /** @description Category of the model. */
3003
- category: {
3004
- /**
3005
- * Format: uuid
3006
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3007
- */
3008
- id: string;
3009
- /**
3010
- * @description The category of the model that determines the main grouping.
3011
- * @default Uncategorized
3012
- * @enum {string}
3013
- */
3014
- name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
3015
- /** @description Additional metadata associated with the category. */
3016
- metadata: Record<string, never>;
3017
- };
3018
- /**
3019
- * SubCategory
3020
- * @description Sub category of the model determines the secondary grouping.
3021
- * @default Uncategorized
3022
- * @enum {string}
3023
- */
3024
- subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
3025
- /** @description Metadata containing additional information associated with the model. */
3026
- metadata?: {
3027
- /** @description Capabilities associated with the model */
3028
- capabilities?: {
3029
- /**
3030
- * @description Specifies the version of the schema to which the capability definition conforms.
3031
- * @example [
3032
- * "v1",
3033
- * "v1alpha1",
3034
- * "v2beta3",
3035
- * "v1.custom-suffix",
3036
- * "models.meshery.io/v1beta1",
3037
- * "capability.meshery.io/v1alpha1"
3038
- * ]
3039
- */
3040
- schemaVersion: string;
3041
- /** @description Version of the capability definition. */
3042
- version: string;
3043
- /** @description Name of the capability in human-readible format. */
3044
- displayName: string;
3045
- /** @description A written representation of the purpose and characteristics of the capability. */
3046
- description: string;
3047
- /** @description Top-level categorization of the capability */
3048
- kind: string | "action" | "mutate" | "view" | "interaction";
3049
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
3050
- type: string;
3051
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3052
- subType: string;
3053
- /** @description Key that backs the capability. */
3054
- key: string;
3055
- /** @description State of the entity in which the capability is applicable. */
3056
- entityState: ("declaration" | "instance")[];
3057
- /**
3058
- * @description Status of the capability
3059
- * @default enabled
3060
- * @enum {string}
3061
- */
3062
- status: "enabled" | "disabled";
3063
- /** @description Metadata contains additional information associated with the capability. Extension point. */
3064
- metadata?: {
3065
- [key: string]: unknown;
3066
- };
3067
- }[];
3068
- /**
3069
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
3070
- * @default false
3071
- */
3072
- isAnnotation: boolean;
3073
- /**
3074
- * @description Primary color associated with the model.
3075
- * @default #00b39f
3076
- */
3077
- primaryColor: string;
3078
- /**
3079
- * @description Secondary color associated with the model.
3080
- * @default #00D3A9
3081
- */
3082
- secondaryColor: string;
3083
- /**
3084
- * @description SVG representation of the model in white color.
3085
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
3086
- */
3087
- svgWhite: string;
3088
- /**
3089
- * @description SVG representation of the model in colored format.
3090
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
3091
- */
3092
- svgColor: string;
3093
- /** @description SVG representation of the complete model. */
3094
- svgComplete?: string;
3095
- /**
3096
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
3097
- * @enum {string}
3098
- */
3099
- shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
3100
- } & {
3101
- [key: string]: unknown;
3102
- };
3103
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
3104
- model: {
3105
- /** @description Version of the model as defined by the registrant. */
3106
- version: string;
3107
- };
3108
- /** @description The relationships of the model. */
3109
- relationships: unknown[];
3110
- /** @description The components of the model. */
3111
- components: unknown[];
3112
- /**
3113
- * @description Number of components associated with the model.
3114
- * @default 0
3115
- */
3116
- componentsCount: number;
3117
- /**
3118
- * @description Number of relationships associated with the model.
3119
- * @default 0
3120
- */
3121
- relationshipsCount: number;
3122
- /**
3123
- * Format: date-time
3124
- * @description Timestamp when the resource was created.
3125
- */
3126
- created_at?: string;
3127
- /**
3128
- * Format: date-time
3129
- * @description Timestamp when the resource was updated.
3130
- */
3131
- updated_at?: string;
3132
- };
3133
- /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
3134
1931
  modelReference?: {
3135
1932
  /**
3136
1933
  * Format: uuid
@@ -3159,11 +1956,6 @@ export interface operations {
3159
1956
  kind: string;
3160
1957
  };
3161
1958
  };
3162
- /**
3163
- * Format: uuid
3164
- * @description Foreign key to the model to which the component belongs. Populated by the ORM from the `model_id` column and suppressed on the JSON wire; consumers use the nested `model` object for wire-level access.
3165
- */
3166
- modelId?: string;
3167
1959
  /** @description Additional connection metadata */
3168
1960
  metadata?: Record<string, never>;
3169
1961
  /** @description Schema for the credential Associated with the connection */
@@ -3406,419 +2198,122 @@ export interface operations {
3406
2198
  /** @description Environment description */
3407
2199
  description: string;
3408
2200
  /**
3409
- * Format: uuid
3410
- * @description Environment organization ID
3411
- */
3412
- organizationId: string;
3413
- /**
3414
- * Format: uuid
3415
- * @description Environment owner
3416
- */
3417
- owner?: string;
3418
- /**
3419
- * Format: date-time
3420
- * @description Timestamp when the environment was created.
3421
- */
3422
- createdAt?: string;
3423
- /** @description Additional metadata associated with the environment. */
3424
- metadata?: Record<string, never>;
3425
- /**
3426
- * Format: date-time
3427
- * @description Timestamp when the environment was last updated.
3428
- */
3429
- updatedAt?: string;
3430
- /**
3431
- * Format: date-time
3432
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
3433
- */
3434
- deletedAt?: string | null;
3435
- }[];
3436
- /**
3437
- * @description Specifies the version of the schema used for the definition.
3438
- * @default connections.meshery.io/v1beta3
3439
- * @example [
3440
- * "v1",
3441
- * "v1alpha1",
3442
- * "v2beta3",
3443
- * "v1.custom-suffix",
3444
- * "models.meshery.io/v1beta1",
3445
- * "capability.meshery.io/v1alpha1"
3446
- * ]
3447
- */
3448
- schemaVersion: string;
3449
- };
3450
- };
3451
- };
3452
- /** @description Invalid request body or request param */
3453
- 400: {
3454
- headers: {
3455
- [name: string]: unknown;
3456
- };
3457
- content: {
3458
- "text/plain": string;
3459
- };
3460
- };
3461
- /** @description Expired JWT token used or insufficient privilege */
3462
- 401: {
3463
- headers: {
3464
- [name: string]: unknown;
3465
- };
3466
- content: {
3467
- "text/plain": string;
3468
- };
3469
- };
3470
- /** @description Internal server error */
3471
- 500: {
3472
- headers: {
3473
- [name: string]: unknown;
3474
- };
3475
- content: {
3476
- "text/plain": string;
3477
- };
3478
- };
3479
- };
3480
- };
3481
- getConnectionById: {
3482
- parameters: {
3483
- query?: never;
3484
- header?: never;
3485
- path: {
3486
- /** @description Connection ID */
3487
- connectionId: string;
3488
- };
3489
- cookie?: never;
3490
- };
3491
- requestBody?: never;
3492
- responses: {
3493
- /** @description Connection details */
3494
- 200: {
3495
- headers: {
3496
- [name: string]: unknown;
3497
- };
3498
- content: {
3499
- "application/json": {
3500
- /**
3501
- * Format: uuid
3502
- * @description Connection ID
3503
- */
3504
- id: string;
3505
- /** @description Connection Name */
3506
- name: string;
3507
- /** @description Human-readable description of the connection and its purpose. */
3508
- description?: string;
3509
- /**
3510
- * Format: uri
3511
- * @description URL of the remote resource this connection points to (e.g. the Helm repository URL, the Kubernetes API server endpoint, the Grafana instance URL).
3512
- */
3513
- url?: string;
3514
- /**
3515
- * Format: uuid
3516
- * @description Associated Credential ID
3517
- */
3518
- credentialId?: string;
3519
- /** @description Connection Type (platform, telemetry, collaboration) */
3520
- type: string;
3521
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
3522
- subType: string;
3523
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
3524
- kind: string;
3525
- /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
3526
- model?: {
3527
- /**
3528
- * Format: uuid
3529
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
3530
- */
3531
- id: string;
3532
- /**
3533
- * @description Specifies the version of the schema used for the definition.
3534
- * @default models.meshery.io/v1beta1
3535
- * @example [
3536
- * "v1",
3537
- * "v1alpha1",
3538
- * "v2beta3",
3539
- * "v1.custom-suffix",
3540
- * "models.meshery.io/v1beta1",
3541
- * "capability.meshery.io/v1alpha1"
3542
- * ]
3543
- */
3544
- schemaVersion: string;
3545
- /** @description Version of the model definition. */
3546
- version: string;
3547
- /**
3548
- * @description The unique name for the model within the scope of a registrant.
3549
- * @default untitled-model
3550
- * @example cert-manager
3551
- */
3552
- name: string;
3553
- /**
3554
- * @description Human-readable name for the model.
3555
- * @default Untitled Model
3556
- * @example Cert Manager
3557
- */
3558
- displayName: string;
3559
- /**
3560
- * @description Description of the model.
3561
- * @default A new Meshery model.
3562
- */
3563
- description: string;
3564
- /**
3565
- * @description Status of model, including:
3566
- * - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
3567
- * - maintenance: model is unavailable for a period of time.
3568
- * - enabled: model is available for use for all users of this Meshery Server.
3569
- * - ignored: model is unavailable for use for all users of this Meshery Server.
3570
- * @default enabled
3571
- * @enum {string}
3572
- */
3573
- status: "ignored" | "enabled" | "duplicate";
3574
- /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
3575
- registrant: {
3576
- /**
3577
- * Format: uuid
3578
- * @description Connection ID
3579
- */
3580
- id: string;
3581
- /** @description Connection Name */
3582
- name: string;
3583
- /**
3584
- * Format: uuid
3585
- * @description Associated Credential ID
3586
- */
3587
- credentialId?: string;
3588
- /** @description Connection Type (platform, telemetry, collaboration) */
3589
- type: string;
3590
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
3591
- subType: string;
3592
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
3593
- kind: string;
3594
- /** @description Additional connection metadata */
3595
- metadata?: Record<string, never>;
3596
- /**
3597
- * @description Connection Status
3598
- * @enum {string}
3599
- */
3600
- status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
3601
- /**
3602
- * Format: uuid
3603
- * @description User ID who owns this connection
3604
- */
3605
- user_id?: string;
3606
- /** Format: date-time */
3607
- created_at?: string;
3608
- /** Format: date-time */
3609
- updated_at?: string;
3610
- /**
3611
- * Format: date-time
3612
- * @description SQL null Timestamp to handle null values of time.
3613
- */
3614
- deleted_at?: string;
3615
- /** @description Associated environments for this connection */
3616
- environments?: {
3617
- /**
3618
- * Format: uuid
3619
- * @description ID
3620
- */
3621
- id: string;
3622
- /**
3623
- * @description Specifies the version of the schema to which the environment conforms.
3624
- * @default environments.meshery.io/v1beta1
3625
- * @example [
3626
- * "v1",
3627
- * "v1alpha1",
3628
- * "v2beta3",
3629
- * "v1.custom-suffix",
3630
- * "models.meshery.io/v1beta1",
3631
- * "capability.meshery.io/v1alpha1"
3632
- * ]
3633
- */
3634
- schemaVersion: string;
3635
- /** @description Environment name */
3636
- name: string;
3637
- /** @description Environment description */
3638
- description: string;
3639
- /**
3640
- * Format: uuid
3641
- * @description Environment organization ID
3642
- */
3643
- organization_id: string;
3644
- /**
3645
- * Format: uuid
3646
- * @description Environment owner
3647
- */
3648
- owner?: string;
3649
- /**
3650
- * Format: date-time
3651
- * @description Timestamp when the resource was created.
3652
- */
3653
- created_at?: string;
3654
- /** @description Additional metadata associated with the environment. */
3655
- metadata?: Record<string, never>;
3656
- /**
3657
- * Format: date-time
3658
- * @description Timestamp when the resource was updated.
3659
- */
3660
- updated_at?: string;
3661
- /**
3662
- * Format: date-time
3663
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
3664
- */
3665
- deleted_at?: string | null;
3666
- }[];
3667
- /**
3668
- * @description Specifies the version of the schema used for the definition.
3669
- * @default connections.meshery.io/v1beta1
3670
- * @example [
3671
- * "v1",
3672
- * "v1alpha1",
3673
- * "v2beta3",
3674
- * "v1.custom-suffix",
3675
- * "models.meshery.io/v1beta1",
3676
- * "capability.meshery.io/v1alpha1"
3677
- * ]
3678
- */
3679
- schemaVersion: string;
3680
- };
3681
- /**
3682
- * Format: uuid
3683
- * @description ID of the registrant.
3684
- */
3685
- registrantId: string;
3686
- /**
3687
- * Format: uuid
3688
- * @description ID of the category.
3689
- */
3690
- categoryId: string;
3691
- /** @description Category of the model. */
3692
- category: {
3693
- /**
3694
- * Format: uuid
3695
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3696
- */
3697
- id: string;
3698
- /**
3699
- * @description The category of the model that determines the main grouping.
3700
- * @default Uncategorized
3701
- * @enum {string}
3702
- */
3703
- name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
3704
- /** @description Additional metadata associated with the category. */
3705
- metadata: Record<string, never>;
3706
- };
3707
- /**
3708
- * SubCategory
3709
- * @description Sub category of the model determines the secondary grouping.
3710
- * @default Uncategorized
3711
- * @enum {string}
3712
- */
3713
- subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
3714
- /** @description Metadata containing additional information associated with the model. */
3715
- metadata?: {
3716
- /** @description Capabilities associated with the model */
3717
- capabilities?: {
3718
- /**
3719
- * @description Specifies the version of the schema to which the capability definition conforms.
3720
- * @example [
3721
- * "v1",
3722
- * "v1alpha1",
3723
- * "v2beta3",
3724
- * "v1.custom-suffix",
3725
- * "models.meshery.io/v1beta1",
3726
- * "capability.meshery.io/v1alpha1"
3727
- * ]
3728
- */
3729
- schemaVersion: string;
3730
- /** @description Version of the capability definition. */
3731
- version: string;
3732
- /** @description Name of the capability in human-readible format. */
3733
- displayName: string;
3734
- /** @description A written representation of the purpose and characteristics of the capability. */
3735
- description: string;
3736
- /** @description Top-level categorization of the capability */
3737
- kind: string | "action" | "mutate" | "view" | "interaction";
3738
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
3739
- type: string;
3740
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3741
- subType: string;
3742
- /** @description Key that backs the capability. */
3743
- key: string;
3744
- /** @description State of the entity in which the capability is applicable. */
3745
- entityState: ("declaration" | "instance")[];
3746
- /**
3747
- * @description Status of the capability
3748
- * @default enabled
3749
- * @enum {string}
3750
- */
3751
- status: "enabled" | "disabled";
3752
- /** @description Metadata contains additional information associated with the capability. Extension point. */
3753
- metadata?: {
3754
- [key: string]: unknown;
3755
- };
3756
- }[];
3757
- /**
3758
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
3759
- * @default false
3760
- */
3761
- isAnnotation: boolean;
3762
- /**
3763
- * @description Primary color associated with the model.
3764
- * @default #00b39f
3765
- */
3766
- primaryColor: string;
3767
- /**
3768
- * @description Secondary color associated with the model.
3769
- * @default #00D3A9
3770
- */
3771
- secondaryColor: string;
3772
- /**
3773
- * @description SVG representation of the model in white color.
3774
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
3775
- */
3776
- svgWhite: string;
3777
- /**
3778
- * @description SVG representation of the model in colored format.
3779
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
3780
- */
3781
- svgColor: string;
3782
- /** @description SVG representation of the complete model. */
3783
- svgComplete?: string;
3784
- /**
3785
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
3786
- * @enum {string}
3787
- */
3788
- shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
3789
- } & {
3790
- [key: string]: unknown;
3791
- };
3792
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
3793
- model: {
3794
- /** @description Version of the model as defined by the registrant. */
3795
- version: string;
3796
- };
3797
- /** @description The relationships of the model. */
3798
- relationships: unknown[];
3799
- /** @description The components of the model. */
3800
- components: unknown[];
2201
+ * Format: uuid
2202
+ * @description Environment organization ID
2203
+ */
2204
+ organizationId: string;
3801
2205
  /**
3802
- * @description Number of components associated with the model.
3803
- * @default 0
2206
+ * Format: uuid
2207
+ * @description Environment owner
3804
2208
  */
3805
- componentsCount: number;
2209
+ owner?: string;
3806
2210
  /**
3807
- * @description Number of relationships associated with the model.
3808
- * @default 0
2211
+ * Format: date-time
2212
+ * @description Timestamp when the environment was created.
3809
2213
  */
3810
- relationshipsCount: number;
2214
+ createdAt?: string;
2215
+ /** @description Additional metadata associated with the environment. */
2216
+ metadata?: Record<string, never>;
3811
2217
  /**
3812
2218
  * Format: date-time
3813
- * @description Timestamp when the resource was created.
2219
+ * @description Timestamp when the environment was last updated.
3814
2220
  */
3815
- created_at?: string;
2221
+ updatedAt?: string;
3816
2222
  /**
3817
2223
  * Format: date-time
3818
- * @description Timestamp when the resource was updated.
2224
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
3819
2225
  */
3820
- updated_at?: string;
3821
- };
2226
+ deletedAt?: string | null;
2227
+ }[];
2228
+ /**
2229
+ * @description Specifies the version of the schema used for the definition.
2230
+ * @default connections.meshery.io/v1beta3
2231
+ * @example [
2232
+ * "v1",
2233
+ * "v1alpha1",
2234
+ * "v2beta3",
2235
+ * "v1.custom-suffix",
2236
+ * "models.meshery.io/v1beta1",
2237
+ * "capability.meshery.io/v1alpha1"
2238
+ * ]
2239
+ */
2240
+ schemaVersion: string;
2241
+ };
2242
+ };
2243
+ };
2244
+ /** @description Invalid request body or request param */
2245
+ 400: {
2246
+ headers: {
2247
+ [name: string]: unknown;
2248
+ };
2249
+ content: {
2250
+ "text/plain": string;
2251
+ };
2252
+ };
2253
+ /** @description Expired JWT token used or insufficient privilege */
2254
+ 401: {
2255
+ headers: {
2256
+ [name: string]: unknown;
2257
+ };
2258
+ content: {
2259
+ "text/plain": string;
2260
+ };
2261
+ };
2262
+ /** @description Internal server error */
2263
+ 500: {
2264
+ headers: {
2265
+ [name: string]: unknown;
2266
+ };
2267
+ content: {
2268
+ "text/plain": string;
2269
+ };
2270
+ };
2271
+ };
2272
+ };
2273
+ getConnectionById: {
2274
+ parameters: {
2275
+ query?: never;
2276
+ header?: never;
2277
+ path: {
2278
+ /** @description Connection ID */
2279
+ connectionId: string;
2280
+ };
2281
+ cookie?: never;
2282
+ };
2283
+ requestBody?: never;
2284
+ responses: {
2285
+ /** @description Connection details */
2286
+ 200: {
2287
+ headers: {
2288
+ [name: string]: unknown;
2289
+ };
2290
+ content: {
2291
+ "application/json": {
2292
+ /**
2293
+ * Format: uuid
2294
+ * @description Connection ID
2295
+ */
2296
+ id: string;
2297
+ /** @description Connection Name */
2298
+ name: string;
2299
+ /** @description Human-readable description of the connection and its purpose. */
2300
+ description?: string;
2301
+ /**
2302
+ * Format: uri
2303
+ * @description URL of the remote resource this connection points to (e.g. the Helm repository URL, the Kubernetes API server endpoint, the Grafana instance URL).
2304
+ */
2305
+ url?: string;
2306
+ /**
2307
+ * Format: uuid
2308
+ * @description Associated Credential ID
2309
+ */
2310
+ credentialId?: string;
2311
+ /** @description Connection Type (platform, telemetry, collaboration) */
2312
+ type: string;
2313
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
2314
+ subType: string;
2315
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
2316
+ kind: string;
3822
2317
  /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
3823
2318
  modelReference?: {
3824
2319
  /**
@@ -3848,11 +2343,6 @@ export interface operations {
3848
2343
  kind: string;
3849
2344
  };
3850
2345
  };
3851
- /**
3852
- * Format: uuid
3853
- * @description Foreign key to the model to which the component belongs. Populated by the ORM from the `model_id` column and suppressed on the JSON wire; consumers use the nested `model` object for wire-level access.
3854
- */
3855
- modelId?: string;
3856
2346
  /** @description Additional connection metadata */
3857
2347
  metadata?: Record<string, never>;
3858
2348
  /** @description Schema for the credential Associated with the connection */
@@ -4415,303 +2905,6 @@ export interface operations {
4415
2905
  /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
4416
2906
  kind: string;
4417
2907
  /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
4418
- model?: {
4419
- /**
4420
- * Format: uuid
4421
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
4422
- */
4423
- id: string;
4424
- /**
4425
- * @description Specifies the version of the schema used for the definition.
4426
- * @default models.meshery.io/v1beta1
4427
- * @example [
4428
- * "v1",
4429
- * "v1alpha1",
4430
- * "v2beta3",
4431
- * "v1.custom-suffix",
4432
- * "models.meshery.io/v1beta1",
4433
- * "capability.meshery.io/v1alpha1"
4434
- * ]
4435
- */
4436
- schemaVersion: string;
4437
- /** @description Version of the model definition. */
4438
- version: string;
4439
- /**
4440
- * @description The unique name for the model within the scope of a registrant.
4441
- * @default untitled-model
4442
- * @example cert-manager
4443
- */
4444
- name: string;
4445
- /**
4446
- * @description Human-readable name for the model.
4447
- * @default Untitled Model
4448
- * @example Cert Manager
4449
- */
4450
- displayName: string;
4451
- /**
4452
- * @description Description of the model.
4453
- * @default A new Meshery model.
4454
- */
4455
- description: string;
4456
- /**
4457
- * @description Status of model, including:
4458
- * - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
4459
- * - maintenance: model is unavailable for a period of time.
4460
- * - enabled: model is available for use for all users of this Meshery Server.
4461
- * - ignored: model is unavailable for use for all users of this Meshery Server.
4462
- * @default enabled
4463
- * @enum {string}
4464
- */
4465
- status: "ignored" | "enabled" | "duplicate";
4466
- /** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
4467
- registrant: {
4468
- /**
4469
- * Format: uuid
4470
- * @description Connection ID
4471
- */
4472
- id: string;
4473
- /** @description Connection Name */
4474
- name: string;
4475
- /**
4476
- * Format: uuid
4477
- * @description Associated Credential ID
4478
- */
4479
- credentialId?: string;
4480
- /** @description Connection Type (platform, telemetry, collaboration) */
4481
- type: string;
4482
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
4483
- subType: string;
4484
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
4485
- kind: string;
4486
- /** @description Additional connection metadata */
4487
- metadata?: Record<string, never>;
4488
- /**
4489
- * @description Connection Status
4490
- * @enum {string}
4491
- */
4492
- status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
4493
- /**
4494
- * Format: uuid
4495
- * @description User ID who owns this connection
4496
- */
4497
- user_id?: string;
4498
- /** Format: date-time */
4499
- created_at?: string;
4500
- /** Format: date-time */
4501
- updated_at?: string;
4502
- /**
4503
- * Format: date-time
4504
- * @description SQL null Timestamp to handle null values of time.
4505
- */
4506
- deleted_at?: string;
4507
- /** @description Associated environments for this connection */
4508
- environments?: {
4509
- /**
4510
- * Format: uuid
4511
- * @description ID
4512
- */
4513
- id: string;
4514
- /**
4515
- * @description Specifies the version of the schema to which the environment conforms.
4516
- * @default environments.meshery.io/v1beta1
4517
- * @example [
4518
- * "v1",
4519
- * "v1alpha1",
4520
- * "v2beta3",
4521
- * "v1.custom-suffix",
4522
- * "models.meshery.io/v1beta1",
4523
- * "capability.meshery.io/v1alpha1"
4524
- * ]
4525
- */
4526
- schemaVersion: string;
4527
- /** @description Environment name */
4528
- name: string;
4529
- /** @description Environment description */
4530
- description: string;
4531
- /**
4532
- * Format: uuid
4533
- * @description Environment organization ID
4534
- */
4535
- organization_id: string;
4536
- /**
4537
- * Format: uuid
4538
- * @description Environment owner
4539
- */
4540
- owner?: string;
4541
- /**
4542
- * Format: date-time
4543
- * @description Timestamp when the resource was created.
4544
- */
4545
- created_at?: string;
4546
- /** @description Additional metadata associated with the environment. */
4547
- metadata?: Record<string, never>;
4548
- /**
4549
- * Format: date-time
4550
- * @description Timestamp when the resource was updated.
4551
- */
4552
- updated_at?: string;
4553
- /**
4554
- * Format: date-time
4555
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
4556
- */
4557
- deleted_at?: string | null;
4558
- }[];
4559
- /**
4560
- * @description Specifies the version of the schema used for the definition.
4561
- * @default connections.meshery.io/v1beta1
4562
- * @example [
4563
- * "v1",
4564
- * "v1alpha1",
4565
- * "v2beta3",
4566
- * "v1.custom-suffix",
4567
- * "models.meshery.io/v1beta1",
4568
- * "capability.meshery.io/v1alpha1"
4569
- * ]
4570
- */
4571
- schemaVersion: string;
4572
- };
4573
- /**
4574
- * Format: uuid
4575
- * @description ID of the registrant.
4576
- */
4577
- registrantId: string;
4578
- /**
4579
- * Format: uuid
4580
- * @description ID of the category.
4581
- */
4582
- categoryId: string;
4583
- /** @description Category of the model. */
4584
- category: {
4585
- /**
4586
- * Format: uuid
4587
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
4588
- */
4589
- id: string;
4590
- /**
4591
- * @description The category of the model that determines the main grouping.
4592
- * @default Uncategorized
4593
- * @enum {string}
4594
- */
4595
- name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
4596
- /** @description Additional metadata associated with the category. */
4597
- metadata: Record<string, never>;
4598
- };
4599
- /**
4600
- * SubCategory
4601
- * @description Sub category of the model determines the secondary grouping.
4602
- * @default Uncategorized
4603
- * @enum {string}
4604
- */
4605
- subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
4606
- /** @description Metadata containing additional information associated with the model. */
4607
- metadata?: {
4608
- /** @description Capabilities associated with the model */
4609
- capabilities?: {
4610
- /**
4611
- * @description Specifies the version of the schema to which the capability definition conforms.
4612
- * @example [
4613
- * "v1",
4614
- * "v1alpha1",
4615
- * "v2beta3",
4616
- * "v1.custom-suffix",
4617
- * "models.meshery.io/v1beta1",
4618
- * "capability.meshery.io/v1alpha1"
4619
- * ]
4620
- */
4621
- schemaVersion: string;
4622
- /** @description Version of the capability definition. */
4623
- version: string;
4624
- /** @description Name of the capability in human-readible format. */
4625
- displayName: string;
4626
- /** @description A written representation of the purpose and characteristics of the capability. */
4627
- description: string;
4628
- /** @description Top-level categorization of the capability */
4629
- kind: string | "action" | "mutate" | "view" | "interaction";
4630
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
4631
- type: string;
4632
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
4633
- subType: string;
4634
- /** @description Key that backs the capability. */
4635
- key: string;
4636
- /** @description State of the entity in which the capability is applicable. */
4637
- entityState: ("declaration" | "instance")[];
4638
- /**
4639
- * @description Status of the capability
4640
- * @default enabled
4641
- * @enum {string}
4642
- */
4643
- status: "enabled" | "disabled";
4644
- /** @description Metadata contains additional information associated with the capability. Extension point. */
4645
- metadata?: {
4646
- [key: string]: unknown;
4647
- };
4648
- }[];
4649
- /**
4650
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
4651
- * @default false
4652
- */
4653
- isAnnotation: boolean;
4654
- /**
4655
- * @description Primary color associated with the model.
4656
- * @default #00b39f
4657
- */
4658
- primaryColor: string;
4659
- /**
4660
- * @description Secondary color associated with the model.
4661
- * @default #00D3A9
4662
- */
4663
- secondaryColor: string;
4664
- /**
4665
- * @description SVG representation of the model in white color.
4666
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
4667
- */
4668
- svgWhite: string;
4669
- /**
4670
- * @description SVG representation of the model in colored format.
4671
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
4672
- */
4673
- svgColor: string;
4674
- /** @description SVG representation of the complete model. */
4675
- svgComplete?: string;
4676
- /**
4677
- * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
4678
- * @enum {string}
4679
- */
4680
- shape?: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
4681
- } & {
4682
- [key: string]: unknown;
4683
- };
4684
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
4685
- model: {
4686
- /** @description Version of the model as defined by the registrant. */
4687
- version: string;
4688
- };
4689
- /** @description The relationships of the model. */
4690
- relationships: unknown[];
4691
- /** @description The components of the model. */
4692
- components: unknown[];
4693
- /**
4694
- * @description Number of components associated with the model.
4695
- * @default 0
4696
- */
4697
- componentsCount: number;
4698
- /**
4699
- * @description Number of relationships associated with the model.
4700
- * @default 0
4701
- */
4702
- relationshipsCount: number;
4703
- /**
4704
- * Format: date-time
4705
- * @description Timestamp when the resource was created.
4706
- */
4707
- created_at?: string;
4708
- /**
4709
- * Format: date-time
4710
- * @description Timestamp when the resource was updated.
4711
- */
4712
- updated_at?: string;
4713
- };
4714
- /** @description Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
4715
2908
  modelReference?: {
4716
2909
  /**
4717
2910
  * Format: uuid
@@ -4740,11 +2933,6 @@ export interface operations {
4740
2933
  kind: string;
4741
2934
  };
4742
2935
  };
4743
- /**
4744
- * Format: uuid
4745
- * @description Foreign key to the model to which the component belongs. Populated by the ORM from the `model_id` column and suppressed on the JSON wire; consumers use the nested `model` object for wire-level access.
4746
- */
4747
- modelId?: string;
4748
2936
  /** @description Additional connection metadata */
4749
2937
  metadata?: Record<string, never>;
4750
2938
  /** @description Schema for the credential Associated with the connection */