@meshery/schemas 1.3.22 → 1.3.23

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 (90) hide show
  1. package/dist/cloudApi.d.mts +5239 -3023
  2. package/dist/cloudApi.d.ts +5239 -3023
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  6. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  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/connection/ConnectionSchema.js +1 -1
  10. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  11. package/dist/constructs/v1beta1/credential/CredentialSchema.js +8 -8
  12. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +8 -8
  13. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  14. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  15. package/dist/constructs/v1beta1/model/Model.d.ts +586 -2
  16. package/dist/constructs/v1beta1/model/ModelSchema.js +10 -2
  17. package/dist/constructs/v1beta1/model/ModelSchema.mjs +10 -2
  18. package/dist/constructs/v1beta1/pattern/PatternSchema.js +11 -11
  19. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +11 -11
  20. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +6 -6
  21. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +6 -6
  22. package/dist/constructs/v1beta1/system/System.d.ts +112 -0
  23. package/dist/constructs/v1beta1/system/SystemSchema.js +1 -1
  24. package/dist/constructs/v1beta1/system/SystemSchema.mjs +1 -1
  25. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  26. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  27. package/dist/constructs/v1beta1/token/TokenSchema.js +1 -1
  28. package/dist/constructs/v1beta1/token/TokenSchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/view/ViewSchema.js +4 -4
  30. package/dist/constructs/v1beta1/view/ViewSchema.mjs +4 -4
  31. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +4 -4
  32. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +4 -4
  33. package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
  34. package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
  35. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  36. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  37. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  38. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  39. package/dist/constructs/v1beta2/credential/CredentialSchema.js +6 -6
  40. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +6 -6
  41. package/dist/constructs/v1beta2/design/DesignSchema.js +11 -11
  42. package/dist/constructs/v1beta2/design/DesignSchema.mjs +11 -11
  43. package/dist/constructs/v1beta2/model/Model.d.ts +587 -3
  44. package/dist/constructs/v1beta2/model/ModelSchema.js +10 -2
  45. package/dist/constructs/v1beta2/model/ModelSchema.mjs +10 -2
  46. package/dist/constructs/v1beta2/organization/Organization.d.ts +434 -0
  47. package/dist/constructs/v1beta2/organization/OrganizationSchema.js +1 -1
  48. package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +1 -1
  49. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +5 -5
  50. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +5 -5
  51. package/dist/constructs/v1beta2/team/TeamSchema.js +1 -1
  52. package/dist/constructs/v1beta2/team/TeamSchema.mjs +1 -1
  53. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  54. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  55. package/dist/constructs/v1beta2/user/User.d.ts +695 -0
  56. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  57. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  58. package/dist/constructs/v1beta2/view/ViewSchema.js +4 -4
  59. package/dist/constructs/v1beta2/view/ViewSchema.mjs +4 -4
  60. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  61. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  62. package/dist/constructs/v1beta3/connection/Connection.d.ts +173 -1
  63. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
  64. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
  65. package/dist/constructs/v1beta3/design/Design.d.ts +3569 -2245
  66. package/dist/constructs/v1beta3/design/DesignSchema.js +56 -12
  67. package/dist/constructs/v1beta3/design/DesignSchema.mjs +56 -12
  68. package/dist/constructs/v1beta3/environment/Environment.d.ts +42 -0
  69. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
  70. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
  71. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +188 -1
  72. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  73. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  74. package/dist/constructs/v1beta3/pattern_resource/PatternResource.d.ts +701 -0
  75. package/dist/constructs/v1beta3/pattern_resource/PatternResource.js +1 -0
  76. package/dist/constructs/v1beta3/pattern_resource/PatternResource.mjs +0 -0
  77. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.d.ts +2 -0
  78. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.js +78 -0
  79. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.mjs +78 -0
  80. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +4 -4
  81. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +4 -4
  82. package/dist/index.d.mts +573 -1
  83. package/dist/index.d.ts +573 -1
  84. package/dist/index.js +41 -33
  85. package/dist/index.mjs +41 -33
  86. package/dist/mesheryApi.d.mts +905 -734
  87. package/dist/mesheryApi.d.ts +905 -734
  88. package/dist/mesheryApi.js +1 -1
  89. package/dist/mesheryApi.mjs +1 -1
  90. package/package.json +1 -1
