@meshery/schemas 0.8.107 → 0.8.108

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 (204) hide show
  1. package/README.md +294 -23
  2. package/dist/Core-Wy_3jcVT.d.mts +736 -0
  3. package/dist/Core-Wy_3jcVT.d.ts +736 -0
  4. package/dist/cloudApi.d.mts +6873 -3592
  5. package/dist/cloudApi.d.ts +6873 -3592
  6. package/dist/cloudApi.js +1 -1
  7. package/dist/cloudApi.mjs +1 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
  9. package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
  10. package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
  11. package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
  13. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
  14. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
  15. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
  16. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
  17. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
  18. package/dist/constructs/v1alpha1/core/Core.js +1 -0
  19. package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
  20. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
  21. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
  22. package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
  23. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
  24. package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
  25. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
  26. package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
  27. package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
  28. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
  29. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
  30. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
  31. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
  32. package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
  33. package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
  34. package/dist/constructs/v1beta1/academy/Academy.js +1 -0
  35. package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
  36. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
  37. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
  38. package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
  39. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
  41. package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
  42. package/dist/constructs/v1beta1/badge/Badge.js +1 -0
  43. package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
  44. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
  45. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
  46. package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
  47. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
  48. package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
  49. package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
  50. package/dist/constructs/v1beta1/category/Category.js +1 -0
  51. package/dist/constructs/v1beta1/category/Category.mjs +0 -0
  52. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
  53. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
  54. package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
  55. package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
  56. package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
  57. package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
  58. package/dist/constructs/v1beta1/component/Component.js +1 -0
  59. package/dist/constructs/v1beta1/component/Component.mjs +0 -0
  60. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
  61. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
  62. package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
  63. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
  64. package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
  65. package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
  66. package/dist/constructs/v1beta1/connection/Connection.js +1 -0
  67. package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
  68. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
  69. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
  70. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
  71. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
  72. package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
  73. package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
  74. package/dist/constructs/v1beta1/environment/Environment.js +1 -0
  75. package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
  76. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
  77. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
  78. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
  79. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
  80. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
  81. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
  82. package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
  83. package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
  84. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
  85. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
  86. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
  87. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
  88. package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
  89. package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
  90. package/dist/constructs/v1beta1/event/Event.js +1 -0
  91. package/dist/constructs/v1beta1/event/Event.mjs +0 -0
  92. package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
  93. package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
  94. package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
  95. package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
  96. package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
  97. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
  98. package/dist/constructs/v1beta1/feature/Feature.js +1 -0
  99. package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
  100. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
  101. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
  102. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
  103. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
  104. package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
  105. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
  106. package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
  107. package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
  108. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
  109. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
  110. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
  111. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
  112. package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
  113. package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
  114. package/dist/constructs/v1beta1/key/Key.js +1 -0
  115. package/dist/constructs/v1beta1/key/Key.mjs +0 -0
  116. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
  117. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
  118. package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
  119. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
  120. package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
  121. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
  122. package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
  123. package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
  124. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
  125. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
  126. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
  127. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
  128. package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
  129. package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
  130. package/dist/constructs/v1beta1/model/Model.js +1 -0
  131. package/dist/constructs/v1beta1/model/Model.mjs +0 -0
  132. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
  133. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
  134. package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
  135. package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
  136. package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
  137. package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
  138. package/dist/constructs/v1beta1/organization/Organization.js +1 -0
  139. package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
  140. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
  141. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
  142. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
  143. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
  144. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
  145. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
  146. package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
  147. package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
  148. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
  149. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
  150. package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
  151. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
  152. package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
  153. package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
  154. package/dist/constructs/v1beta1/plan/Plan.js +1 -0
  155. package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
  156. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
  157. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
  158. package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
  159. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
  160. package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
  161. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
  162. package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
  163. package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
  164. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
  165. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
  166. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
  167. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
  168. package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
  169. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
  170. package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
  171. package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
  172. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
  173. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
  174. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
  175. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
  176. package/dist/constructs/v1beta1/user/User.d.mts +473 -0
  177. package/dist/constructs/v1beta1/user/User.d.ts +473 -0
  178. package/dist/constructs/v1beta1/user/User.js +1 -0
  179. package/dist/constructs/v1beta1/user/User.mjs +0 -0
  180. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
  181. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
  182. package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
  183. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
  184. package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
  185. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
  186. package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
  187. package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
  188. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
  189. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
  190. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
  191. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
  192. package/dist/index.d.mts +40 -34677
  193. package/dist/index.d.ts +40 -34677
  194. package/dist/index.js +29 -93
  195. package/dist/index.mjs +29 -93
  196. package/dist/mesheryApi.d.mts +1751 -653
  197. package/dist/mesheryApi.d.ts +1751 -653
  198. package/dist/mesheryApi.js +1 -1
  199. package/dist/mesheryApi.mjs +1 -1
  200. package/dist/permissions.d.mts +422 -0
  201. package/dist/permissions.d.ts +422 -0
  202. package/dist/permissions.js +1 -0
  203. package/dist/permissions.mjs +1 -0
  204. package/package.json +52 -48
