@meshery/schemas 1.3.22 → 1.3.24

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 (96) hide show
  1. package/dist/cloudApi.d.mts +5467 -3043
  2. package/dist/cloudApi.d.ts +5467 -3043
  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 +919 -51
  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 +3279 -1916
  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/user/User.d.ts +527 -0
  81. package/dist/constructs/v1beta3/user/User.js +1 -0
  82. package/dist/constructs/v1beta3/user/User.mjs +0 -0
  83. package/dist/constructs/v1beta3/user/UserSchema.d.ts +2 -0
  84. package/dist/constructs/v1beta3/user/UserSchema.js +2 -0
  85. package/dist/constructs/v1beta3/user/UserSchema.mjs +2 -0
  86. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +4 -4
  87. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +4 -4
  88. package/dist/index.d.mts +573 -1
  89. package/dist/index.d.ts +573 -1
  90. package/dist/index.js +41 -33
  91. package/dist/index.mjs +41 -33
  92. package/dist/mesheryApi.d.mts +423 -44
  93. package/dist/mesheryApi.d.ts +423 -44
  94. package/dist/mesheryApi.js +1 -1
  95. package/dist/mesheryApi.mjs +1 -1
  96. package/package.json +1 -1
@@ -1469,6 +1469,119 @@ export interface components {
1469
1469
  /** @description Whether to check compatibility */
1470
1470
  checkCompatibility?: boolean;
1471
1471
  };
1472
+ /** @description Kubernetes-specific authentication context projected from a kubernetes connection and its credential. Connection metadata supplies the context identity (id, name, server, version, deployment type, instance and server IDs); the credential secret supplies the auth and cluster material. This is a response projection, not a stored table row. */
1473
+ K8sContext: {
1474
+ /** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
1475
+ id?: string;
1476
+ /** @description Human-readable name of the Kubernetes context. */
1477
+ name?: string;
1478
+ /** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
1479
+ auth?: Record<string, never>;
1480
+ /** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
1481
+ cluster?: Record<string, never>;
1482
+ /** @description API server URL of the Kubernetes cluster. */
1483
+ server?: string;
1484
+ /**
1485
+ * Format: uuid
1486
+ * @description ID of the user who owns the underlying connection.
1487
+ */
1488
+ owner?: string;
1489
+ /**
1490
+ * Format: uuid
1491
+ * @description ID of the user who registered the context.
1492
+ */
1493
+ createdBy?: string;
1494
+ /**
1495
+ * Format: uuid
1496
+ * @description ID of the Meshery instance the context is registered with.
1497
+ */
1498
+ mesheryInstanceId?: string;
1499
+ /**
1500
+ * Format: uuid
1501
+ * @description ID of the Kubernetes server associated with the context.
1502
+ */
1503
+ kubernetesServerId?: string;
1504
+ /** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
1505
+ deploymentType?: string;
1506
+ /** @description Kubernetes server version of the cluster. */
1507
+ version?: string;
1508
+ /**
1509
+ * Format: date-time
1510
+ * @description Timestamp when the underlying connection was created.
1511
+ */
1512
+ createdAt?: string;
1513
+ /**
1514
+ * Format: date-time
1515
+ * @description Timestamp when the underlying connection was last updated.
1516
+ */
1517
+ updatedAt?: string;
1518
+ /**
1519
+ * Format: uuid
1520
+ * @description ID of the connection this context was projected from.
1521
+ */
1522
+ connectionId?: string;
1523
+ };
1524
+ /** @description Paginated list of Kubernetes contexts. */
1525
+ K8sContextPage: {
1526
+ /** @description Zero-based page index returned in this response. */
1527
+ page: number;
1528
+ /** @description Maximum number of items returned on each page. */
1529
+ pageSize: number;
1530
+ /** @description Total number of items across all pages. */
1531
+ totalCount: number;
1532
+ /** @description Kubernetes contexts in this page. */
1533
+ contexts: {
1534
+ /** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
1535
+ id?: string;
1536
+ /** @description Human-readable name of the Kubernetes context. */
1537
+ name?: string;
1538
+ /** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
1539
+ auth?: Record<string, never>;
1540
+ /** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
1541
+ cluster?: Record<string, never>;
1542
+ /** @description API server URL of the Kubernetes cluster. */
1543
+ server?: string;
1544
+ /**
1545
+ * Format: uuid
1546
+ * @description ID of the user who owns the underlying connection.
1547
+ */
1548
+ owner?: string;
1549
+ /**
1550
+ * Format: uuid
1551
+ * @description ID of the user who registered the context.
1552
+ */
1553
+ createdBy?: string;
1554
+ /**
1555
+ * Format: uuid
1556
+ * @description ID of the Meshery instance the context is registered with.
1557
+ */
1558
+ mesheryInstanceId?: string;
1559
+ /**
1560
+ * Format: uuid
1561
+ * @description ID of the Kubernetes server associated with the context.
1562
+ */
1563
+ kubernetesServerId?: string;
1564
+ /** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
1565
+ deploymentType?: string;
1566
+ /** @description Kubernetes server version of the cluster. */
1567
+ version?: string;
1568
+ /**
1569
+ * Format: date-time
1570
+ * @description Timestamp when the underlying connection was created.
1571
+ */
1572
+ createdAt?: string;
1573
+ /**
1574
+ * Format: date-time
1575
+ * @description Timestamp when the underlying connection was last updated.
1576
+ */
1577
+ updatedAt?: string;
1578
+ /**
1579
+ * Format: uuid
1580
+ * @description ID of the connection this context was projected from.
1581
+ */
1582
+ connectionId?: string;
1583
+ }[];
1584
+ };
1472
1585
  };
