@meshery/schemas 1.2.21 → 1.2.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 (106) hide show
  1. package/dist/cloudApi.d.mts +1728 -1527
  2. package/dist/cloudApi.d.ts +1728 -1527
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6537 -5918
  10. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  11. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  12. package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
  13. package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
  14. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
  15. package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
  16. package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
  17. package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
  18. package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
  19. package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
  20. package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
  21. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
  22. package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
  23. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
  24. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
  25. package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
  26. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
  27. package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
  28. package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
  29. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
  30. package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
  31. package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
  32. package/dist/constructs/v1beta1/role/RoleSchema.js +1 -1
  33. package/dist/constructs/v1beta1/role/RoleSchema.mjs +1 -1
  34. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
  35. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
  36. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
  37. package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
  38. package/dist/constructs/v1beta1/system/System.d.ts +434 -0
  39. package/dist/constructs/v1beta1/system/System.js +1 -0
  40. package/dist/constructs/v1beta1/system/System.mjs +0 -0
  41. package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
  42. package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
  43. package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
  44. package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
  45. package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
  46. package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
  47. package/dist/constructs/v1beta1/user/UserSchema.js +1 -1
  48. package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -1
  49. package/dist/constructs/v1beta1/view/View.d.ts +833 -664
  50. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
  51. package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
  52. package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
  53. package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
  54. package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
  55. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
  56. package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
  57. package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
  58. package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
  59. package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
  60. package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
  61. package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
  62. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
  63. package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
  64. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
  65. package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
  66. package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
  67. package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
  68. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
  69. package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
  70. package/dist/constructs/v1beta2/role/RoleSchema.js +1 -1
  71. package/dist/constructs/v1beta2/role/RoleSchema.mjs +1 -1
  72. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
  73. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
  74. package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
  75. package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
  76. package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
  77. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  78. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  79. package/dist/constructs/v1beta2/view/View.d.ts +838 -669
  80. package/dist/constructs/v1beta3/academy/Academy.d.ts +7844 -7226
  81. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  82. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  83. package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
  84. package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
  85. package/dist/constructs/v1beta3/design/Design.d.ts +5729 -5307
  86. package/dist/constructs/v1beta3/design/DesignSchema.js +8 -8
  87. package/dist/constructs/v1beta3/design/DesignSchema.mjs +8 -8
  88. package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
  89. package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
  90. package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
  91. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
  92. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
  93. package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
  94. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
  95. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
  96. package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
  97. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
  98. package/dist/index.d.mts +5520 -5062
  99. package/dist/index.d.ts +5520 -5062
  100. package/dist/mesheryApi.d.mts +1318 -526
  101. package/dist/mesheryApi.d.ts +1318 -526
  102. package/dist/mesheryApi.js +1 -1
  103. package/dist/mesheryApi.mjs +1 -1
  104. package/dist/permissions.d.mts +1 -1
  105. package/dist/permissions.d.ts +1 -1
  106. package/package.json +1 -2