@@ -0,0 +1,120 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ interface paths {
6
+ "/api/entitlement/plans": {
7
+ get: operations["getPlans"];
8
+ };
9
+ }
10
+ interface components {
11
+ schemas: {
12
+ PlanPage: {
13
+ page: number;
14
+ page_size: number;
15
+ total_count: number;
16
+ plans: ({
17
+ /**
18
+ * Format: uuid
19
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
20
+ */
21
+ id: string;
22
+ /**
23
+ * @description Name of the plan
24
+ * @enum {string}
25
+ */
26
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
27
+ /** @enum {string} */
28
+ cadence: "monthly" | "yearly";
29
+ /** @enum {string} */
30
+ unit: "user" | "free";
31
+ /** @description Minimum number of units required for the plan */
32
+ minimum_units: number;
33
+ /** @description Price per unit of the plan */
34
+ price_per_unit: number;
35
+ /** @enum {string} */
36
+ currency: "usd";
37
+ } & {
38
+ price_id: unknown;
39
+ })[];
40
+ };
41
+ Plan: {
42
+ /**
43
+ * Format: uuid
44
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
45
+ */
46
+ id: string;
47
+ /**
48
+ * @description Name of the plan
49
+ * @enum {string}
50
+ */
51
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
52
+ /** @enum {string} */
53
+ cadence: "monthly" | "yearly";
54
+ /** @enum {string} */
55
+ unit: "user" | "free";
56
+ /** @description Minimum number of units required for the plan */
57
+ minimum_units: number;
58
+ /** @description Price per unit of the plan */
59
+ price_per_unit: number;
60
+ /** @enum {string} */
61
+ currency: "usd";
62
+ } & {
63
+ price_id: unknown;
64
+ };
65
+ /**
66
+ * @description Name of the plan
67
+ * @enum {string}
68
+ */
69
+ PlanName: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
70
+ /** @enum {string} */
71
+ PlanCadence: "monthly" | "yearly";
72
+ /** @enum {string} */
73
+ PlanUnit: "user" | "free";
74
+ /** @enum {string} */
75
+ Currency: "usd";
76
+ };
77
+ }
78
+ interface operations {
79
+ getPlans: {
80
+ responses: {
81
+ /** Plans fetched successfully */
82
+ 200: {
83
+ content: {
84
+ "application/json": ({
85
+ /**
86
+ * Format: uuid
87
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
88
+ */
89
+ id: string;
90
+ /**
91
+ * @description Name of the plan
92
+ * @enum {string}
93
+ */
94
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
95
+ /** @enum {string} */
96
+ cadence: "monthly" | "yearly";
97
+ /** @enum {string} */
98
+ unit: "user" | "free";
99
+ /** @description Minimum number of units required for the plan */
100
+ minimum_units: number;
101
+ /** @description Price per unit of the plan */
102
+ price_per_unit: number;
103
+ /** @enum {string} */
104
+ currency: "usd";
105
+ } & {
106
+ price_id: unknown;
107
+ })[];
108
+ };
109
+ };
110
+ /** Invalid request */
111
+ 400: unknown;
112
+ /** Internal server error */
113
+ 500: unknown;
114
+ };
115
+ };
116
+ }
117
+ interface external {
118
+ }
119
+
120
+ export type { components, external, operations, paths };
@@ -0,0 +1,120 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ interface paths {
6
+ "/api/entitlement/plans": {
7
+ get: operations["getPlans"];
8
+ };
9
+ }
10
+ interface components {
11
+ schemas: {
12
+ PlanPage: {
13
+ page: number;
14
+ page_size: number;
15
+ total_count: number;
16
+ plans: ({
17
+ /**
18
+ * Format: uuid
19
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
20
+ */
21
+ id: string;
22
+ /**
23
+ * @description Name of the plan
24
+ * @enum {string}
25
+ */
26
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
27
+ /** @enum {string} */
28
+ cadence: "monthly" | "yearly";
29
+ /** @enum {string} */
30
+ unit: "user" | "free";
31
+ /** @description Minimum number of units required for the plan */
32
+ minimum_units: number;
33
+ /** @description Price per unit of the plan */
34
+ price_per_unit: number;
35
+ /** @enum {string} */
36
+ currency: "usd";
37
+ } & {
38
+ price_id: unknown;
39
+ })[];
40
+ };
41
+ Plan: {
42
+ /**
43
+ * Format: uuid
44
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
45
+ */
46
+ id: string;
47
+ /**
48
+ * @description Name of the plan
49
+ * @enum {string}
50
+ */
51
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
52
+ /** @enum {string} */
53
+ cadence: "monthly" | "yearly";
54
+ /** @enum {string} */
55
+ unit: "user" | "free";
56
+ /** @description Minimum number of units required for the plan */
57
+ minimum_units: number;
58
+ /** @description Price per unit of the plan */
59
+ price_per_unit: number;
60
+ /** @enum {string} */
61
+ currency: "usd";
62
+ } & {
63
+ price_id: unknown;
64
+ };
65
+ /**
66
+ * @description Name of the plan
67
+ * @enum {string}
68
+ */
69
+ PlanName: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
70
+ /** @enum {string} */
71
+ PlanCadence: "monthly" | "yearly";
72
+ /** @enum {string} */
73
+ PlanUnit: "user" | "free";
74
+ /** @enum {string} */
75
+ Currency: "usd";
76
+ };
77
+ }
78
+ interface operations {
79
+ getPlans: {
80
+ responses: {
81
+ /** Plans fetched successfully */
82
+ 200: {
83
+ content: {
84
+ "application/json": ({
85
+ /**
86
+ * Format: uuid
87
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
88
+ */
89
+ id: string;
90
+ /**
91
+ * @description Name of the plan
92
+ * @enum {string}
93
+ */
94
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
95
+ /** @enum {string} */
96
+ cadence: "monthly" | "yearly";
97
+ /** @enum {string} */
98
+ unit: "user" | "free";
99
+ /** @description Minimum number of units required for the plan */
100
+ minimum_units: number;
101
+ /** @description Price per unit of the plan */
102
+ price_per_unit: number;
103
+ /** @enum {string} */
104
+ currency: "usd";
105
+ } & {
106
+ price_id: unknown;
107
+ })[];
108
+ };
109
+ };
110
+ /** Invalid request */
111
+ 400: unknown;
112
+ /** Internal server error */
113
+ 500: unknown;
114
+ };
115
+ };
116
+ }
117
+ interface external {
118
+ }
119
+
120
+ export type { components, external, operations, paths };
@@ -0,0 +1 @@
1
+ 'use strict';
File without changes
@@ -0,0 +1,322 @@
1
+ /**
2
+ * This file was automatically generated from OpenAPI schema.
3
+ * Do not manually modify this file.
4
+ */
5
+ declare const PlanSchema: {
6
+ readonly openapi: "3.0.0";
7
+ readonly info: {
8
+ readonly title: "plan";
9
+ readonly version: "1.0.0";
10
+ };
11
+ readonly tags: readonly [{
12
+ readonly name: "Plans";
13
+ readonly description: "Operations related to plans";
14
+ }];
15
+ readonly paths: {
16
+ readonly "/api/entitlement/plans": {
17
+ readonly get: {
18
+ readonly "x-internal": readonly ["cloud"];
19
+ readonly operationId: "getPlans";
20
+ readonly tags: readonly ["Plans"];
21
+ readonly summary: "Get all plans supported by the system";
22
+ readonly responses: {
23
+ readonly "200": {
24
+ readonly description: "Plans fetched successfully";
25
+ readonly content: {
26
+ readonly "application/json": {
27
+ readonly schema: {
28
+ readonly type: "array";
29
+ readonly items: {
30
+ readonly type: "object";
31
+ readonly properties: {
32
+ readonly id: {
33
+ readonly "x-oapi-codegen-extra-tags": {
34
+ readonly db: "id";
35
+ readonly json: "id";
36
+ readonly csv: "id";
37
+ };
38
+ readonly type: "string";
39
+ readonly format: "uuid";
40
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
41
+ readonly "x-go-type": "uuid.UUID";
42
+ readonly "x-go-type-import": {
43
+ readonly path: "github.com/gofrs/uuid";
44
+ };
45
+ };
46
+ readonly name: {
47
+ readonly type: "string";
48
+ readonly "x-go-type": "PlanName";
49
+ readonly "x-oapi-codegen-extra-tags": {
50
+ readonly db: "name";
51
+ readonly json: "name";
52
+ readonly csv: "name";
53
+ };
54
+ readonly description: "Name of the plan";
55
+ readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
56
+ };
57
+ readonly cadence: {
58
+ readonly "x-go-type": "PlanCadence";
59
+ readonly "x-oapi-codegen-extra-tags": {
60
+ readonly db: "cadence";
61
+ readonly json: "cadence";
62
+ readonly csv: "cadence";
63
+ };
64
+ readonly type: "string";
65
+ readonly enum: readonly ["monthly", "yearly"];
66
+ };
67
+ readonly unit: {
68
+ readonly "x-go-type": "PlanUnit";
69
+ readonly "x-oapi-codegen-extra-tags": {
70
+ readonly db: "unit";
71
+ readonly json: "unit";
72
+ readonly csv: "unit";
73
+ };
74
+ readonly type: "string";
75
+ readonly enum: readonly ["user", "free"];
76
+ };
77
+ readonly minimum_units: {
78
+ readonly type: "integer";
79
+ readonly description: "Minimum number of units required for the plan";
80
+ readonly "x-oapi-codegen-extra-tags": {
81
+ readonly db: "minimum_units";
82
+ readonly json: "minimum_units";
83
+ readonly csv: "minimum_units";
84
+ };
85
+ };
86
+ readonly price_per_unit: {
87
+ readonly type: "number";
88
+ readonly description: "Price per unit of the plan";
89
+ readonly "x-oapi-codegen-extra-tags": {
90
+ readonly db: "price_per_unit";
91
+ readonly json: "price_per_unit";
92
+ readonly csv: "price_per_unit";
93
+ };
94
+ };
95
+ readonly currency: {
96
+ readonly "x-go-type": "Currency";
97
+ readonly "x-oapi-codegen-extra-tags": {
98
+ readonly db: "currency";
99
+ readonly json: "currency";
100
+ readonly csv: "currency";
101
+ };
102
+ readonly type: "string";
103
+ readonly enum: readonly ["usd"];
104
+ };
105
+ };
106
+ readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
107
+ };
108
+ };
109
+ };
110
+ };
111
+ };
112
+ readonly "400": {
113
+ readonly description: "Invalid request";
114
+ };
115
+ readonly "500": {
116
+ readonly description: "Internal server error";
117
+ };
118
+ };
119
+ };
120
+ };
121
+ };
122
+ readonly components: {
123
+ readonly schemas: {
124
+ readonly PlanPage: {
125
+ readonly type: "object";
126
+ readonly required: readonly ["page", "page_size", "total_count", "plans"];
127
+ readonly properties: {
128
+ readonly page: {
129
+ readonly type: "integer";
130
+ };
131
+ readonly page_size: {
132
+ readonly type: "integer";
133
+ };
134
+ readonly total_count: {
135
+ readonly type: "integer";
136
+ };
137
+ readonly plans: {
138
+ readonly type: "array";
139
+ readonly items: {
140
+ readonly type: "object";
141
+ readonly properties: {
142
+ readonly id: {
143
+ readonly "x-oapi-codegen-extra-tags": {
144
+ readonly db: "id";
145
+ readonly json: "id";
146
+ readonly csv: "id";
147
+ };
148
+ readonly type: "string";
149
+ readonly format: "uuid";
150
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
151
+ readonly "x-go-type": "uuid.UUID";
152
+ readonly "x-go-type-import": {
153
+ readonly path: "github.com/gofrs/uuid";
154
+ };
155
+ };
156
+ readonly name: {
157
+ readonly type: "string";
158
+ readonly "x-go-type": "PlanName";
159
+ readonly "x-oapi-codegen-extra-tags": {
160
+ readonly db: "name";
161
+ readonly json: "name";
162
+ readonly csv: "name";
163
+ };
164
+ readonly description: "Name of the plan";
165
+ readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
166
+ };
167
+ readonly cadence: {
168
+ readonly "x-go-type": "PlanCadence";
169
+ readonly "x-oapi-codegen-extra-tags": {
170
+ readonly db: "cadence";
171
+ readonly json: "cadence";
172
+ readonly csv: "cadence";
173
+ };
174
+ readonly type: "string";
175
+ readonly enum: readonly ["monthly", "yearly"];
176
+ };
177
+ readonly unit: {
178
+ readonly "x-go-type": "PlanUnit";
179
+ readonly "x-oapi-codegen-extra-tags": {
180
+ readonly db: "unit";
181
+ readonly json: "unit";
182
+ readonly csv: "unit";
183
+ };
184
+ readonly type: "string";
185
+ readonly enum: readonly ["user", "free"];
186
+ };
187
+ readonly minimum_units: {
188
+ readonly type: "integer";
189
+ readonly description: "Minimum number of units required for the plan";
190
+ readonly "x-oapi-codegen-extra-tags": {
191
+ readonly db: "minimum_units";
192
+ readonly json: "minimum_units";
193
+ readonly csv: "minimum_units";
194
+ };
195
+ };
196
+ readonly price_per_unit: {
197
+ readonly type: "number";
198
+ readonly description: "Price per unit of the plan";
199
+ readonly "x-oapi-codegen-extra-tags": {
200
+ readonly db: "price_per_unit";
201
+ readonly json: "price_per_unit";
202
+ readonly csv: "price_per_unit";
203
+ };
204
+ };
205
+ readonly currency: {
206
+ readonly "x-go-type": "Currency";
207
+ readonly "x-oapi-codegen-extra-tags": {
208
+ readonly db: "currency";
209
+ readonly json: "currency";
210
+ readonly csv: "currency";
211
+ };
212
+ readonly type: "string";
213
+ readonly enum: readonly ["usd"];
214
+ };
215
+ };
216
+ readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
217
+ readonly "x-go-type": "Plan";
218
+ };
219
+ };
220
+ };
221
+ };
222
+ readonly Plan: {
223
+ readonly type: "object";
224
+ readonly properties: {
225
+ readonly id: {
226
+ readonly "x-oapi-codegen-extra-tags": {
227
+ readonly db: "id";
228
+ readonly json: "id";
229
+ readonly csv: "id";
230
+ };
231
+ readonly type: "string";
232
+ readonly format: "uuid";
233
+ readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
234
+ readonly "x-go-type": "uuid.UUID";
235
+ readonly "x-go-type-import": {
236
+ readonly path: "github.com/gofrs/uuid";
237
+ };
238
+ };
239
+ readonly name: {
240
+ readonly type: "string";
241
+ readonly "x-go-type": "PlanName";
242
+ readonly "x-oapi-codegen-extra-tags": {
243
+ readonly db: "name";
244
+ readonly json: "name";
245
+ readonly csv: "name";
246
+ };
247
+ readonly description: "Name of the plan";
248
+ readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
249
+ };
250
+ readonly cadence: {
251
+ readonly "x-go-type": "PlanCadence";
252
+ readonly "x-oapi-codegen-extra-tags": {
253
+ readonly db: "cadence";
254
+ readonly json: "cadence";
255
+ readonly csv: "cadence";
256
+ };
257
+ readonly type: "string";
258
+ readonly enum: readonly ["monthly", "yearly"];
259
+ };
260
+ readonly unit: {
261
+ readonly "x-go-type": "PlanUnit";
262
+ readonly "x-oapi-codegen-extra-tags": {
263
+ readonly db: "unit";
264
+ readonly json: "unit";
265
+ readonly csv: "unit";
266
+ };
267
+ readonly type: "string";
268
+ readonly enum: readonly ["user", "free"];
269
+ };
270
+ readonly minimum_units: {
271
+ readonly type: "integer";
272
+ readonly description: "Minimum number of units required for the plan";
273
+ readonly "x-oapi-codegen-extra-tags": {
274
+ readonly db: "minimum_units";
275
+ readonly json: "minimum_units";
276
+ readonly csv: "minimum_units";
277
+ };
278
+ };
279
+ readonly price_per_unit: {
280
+ readonly type: "number";
281
+ readonly description: "Price per unit of the plan";
282
+ readonly "x-oapi-codegen-extra-tags": {
283
+ readonly db: "price_per_unit";
284
+ readonly json: "price_per_unit";
285
+ readonly csv: "price_per_unit";
286
+ };
287
+ };
288
+ readonly currency: {
289
+ readonly "x-go-type": "Currency";
290
+ readonly "x-oapi-codegen-extra-tags": {
291
+ readonly db: "currency";
292
+ readonly json: "currency";
293
+ readonly csv: "currency";
294
+ };
295
+ readonly type: "string";
296
+ readonly enum: readonly ["usd"];
297
+ };
298
+ };
299
+ readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
300
+ };
301
+ readonly PlanName: {
302
+ readonly type: "string";
303
+ readonly description: "Name of the plan";
304
+ readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
305
+ };
306
+ readonly PlanCadence: {
307
+ readonly type: "string";
308
+ readonly enum: readonly ["monthly", "yearly"];
309
+ };
310
+ readonly PlanUnit: {
311
+ readonly type: "string";
312
+ readonly enum: readonly ["user", "free"];
313
+ };
314
+ readonly Currency: {
315
+ readonly type: "string";
316
+ readonly enum: readonly ["usd"];
317
+ };
318
+ };
319
+ };
320
+ };
321
+
322
+ export { PlanSchema as default };