@@ -314,7 +314,7 @@ export interface components {
314
314
  } & {
315
315
  [key: string]: unknown;
316
316
  };
317
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
317
+ /** @description Registrant-defined data associated with the model. */
318
318
  model: {
319
319
  /** @description Version of the model as defined by the registrant. */
320
320
  version: string;
@@ -465,8 +465,300 @@ export interface components {
465
465
  totalCount?: number;
466
466
  /** @description The models matching the list-endpoint query. */
467
467
  models?: {
468
- /** @description Version of the model as defined by the registrant. */
468
+ /**
469
+ * Format: uuid
470
+ * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
471
+ */
472
+ id: string;
473
+ /**
474
+ * @description Specifies the version of the schema used for the definition.
475
+ * @default models.meshery.io/v1beta2
476
+ * @example [
477
+ * "v1",
478
+ * "v1alpha1",
479
+ * "v2beta3",
480
+ * "v1.custom-suffix",
481
+ * "models.meshery.io/v1beta1",
482
+ * "capability.meshery.io/v1alpha1"
483
+ * ]
484
+ */
485
+ schemaVersion: string;
486
+ /** @description Version of the model definition. */
469
487
  version: string;
488
+ /**
489
+ * @description The unique name for the model within the scope of a registrant.
490
+ * @default untitled-model
491
+ * @example cert-manager
492
+ */
493
+ name: string;
494
+ /**
495
+ * @description Human-readable name for the model.
496
+ * @default Untitled Model
497
+ * @example Cert Manager
498
+ */
499
+ displayName: string;
500
+ /**
501
+ * @description Description of the model.
502
+ * @default A new Meshery model.
503
+ */
504
+ description: string;
505
+ /**
506
+ * @description Status of model, including:
507
+ * - 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.
508
+ * - maintenance: model is unavailable for a period of time.
509
+ * - enabled: model is available for use for all users of this Meshery Server.
510
+ * - ignored: model is unavailable for use for all users of this Meshery Server.
511
+ * @default enabled
512
+ * @enum {string}
513
+ */
514
+ status: "ignored" | "enabled" | "duplicate";
515
+ /** @description Connection identifying the entity that registered this model. */
516
+ registrant: {
517
+ /**
518
+ * Format: uuid
519
+ * @description Connection ID
520
+ */
521
+ id: string;
522
+ /** @description Connection Name */
523
+ name: string;
524
+ /**
525
+ * Format: uuid
526
+ * @description Associated Credential ID
527
+ */
528
+ credentialId?: string;
529
+ /** @description Connection Type (platform, telemetry, collaboration) */
530
+ type: string;
531
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
532
+ subType: string;
533
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
534
+ kind: string;
535
+ /** @description Additional connection metadata */
536
+ metadata?: Record<string, never>;
537
+ /**
538
+ * @description Connection Status
539
+ * @enum {string}
540
+ */
541
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
542
+ /**
543
+ * Format: uuid
544
+ * @description User ID who owns this connection
545
+ */
546
+ user_id?: string;
547
+ /** Format: date-time */
548
+ created_at?: string;
549
+ /** Format: date-time */
550
+ updated_at?: string;
551
+ /**
552
+ * Format: date-time
553
+ * @description SQL null Timestamp to handle null values of time.
554
+ */
555
+ deleted_at?: string;
556
+ /** @description Associated environments for this connection */
557
+ environments?: {
558
+ /**
559
+ * Format: uuid
560
+ * @description ID
561
+ */
562
+ id: string;
563
+ /**
564
+ * @description Specifies the version of the schema to which the environment conforms.
565
+ * @default environments.meshery.io/v1beta1
566
+ * @example [
567
+ * "v1",
568
+ * "v1alpha1",
569
+ * "v2beta3",
570
+ * "v1.custom-suffix",
571
+ * "models.meshery.io/v1beta1",
572
+ * "capability.meshery.io/v1alpha1"
573
+ * ]
574
+ */
575
+ schemaVersion: string;
576
+ /** @description Environment name */
577
+ name: string;
578
+ /** @description Environment description */
579
+ description: string;
580
+ /**
581
+ * Format: uuid
582
+ * @description Environment organization ID
583
+ */
584
+ organization_id: string;
585
+ /**
586
+ * Format: uuid
587
+ * @description Environment owner
588
+ */
589
+ owner?: string;
590
+ /**
591
+ * Format: date-time
592
+ * @description Timestamp when the resource was created.
593
+ */
594
+ created_at?: string;
595
+ /** @description Additional metadata associated with the environment. */
596
+ metadata?: Record<string, never>;
597
+ /**
598
+ * Format: date-time
599
+ * @description Timestamp when the resource was updated.
600
+ */
601
+ updated_at?: string;
602
+ /**
603
+ * Format: date-time
604
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
605
+ */
606
+ deleted_at?: string | null;
607
+ }[];
608
+ /**
609
+ * @description Specifies the version of the schema used for the definition.
610
+ * @default connections.meshery.io/v1beta1
611
+ * @example [
612
+ * "v1",
613
+ * "v1alpha1",
614
+ * "v2beta3",
615
+ * "v1.custom-suffix",
616
+ * "models.meshery.io/v1beta1",
617
+ * "capability.meshery.io/v1alpha1"
618
+ * ]
619
+ */
620
+ schemaVersion: string;
621
+ };
622
+ /**
623
+ * Format: uuid
624
+ * @description ID of the registrant.
625
+ */
626
+ registrantId: string;
627
+ /**
628
+ * Format: uuid
629
+ * @description ID of the category.
630
+ */
631
+ categoryId: string;
632
+ /** @description Category the model belongs to. */
633
+ category: {
634
+ /**
635
+ * Format: uuid
636
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
637
+ */
638
+ id: string;
639
+ /**
640
+ * @description The category of the model that determines the main grouping.
641
+ * @default Uncategorized
642
+ * @enum {string}
643
+ */
644
+ 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";
645
+ /** @description Additional metadata associated with the category. */
646
+ metadata: Record<string, never>;
647
+ };
648
+ /**
649
+ * SubCategory
650
+ * @description Sub-category the model belongs to.
651
+ * @default Uncategorized
652
+ * @enum {string}
653
+ */
654
+ 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";
655
+ /** @description Metadata containing additional information associated with the model. */
656
+ metadata?: {
657
+ /** @description Capabilities associated with the model */
658
+ capabilities?: {
659
+ /**
660
+ * @description Specifies the version of the schema to which the capability definition conforms.
661
+ * @example [
662
+ * "v1",
663
+ * "v1alpha1",
664
+ * "v2beta3",
665
+ * "v1.custom-suffix",
666
+ * "models.meshery.io/v1beta1",
667
+ * "capability.meshery.io/v1alpha1"
668
+ * ]
669
+ */
670
+ schemaVersion: string;
671
+ /** @description Version of the capability definition. */
672
+ version: string;
673
+ /** @description Name of the capability in human-readible format. */
674
+ displayName: string;
675
+ /** @description A written representation of the purpose and characteristics of the capability. */
676
+ description: string;
677
+ /** @description Top-level categorization of the capability */
678
+ kind: string | "action" | "mutate" | "view" | "interaction";
679
+ /** @description Classification of capabilities. Used to group capabilities similar in nature. */
680
+ type: string;
681
+ /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
682
+ subType: string;
683
+ /** @description Key that backs the capability. */
684
+ key: string;
685
+ /** @description State of the entity in which the capability is applicable. */
686
+ entityState: ("declaration" | "instance")[];
687
+ /**
688
+ * @description Status of the capability
689
+ * @default enabled
690
+ * @enum {string}
691
+ */
692
+ status: "enabled" | "disabled";
693
+ /** @description Metadata contains additional information associated with the capability. Extension point. */
694
+ metadata?: {
695
+ [key: string]: unknown;
696
+ };
697
+ }[];
698
+ /**
699
+ * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
700
+ * @default false
701
+ */
702
+ isAnnotation: boolean;
703
+ /**
704
+ * @description Primary color associated with the model.
705
+ * @default #00b39f
706
+ */
707
+ primaryColor: string;
708
+ /**
709
+ * @description Secondary color associated with the model.
710
+ * @default #00D3A9
711
+ */
712
+ secondaryColor: string;
713
+ /**
714
+ * @description SVG representation of the model in white color.
715
+ * @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>
716
+ */
717
+ svgWhite: string;
718
+ /**
719
+ * @description SVG representation of the model in colored format.
720
+ * @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>
721
+ */
722
+ svgColor: string;
723
+ /** @description SVG representation of the complete model. */
724
+ svgComplete?: string;
725
+ /**
726
+ * @description Visual shape used to render the model's entities in design canvases.
727
+ * @enum {string}
728
+ */
729
+ 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";
730
+ } & {
731
+ [key: string]: unknown;
732
+ };
733
+ /** @description Registrant-defined data associated with the model. */
734
+ model: {
735
+ /** @description Version of the model as defined by the registrant. */
736
+ version: string;
737
+ };
738
+ /** @description The relationships of the model. */
739
+ relationships: unknown[];
740
+ /** @description The components of the model. */
741
+ components: unknown[];
742
+ /**
743
+ * @description Number of components associated with the model.
744
+ * @default 0
745
+ */
746
+ componentsCount: number;
747
+ /**
748
+ * @description Number of relationships associated with the model.
749
+ * @default 0
750
+ */
751
+ relationshipsCount: number;
752
+ /**
753
+ * Format: date-time
754
+ * @description Timestamp when the model was created.
755
+ */
756
+ createdAt?: string;
757
+ /**
758
+ * Format: date-time
759
+ * @description Timestamp when the model was last updated.
760
+ */
761
+ updatedAt?: string;
470
762
  }[];
471
763
  };
472
764
  /** @description Flat canonical representation of the model import form that combines the UI-level uploadType discriminator with the union of fields from the ImportBody oneOf variants. This schema is the authoritative source for the canonical RJSF form schema at schemas/constructs/v1beta2/model/forms/import.json. The server receives an ImportRequest; this form schema captures the superset of user-facing fields so the form schema can be validated as a subset of this canonical type. */
@@ -646,8 +938,300 @@ export interface operations {
646
938
  totalCount?: number;
647
939
  /** @description The models matching the list-endpoint query. */
648
940
  models?: {
649
- /** @description Version of the model as defined by the registrant. */
941
+ /**
942
+ * Format: uuid
943
+ * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
944
+ */
945
+ id: string;
946
+ /**
947
+ * @description Specifies the version of the schema used for the definition.
948
+ * @default models.meshery.io/v1beta2
949
+ * @example [
950
+ * "v1",
951
+ * "v1alpha1",
952
+ * "v2beta3",
953
+ * "v1.custom-suffix",
954
+ * "models.meshery.io/v1beta1",
955
+ * "capability.meshery.io/v1alpha1"
956
+ * ]
957
+ */
958
+ schemaVersion: string;
959
+ /** @description Version of the model definition. */
650
960
  version: string;
961
+ /**
962
+ * @description The unique name for the model within the scope of a registrant.
963
+ * @default untitled-model
964
+ * @example cert-manager
965
+ */
966
+ name: string;
967
+ /**
968
+ * @description Human-readable name for the model.
969
+ * @default Untitled Model
970
+ * @example Cert Manager
971
+ */
972
+ displayName: string;
973
+ /**
974
+ * @description Description of the model.
975
+ * @default A new Meshery model.
976
+ */
977
+ description: string;
978
+ /**
979
+ * @description Status of model, including:
980
+ * - 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.
981
+ * - maintenance: model is unavailable for a period of time.
982
+ * - enabled: model is available for use for all users of this Meshery Server.
983
+ * - ignored: model is unavailable for use for all users of this Meshery Server.
984
+ * @default enabled
985
+ * @enum {string}
986
+ */
987
+ status: "ignored" | "enabled" | "duplicate";
988
+ /** @description Connection identifying the entity that registered this model. */
989
+ registrant: {
990
+ /**
991
+ * Format: uuid
992
+ * @description Connection ID
993
+ */
994
+ id: string;
995
+ /** @description Connection Name */
996
+ name: string;
997
+ /**
998
+ * Format: uuid
999
+ * @description Associated Credential ID
1000
+ */
1001
+ credentialId?: string;
1002
+ /** @description Connection Type (platform, telemetry, collaboration) */
1003
+ type: string;
1004
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
1005
+ subType: string;
1006
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
1007
+ kind: string;
1008
+ /** @description Additional connection metadata */
1009
+ metadata?: Record<string, never>;
1010
+ /**
1011
+ * @description Connection Status
1012
+ * @enum {string}
1013
+ */
1014
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
1015
+ /**
1016
+ * Format: uuid
1017
+ * @description User ID who owns this connection
1018
+ */
1019
+ user_id?: string;
1020
+ /** Format: date-time */
1021
+ created_at?: string;
1022
+ /** Format: date-time */
1023
+ updated_at?: string;
1024
+ /**
1025
+ * Format: date-time
1026
+ * @description SQL null Timestamp to handle null values of time.
1027
+ */
1028
+ deleted_at?: string;
1029
+ /** @description Associated environments for this connection */
1030
+ environments?: {
1031
+ /**
1032
+ * Format: uuid
1033
+ * @description ID
1034
+ */
1035
+ id: string;
1036
+ /**
1037
+ * @description Specifies the version of the schema to which the environment conforms.
1038
+ * @default environments.meshery.io/v1beta1
1039
+ * @example [
1040
+ * "v1",
1041
+ * "v1alpha1",
1042
+ * "v2beta3",
1043
+ * "v1.custom-suffix",
1044
+ * "models.meshery.io/v1beta1",
1045
+ * "capability.meshery.io/v1alpha1"
1046
+ * ]
1047
+ */
1048
+ schemaVersion: string;
1049
+ /** @description Environment name */
1050
+ name: string;
1051
+ /** @description Environment description */
1052
+ description: string;
1053
+ /**
1054
+ * Format: uuid
1055
+ * @description Environment organization ID
1056
+ */
1057
+ organization_id: string;
1058
+ /**
1059
+ * Format: uuid
1060
+ * @description Environment owner
1061
+ */
1062
+ owner?: string;
1063
+ /**
1064
+ * Format: date-time
1065
+ * @description Timestamp when the resource was created.
1066
+ */
1067
+ created_at?: string;
1068
+ /** @description Additional metadata associated with the environment. */
1069
+ metadata?: Record<string, never>;
1070
+ /**
1071
+ * Format: date-time
1072
+ * @description Timestamp when the resource was updated.
1073
+ */
1074
+ updated_at?: string;
1075
+ /**
1076
+ * Format: date-time
1077
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
1078
+ */
1079
+ deleted_at?: string | null;
1080
+ }[];
1081
+ /**
1082
+ * @description Specifies the version of the schema used for the definition.
1083
+ * @default connections.meshery.io/v1beta1
1084
+ * @example [
1085
+ * "v1",
1086
+ * "v1alpha1",
1087
+ * "v2beta3",
1088
+ * "v1.custom-suffix",
1089
+ * "models.meshery.io/v1beta1",
1090
+ * "capability.meshery.io/v1alpha1"
1091
+ * ]
1092
+ */
1093
+ schemaVersion: string;
1094
+ };
1095
+ /**
1096
+ * Format: uuid
1097
+ * @description ID of the registrant.
1098
+ */
1099
+ registrantId: string;
1100
+ /**
1101
+ * Format: uuid
1102
+ * @description ID of the category.
1103
+ */
1104
+ categoryId: string;
1105
+ /** @description Category the model belongs to. */
1106
+ category: {
1107
+ /**
1108
+ * Format: uuid
1109
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1110
+ */
1111
+ id: string;
1112
+ /**
1113
+ * @description The category of the model that determines the main grouping.
1114
+ * @default Uncategorized
1115
+ * @enum {string}
1116
+ */
1117
+ 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";
1118
+ /** @description Additional metadata associated with the category. */
1119
+ metadata: Record<string, never>;
1120
+ };
1121
+ /**
1122
+ * SubCategory
1123
+ * @description Sub-category the model belongs to.
1124
+ * @default Uncategorized
1125
+ * @enum {string}
1126
+ */
1127
+ 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";
1128
+ /** @description Metadata containing additional information associated with the model. */
1129
+ metadata?: {
1130
+ /** @description Capabilities associated with the model */
1131
+ capabilities?: {
1132
+ /**
1133
+ * @description Specifies the version of the schema to which the capability definition conforms.
1134
+ * @example [
1135
+ * "v1",
1136
+ * "v1alpha1",
1137
+ * "v2beta3",
1138
+ * "v1.custom-suffix",
1139
+ * "models.meshery.io/v1beta1",
1140
+ * "capability.meshery.io/v1alpha1"
1141
+ * ]
1142
+ */
1143
+ schemaVersion: string;
1144
+ /** @description Version of the capability definition. */
1145
+ version: string;
1146
+ /** @description Name of the capability in human-readible format. */
1147
+ displayName: string;
1148
+ /** @description A written representation of the purpose and characteristics of the capability. */
1149
+ description: string;
1150
+ /** @description Top-level categorization of the capability */
1151
+ kind: string | "action" | "mutate" | "view" | "interaction";
1152
+ /** @description Classification of capabilities. Used to group capabilities similar in nature. */
1153
+ type: string;
1154
+ /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1155
+ subType: string;
1156
+ /** @description Key that backs the capability. */
1157
+ key: string;
1158
+ /** @description State of the entity in which the capability is applicable. */
1159
+ entityState: ("declaration" | "instance")[];
1160
+ /**
1161
+ * @description Status of the capability
1162
+ * @default enabled
1163
+ * @enum {string}
1164
+ */
1165
+ status: "enabled" | "disabled";
1166
+ /** @description Metadata contains additional information associated with the capability. Extension point. */
1167
+ metadata?: {
1168
+ [key: string]: unknown;
1169
+ };
1170
+ }[];
1171
+ /**
1172
+ * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
1173
+ * @default false
1174
+ */
1175
+ isAnnotation: boolean;
1176
+ /**
1177
+ * @description Primary color associated with the model.
1178
+ * @default #00b39f
1179
+ */
1180
+ primaryColor: string;
1181
+ /**
1182
+ * @description Secondary color associated with the model.
1183
+ * @default #00D3A9
1184
+ */
1185
+ secondaryColor: string;
1186
+ /**
1187
+ * @description SVG representation of the model in white color.
1188
+ * @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>
1189
+ */
1190
+ svgWhite: string;
1191
+ /**
1192
+ * @description SVG representation of the model in colored format.
1193
+ * @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>
1194
+ */
1195
+ svgColor: string;
1196
+ /** @description SVG representation of the complete model. */
1197
+ svgComplete?: string;
1198
+ /**
1199
+ * @description Visual shape used to render the model's entities in design canvases.
1200
+ * @enum {string}
1201
+ */
1202
+ 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";
1203
+ } & {
1204
+ [key: string]: unknown;
1205
+ };
1206
+ /** @description Registrant-defined data associated with the model. */
1207
+ model: {
1208
+ /** @description Version of the model as defined by the registrant. */
1209
+ version: string;
1210
+ };
1211
+ /** @description The relationships of the model. */
1212
+ relationships: unknown[];
1213
+ /** @description The components of the model. */
1214
+ components: unknown[];
1215
+ /**
1216
+ * @description Number of components associated with the model.
1217
+ * @default 0
1218
+ */
1219
+ componentsCount: number;
1220
+ /**
1221
+ * @description Number of relationships associated with the model.
1222
+ * @default 0
1223
+ */
1224
+ relationshipsCount: number;
1225
+ /**
1226
+ * Format: date-time
1227
+ * @description Timestamp when the model was created.
1228
+ */
1229
+ createdAt?: string;
1230
+ /**
1231
+ * Format: date-time
1232
+ * @description Timestamp when the model was last updated.
1233
+ */
1234
+ updatedAt?: string;
651
1235
  }[];
652
1236
  };
653
1237
  };