@@ -4,143 +4,45 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/entitlement/features": {
8
- get: operations["getFeatures"];
9
- };
10
- "/api/entitlement/subscriptions/organizations/{organizationId}/features": {
11
- get: operations["getFeaturesByOrganization"];
12
- };
13
- }
14
-
15
- export interface components {
16
- schemas: {
17
- FeaturesPage: {
18
- /**
19
- * Format: uuid
20
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
21
- */
22
- id: string;
23
- /**
24
- * Format: uuid
25
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
26
- */
27
- plan_id: string;
28
- plan?: {
29
- /**
30
- * Format: uuid
31
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
32
- */
33
- id: string;
34
- /**
35
- * @description Name of the plan
36
- * @enum {string}
37
- */
38
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
39
- /** @enum {string} */
40
- cadence: "monthly" | "yearly";
41
- /** @enum {string} */
42
- unit: "user" | "free";
43
- /** @description Minimum number of units required for the plan */
44
- minimum_units: number;
45
- /** @description Price per unit of the plan */
46
- price_per_unit: number;
47
- /** @enum {string} */
48
- currency: "usd";
49
- };
50
- /**
51
- * @description Enumeration of possible feature types
52
- * @enum {string}
53
- */
54
- name:
55
- | "ComponentsInDesign"
56
- | "RelationshipsInDesign"
57
- | "DesignsInWorkspace"
58
- | "WorkspacesInOrganization"
59
- | "ImageSizeInDesign"
60
- | "SizePerDesign";
61
- /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
62
- quantity: number;
63
- /** Format: date-time */
64
- created_at?: string;
65
- /** Format: date-time */
66
- updated_at?: string;
67
- }[];
68
- /**
69
- * @description Enumeration of possible feature types
70
- * @enum {string}
71
- */
72
- FeatureName:
73
- | "ComponentsInDesign"
74
- | "RelationshipsInDesign"
75
- | "DesignsInWorkspace"
76
- | "WorkspacesInOrganization"
77
- | "ImageSizeInDesign"
78
- | "SizePerDesign";
79
- Feature: {
80
- /**
81
- * Format: uuid
82
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
83
- */
84
- id: string;
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
- plan_id: string;
90
- plan?: {
91
- /**
92
- * Format: uuid
93
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
94
- */
95
- id: string;
96
- /**
97
- * @description Name of the plan
98
- * @enum {string}
99
- */
100
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
101
- /** @enum {string} */
102
- cadence: "monthly" | "yearly";
103
- /** @enum {string} */
104
- unit: "user" | "free";
105
- /** @description Minimum number of units required for the plan */
106
- minimum_units: number;
107
- /** @description Price per unit of the plan */
108
- price_per_unit: number;
109
- /** @enum {string} */
110
- currency: "usd";
111
- };
112
- /**
113
- * @description Enumeration of possible feature types
114
- * @enum {string}
115
- */
116
- name:
117
- | "ComponentsInDesign"
118
- | "RelationshipsInDesign"
119
- | "DesignsInWorkspace"
120
- | "WorkspacesInOrganization"
121
- | "ImageSizeInDesign"
122
- | "SizePerDesign";
123
- /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
124
- quantity: number;
125
- /** Format: date-time */
126
- created_at?: string;
127
- /** Format: date-time */
128
- updated_at?: string;
7
+ "/api/entitlement/features": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ /** Get all features associated with plans */
15
+ get: operations["getFeatures"];
16
+ put?: never;
17
+ post?: never;
18
+ delete?: never;
19
+ options?: never;
20
+ head?: never;
21
+ patch?: never;
22
+ trace?: never;
23
+ };
24
+ "/api/entitlement/subscriptions/organizations/{organizationId}/features": {
25
+ parameters: {
26
+ query?: never;
27
+ header?: never;
28
+ path?: never;
29
+ cookie?: never;
30
+ };
31
+ /** Get all features associated with plans */
32
+ get: operations["getFeaturesByOrganization"];
33
+ put?: never;
34
+ post?: never;
35
+ delete?: never;
36
+ options?: never;
37
+ head?: never;
38
+ patch?: never;
39
+ trace?: never;
129
40
  };
130
- };
131
- parameters: {
132
- /** @description The ID of the organization */
133
- organization_id: string;
134
- };
135
41
  }