1473
1586
  responses: {
1474
1587
  /** @description Invalid request body or request param */
@@ -3632,7 +3745,66 @@ export interface operations {
3632
3745
  [name: string]: unknown;
3633
3746
  };
3634
3747
  content: {
3635
- "application/json": Record<string, never>;
3748
+ "application/json": {
3749
+ /** @description Zero-based page index returned in this response. */
3750
+ page: number;
3751
+ /** @description Maximum number of items returned on each page. */
3752
+ pageSize: number;
3753
+ /** @description Total number of items across all pages. */
3754
+ totalCount: number;
3755
+ /** @description Kubernetes contexts in this page. */
3756
+ contexts: {
3757
+ /** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
3758
+ id?: string;
3759
+ /** @description Human-readable name of the Kubernetes context. */
3760
+ name?: string;
3761
+ /** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
3762
+ auth?: Record<string, never>;
3763
+ /** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
3764
+ cluster?: Record<string, never>;
3765
+ /** @description API server URL of the Kubernetes cluster. */
3766
+ server?: string;
3767
+ /**
3768
+ * Format: uuid
3769
+ * @description ID of the user who owns the underlying connection.
3770
+ */
3771
+ owner?: string;
3772
+ /**
3773
+ * Format: uuid
3774
+ * @description ID of the user who registered the context.
3775
+ */
3776
+ createdBy?: string;
3777
+ /**
3778
+ * Format: uuid
3779
+ * @description ID of the Meshery instance the context is registered with.
3780
+ */
3781
+ mesheryInstanceId?: string;
3782
+ /**
3783
+ * Format: uuid
3784
+ * @description ID of the Kubernetes server associated with the context.
3785
+ */
3786
+ kubernetesServerId?: string;
3787
+ /** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
3788
+ deploymentType?: string;
3789
+ /** @description Kubernetes server version of the cluster. */
3790
+ version?: string;
3791
+ /**
3792
+ * Format: date-time
3793
+ * @description Timestamp when the underlying connection was created.
3794
+ */
3795
+ createdAt?: string;
3796
+ /**
3797
+ * Format: date-time
3798
+ * @description Timestamp when the underlying connection was last updated.
3799
+ */
3800
+ updatedAt?: string;
3801
+ /**
3802
+ * Format: uuid
3803
+ * @description ID of the connection this context was projected from.
3804
+ */
3805
+ connectionId?: string;
3806
+ }[];
3807
+ };
3636
3808
  };
3637
3809
  };
3638
3810
  /** @description Expired JWT token used or insufficient privilege */