136
-
137
- export interface operations {
138
- getFeatures: {
139
- responses: {
140
- /** Features response */
141
- 200: {
142
- content: {
143
- "application/json": {
42
+ export type webhooks = Record<string, never>;
43
+ export interface components {
44
+ schemas: {
45
+ FeaturesPage: {
144
46
  /**
145
47
  * Format: uuid
146
48
  * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
@@ -152,79 +54,45 @@ export interface operations {
152
54
  */
153
55
  plan_id: string;
154
56
  plan?: {
155
- /**
156
- * Format: uuid
157
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
158
- */
159
- id: string;
160
- /**
161
- * @description Name of the plan
162
- * @enum {string}
163
- */
164
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
165
- /** @enum {string} */
166
- cadence: "monthly" | "yearly";
167
- /** @enum {string} */
168
- unit: "user" | "free";
169
- /** @description Minimum number of units required for the plan */
170
- minimum_units: number;
171
- /** @description Price per unit of the plan */
172
- price_per_unit: number;
173
- /** @enum {string} */
174
- currency: "usd";
57
+ /**
58
+ * Format: uuid
59
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
60
+ */
61
+ id: string;
62
+ /**
63
+ * @description Name of the plan
64
+ * @enum {string}
65
+ */
66
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
67
+ /** @enum {string} */
68
+ cadence: "monthly" | "yearly";
69
+ /** @enum {string} */
70
+ unit: "user" | "free";
71
+ /** @description Minimum number of units required for the plan */
72
+ minimum_units: number;
73
+ /** @description Price per unit of the plan */
74
+ price_per_unit: number;
75
+ /** @enum {string} */
76
+ currency: "usd";
175
77
  };
176
78
  /**
177
79
  * @description Enumeration of possible feature types
178
80
  * @enum {string}
179
81
  */
180
- name:
181
- | "ComponentsInDesign"
182
- | "RelationshipsInDesign"
183
- | "DesignsInWorkspace"
184
- | "WorkspacesInOrganization"
185
- | "ImageSizeInDesign"
186
- | "SizePerDesign";
82
+ name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
187
83
  /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
188
84
  quantity: number;
189
85
  /** Format: date-time */
190
86
  created_at?: string;
191
87
  /** Format: date-time */
192
88
  updated_at?: string;
193
- }[];
194
- };
195
- };
196
- /** Invalid request body or request param */
197
- 400: {
198
- content: {
199
- "text/plain": string;
200
- };
201
- };
202
- /** Expired JWT token used or insufficient privilege */
203
- 401: {
204
- content: {
205
- "text/plain": string;
206
- };
207
- };
208
- /** Internal server error */
209
- 500: {
210
- content: {
211
- "text/plain": string;
212
- };
213
- };
214
- };
215
- };
216
- getFeaturesByOrganization: {
217
- parameters: {
218
- path: {
219
- /** The ID of the organization */
220
- organizationId: string;
221
- };
222
- };
223
- responses: {
224
- /** Features response */
225
- 200: {
226
- content: {
227
- "application/json": {
89
+ }[];
90
+ /**
91
+ * @description Enumeration of possible feature types
92
+ * @enum {string}
93
+ */
94
+ FeatureName: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
95
+ Feature: {
228
96
  /**
229
97
  * Format: uuid
230
98
  * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
@@ -236,73 +104,243 @@ export interface operations {
236
104
  */
237
105
  plan_id: string;
238
106
  plan?: {
239
- /**
240
- * Format: uuid
241
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
242
- */
243
- id: string;
244
- /**
245
- * @description Name of the plan
246
- * @enum {string}
247
- */
248
- name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
249
- /** @enum {string} */
250
- cadence: "monthly" | "yearly";
251
- /** @enum {string} */
252
- unit: "user" | "free";
253
- /** @description Minimum number of units required for the plan */
254
- minimum_units: number;
255
- /** @description Price per unit of the plan */
256
- price_per_unit: number;
257
- /** @enum {string} */
258
- currency: "usd";
107
+ /**
108
+ * Format: uuid
109
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
110
+ */
111
+ id: string;
112
+ /**
113
+ * @description Name of the plan
114
+ * @enum {string}
115
+ */
116
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
117
+ /** @enum {string} */
118
+ cadence: "monthly" | "yearly";
119
+ /** @enum {string} */
120
+ unit: "user" | "free";
121
+ /** @description Minimum number of units required for the plan */
122
+ minimum_units: number;
123
+ /** @description Price per unit of the plan */
124
+ price_per_unit: number;
125
+ /** @enum {string} */
126
+ currency: "usd";
259
127
  };
260
128
  /**
261
129
  * @description Enumeration of possible feature types
262
130
  * @enum {string}
263
131
  */
264
- name:
265
- | "ComponentsInDesign"
266
- | "RelationshipsInDesign"
267
- | "DesignsInWorkspace"
268
- | "WorkspacesInOrganization"
269
- | "ImageSizeInDesign"
270
- | "SizePerDesign";
132
+ name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
271
133
  /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
272
134
  quantity: number;
273
135
  /** Format: date-time */
274
136
  created_at?: string;
275
137
  /** Format: date-time */
276
138
  updated_at?: string;
277
- }[];
278
139
  };
279
- };
280
- /** Invalid request body or request param */
281
- 400: {
282
- content: {
283
- "text/plain": string;
140
+ };
141
+ responses: never;
142
+ parameters: {
143
+ /** @description The ID of the organization */
144
+ organization_id: string;
145
+ };
146
+ requestBodies: never;
147
+ headers: never;
148
+ pathItems: never;
149
+ }
150
+ export type $defs = Record<string, never>;
151
+ export interface operations {
152
+ getFeatures: {
153
+ parameters: {
154
+ query?: never;
155
+ header?: never;
156
+ path?: never;
157
+ cookie?: never;
284
158
  };
285
- };
286
- /** Expired JWT token used or insufficient privilege */
287
- 401: {
288
- content: {
289
- "text/plain": string;
159
+ requestBody?: never;
160
+ responses: {
161
+ /** @description Features response */
162
+ 200: {
163
+ headers: {
164
+ [name: string]: unknown;
165
+ };
166
+ content: {
167
+ "application/json": {
168
+ /**
169
+ * Format: uuid
170
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
171
+ */
172
+ id: string;
173
+ /**
174
+ * Format: uuid
175
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
176
+ */
177
+ plan_id: string;
178
+ plan?: {
179
+ /**
180
+ * Format: uuid
181
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
182
+ */
183
+ id: string;
184
+ /**
185
+ * @description Name of the plan
186
+ * @enum {string}
187
+ */
188
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
189
+ /** @enum {string} */
190
+ cadence: "monthly" | "yearly";
191
+ /** @enum {string} */
192
+ unit: "user" | "free";
193
+ /** @description Minimum number of units required for the plan */
194
+ minimum_units: number;
195
+ /** @description Price per unit of the plan */
196
+ price_per_unit: number;
197
+ /** @enum {string} */
198
+ currency: "usd";
199
+ };
200
+ /**
201
+ * @description Enumeration of possible feature types
202
+ * @enum {string}
203
+ */
204
+ name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
205
+ /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
206
+ quantity: number;
207
+ /** Format: date-time */
208
+ created_at?: string;
209
+ /** Format: date-time */
210
+ updated_at?: string;
211
+ }[];
212
+ };
213
+ };
214
+ /** @description Invalid request body or request param */
215
+ 400: {
216
+ headers: {
217
+ [name: string]: unknown;
218
+ };
219
+ content: {
220
+ "text/plain": string;
221
+ };
222
+ };
223
+ /** @description Expired JWT token used or insufficient privilege */
224
+ 401: {
225
+ headers: {
226
+ [name: string]: unknown;
227
+ };
228
+ content: {
229
+ "text/plain": string;
230
+ };
231
+ };
232
+ /** @description Internal server error */
233
+ 500: {
234
+ headers: {
235
+ [name: string]: unknown;
236
+ };
237
+ content: {
238
+ "text/plain": string;
239
+ };
240
+ };
290
241
  };
291
- };
292
- /** Result not found */
293
- 404: {
294
- content: {
295
- "text/plain": string;
242
+ };
243
+ getFeaturesByOrganization: {
244
+ parameters: {
245
+ query?: never;
246
+ header?: never;
247
+ path: {
248
+ /** @description The ID of the organization */
249
+ organizationId: string;
250
+ };
251
+ cookie?: never;
296
252
  };
297
- };
298
- /** Internal server error */
299
- 500: {
300
- content: {
301
- "text/plain": string;
253
+ requestBody?: never;
254
+ responses: {
255
+ /** @description Features response */
256
+ 200: {
257
+ headers: {
258
+ [name: string]: unknown;
259
+ };
260
+ content: {
261
+ "application/json": {
262
+ /**
263
+ * Format: uuid
264
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
265
+ */
266
+ id: string;
267
+ /**
268
+ * Format: uuid
269
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
270
+ */
271
+ plan_id: string;
272
+ plan?: {
273
+ /**
274
+ * Format: uuid
275
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
276
+ */
277
+ id: string;
278
+ /**
279
+ * @description Name of the plan
280
+ * @enum {string}
281
+ */
282
+ name: "Free" | "Team Designer" | "Team Operator" | "Enterprise";
283
+ /** @enum {string} */
284
+ cadence: "monthly" | "yearly";
285
+ /** @enum {string} */
286
+ unit: "user" | "free";
287
+ /** @description Minimum number of units required for the plan */
288
+ minimum_units: number;
289
+ /** @description Price per unit of the plan */
290
+ price_per_unit: number;
291
+ /** @enum {string} */
292
+ currency: "usd";
293
+ };
294
+ /**
295
+ * @description Enumeration of possible feature types
296
+ * @enum {string}
297
+ */
298
+ name: "ComponentsInDesign" | "RelationshipsInDesign" | "DesignsInWorkspace" | "WorkspacesInOrganization" | "ImageSizeInDesign" | "SizePerDesign";
299
+ /** @description Quantity of the feature allowed, use 9999999999 for unlimited */
300
+ quantity: number;
301
+ /** Format: date-time */
302
+ created_at?: string;
303
+ /** Format: date-time */
304
+ updated_at?: string;
305
+ }[];
306
+ };
307
+ };
308
+ /** @description Invalid request body or request param */
309
+ 400: {
310
+ headers: {
311
+ [name: string]: unknown;
312
+ };
313
+ content: {
314
+ "text/plain": string;
315
+ };
316
+ };
317
+ /** @description Expired JWT token used or insufficient privilege */
318
+ 401: {
319
+ headers: {
320
+ [name: string]: unknown;
321
+ };
322
+ content: {
323
+ "text/plain": string;
324
+ };
325
+ };
326
+ /** @description Result not found */
327
+ 404: {
328
+ headers: {
329
+ [name: string]: unknown;
330
+ };
331
+ content: {
332
+ "text/plain": string;
333
+ };
334
+ };
335
+ /** @description Internal server error */
336
+ 500: {
337
+ headers: {
338
+ [name: string]: unknown;
339
+ };
340
+ content: {
341
+ "text/plain": string;
342
+ };
343
+ };
302
344
  };
303
- };
304
345
  };
305
- };
306
346
  }
307
-
308
- export interface external {}