@meshery/schemas 0.8.128 → 0.8.129

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 (137) hide show
  1. package/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
  2. package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
  3. package/dist/cloudApi.d.mts +13676 -3825
  4. package/dist/cloudApi.d.ts +13676 -3825
  5. package/dist/cloudApi.js +1 -1
  6. package/dist/cloudApi.mjs +1 -1
  7. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -159
  8. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -159
  9. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  10. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  11. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1652
  12. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1652
  13. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  14. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  15. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -84
  16. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -84
  17. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
  18. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
  19. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6983
  20. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6983
  21. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
  22. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
  23. package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
  24. package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
  25. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11842
  26. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11842
  27. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  28. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -522
  30. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -522
  31. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -64
  32. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -64
  33. package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
  34. package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
  35. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1781
  36. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1781
  37. package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
  38. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
  39. package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
  40. package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
  41. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
  42. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
  43. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  44. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  45. package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
  46. package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
  47. package/dist/constructs/v1beta1/credential/Credential.js +1 -0
  48. package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
  49. package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
  50. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
  51. package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
  52. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
  53. package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
  54. package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
  55. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
  56. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
  57. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  58. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  59. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
  60. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
  61. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16516
  62. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16516
  63. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
  64. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
  65. package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -364
  66. package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -364
  67. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -776
  68. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -776
  69. package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -1
  70. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -1
  71. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1655
  72. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1655
  73. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1229
  74. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1229
  75. package/dist/constructs/v1beta1/key/KeySchema.js +1 -1
  76. package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -1
  77. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1553
  78. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1553
  79. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -1
  80. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -1
  81. package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
  82. package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
  83. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1311
  84. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1311
  85. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  86. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  87. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1498
  88. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1498
  89. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
  90. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
  91. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16713
  92. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16713
  93. package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
  94. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
  95. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -326
  96. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -326
  97. package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
  98. package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
  99. package/dist/constructs/v1beta1/role/Role.js +1 -0
  100. package/dist/constructs/v1beta1/role/Role.mjs +0 -0
  101. package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
  102. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
  103. package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
  104. package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
  105. package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
  106. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
  107. package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
  108. package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
  109. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
  110. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
  111. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
  112. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
  113. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -37
  114. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -37
  115. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1645
  116. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1645
  117. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
  118. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
  119. package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
  120. package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
  121. package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2022
  122. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2022
  123. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  124. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  125. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1116
  126. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1116
  127. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -964
  128. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -964
  129. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
  130. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
  131. package/dist/index.d.mts +1 -1
  132. package/dist/index.d.ts +1 -1
  133. package/dist/index.js +283 -43
  134. package/dist/index.mjs +283 -43
  135. package/dist/mesheryApi.d.mts +268 -244
  136. package/dist/mesheryApi.d.ts +268 -244
  137. package/package.json +1 -1
@@ -2,781 +2,6 @@
2
2
  * This file was automatically generated from OpenAPI schema.
3
3
  * Do not manually modify this file.
4
4
  */
5
- declare const FeatureSchema: {
6
- readonly openapi: "3.0.0";
7
- readonly info: {
8
- readonly title: "Feature";
9
- readonly description: "OpenAPI schema for the Features construct with entitlement-related properties.";
10
- readonly version: "v1beta1";
11
- readonly contact: {
12
- readonly name: "Meshery Maintainers";
13
- readonly email: "maintainers@meshery.io";
14
- readonly url: "https://meshery.io";
15
- };
16
- readonly license: {
17
- readonly name: "Apache 2.0";
18
- readonly url: "https://www.apache.org/licenses/LICENSE-2.0.html";
19
- };
20
- };
21
- readonly tags: readonly [{
22
- readonly name: "Features";
23
- readonly description: "Operations related to features and entitlements";
24
- }];
25
- readonly paths: {
26
- readonly "/api/entitlement/features": {
27
- readonly get: {
28
- readonly "x-internal": readonly ["cloud"];
29
- readonly operationId: "getFeatures";
30
- readonly tags: readonly ["Features"];
31
- readonly summary: "Get all features associated with plans";
32
- readonly responses: {
33
- readonly "200": {
34
- readonly description: "Features fetched successfully";
35
- readonly content: {
36
- readonly "application/json": {
37
- readonly schema: {
38
- readonly type: "array";
39
- readonly items: {
40
- readonly "x-go-type": "Feature";
41
- readonly type: "object";
42
- readonly required: readonly ["id", "plan_id", "quantity", "feature"];
43
- readonly properties: {
44
- readonly id: {
45
- readonly "x-oapi-codegen-extra-tags": {
46
- readonly db: "id";
47
- };
48
- readonly type: "string";
49
- readonly format: "uuid";
50
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
51
- readonly "x-go-type": "uuid.UUID";
52
- readonly "x-go-type-import": {
53
- readonly path: "github.com/gofrs/uuid";
54
- };
55
- };
56
- readonly plan_id: {
57
- readonly "x-oapi-codegen-extra-tags": {
58
- readonly db: "plan_id";
59
- };
60
- readonly type: "string";
61
- readonly format: "uuid";
62
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
63
- readonly "x-go-type": "uuid.UUID";
64
- readonly "x-go-type-import": {
65
- readonly path: "github.com/gofrs/uuid";
66
- };
67
- };
68
- readonly plan: {
69
- readonly "x-go-type": "plan.Plan";
70
- readonly "x-go-type-import": {
71
- readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
72
- };
73
- readonly "x-oapi-codegen-extra-tags": {
74
- readonly belongs_to: "plans";
75
- readonly fk_id: "PlanId";
76
- readonly yaml: "plan,omitempty";
77
- readonly json: "plan,omitempty";
78
- };
79
- readonly type: "object";
80
- readonly properties: {
81
- readonly id: {
82
- readonly "x-oapi-codegen-extra-tags": {
83
- readonly db: "id";
84
- readonly json: "id";
85
- readonly csv: "id";
86
- };
87
- readonly type: "string";
88
- readonly format: "uuid";
89
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
90
- readonly "x-go-type": "uuid.UUID";
91
- readonly "x-go-type-import": {
92
- readonly path: "github.com/gofrs/uuid";
93
- };
94
- };
95
- readonly name: {
96
- readonly type: "string";
97
- readonly "x-go-type": "PlanName";
98
- readonly "x-oapi-codegen-extra-tags": {
99
- readonly db: "name";
100
- readonly json: "name";
101
- readonly csv: "name";
102
- };
103
- readonly description: "Name of the plan";
104
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
105
- };
106
- readonly cadence: {
107
- readonly "x-go-type": "PlanCadence";
108
- readonly "x-oapi-codegen-extra-tags": {
109
- readonly db: "cadence";
110
- readonly json: "cadence";
111
- readonly csv: "cadence";
112
- };
113
- readonly type: "string";
114
- readonly enum: readonly ["monthly", "yearly"];
115
- };
116
- readonly unit: {
117
- readonly "x-go-type": "PlanUnit";
118
- readonly "x-oapi-codegen-extra-tags": {
119
- readonly db: "unit";
120
- readonly json: "unit";
121
- readonly csv: "unit";
122
- };
123
- readonly type: "string";
124
- readonly enum: readonly ["user", "free"];
125
- };
126
- readonly minimum_units: {
127
- readonly type: "integer";
128
- readonly description: "Minimum number of units required for the plan";
129
- readonly "x-oapi-codegen-extra-tags": {
130
- readonly db: "minimum_units";
131
- readonly json: "minimum_units";
132
- readonly csv: "minimum_units";
133
- };
134
- };
135
- readonly price_per_unit: {
136
- readonly type: "number";
137
- readonly description: "Price per unit of the plan";
138
- readonly "x-oapi-codegen-extra-tags": {
139
- readonly db: "price_per_unit";
140
- readonly json: "price_per_unit";
141
- readonly csv: "price_per_unit";
142
- };
143
- };
144
- readonly currency: {
145
- readonly "x-go-type": "Currency";
146
- readonly "x-oapi-codegen-extra-tags": {
147
- readonly db: "currency";
148
- readonly json: "currency";
149
- readonly csv: "currency";
150
- };
151
- readonly type: "string";
152
- readonly enum: readonly ["usd"];
153
- };
154
- };
155
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
156
- };
157
- readonly name: {
158
- readonly "x-go-type": "FeatureName";
159
- readonly "x-oapi-codegen-extra-tags": {
160
- readonly db: "name";
161
- };
162
- readonly type: "string";
163
- readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
164
- readonly description: "Enumeration of possible feature types";
165
- };
166
- readonly quantity: {
167
- readonly type: "number";
168
- readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
169
- readonly "x-oapi-codegen-extra-tags": {
170
- readonly db: "quantity";
171
- };
172
- };
173
- readonly created_at: {
174
- readonly "x-oapi-codegen-extra-tags": {
175
- readonly db: "created_at";
176
- };
177
- readonly type: "string";
178
- readonly format: "date-time";
179
- readonly "x-go-type-skip-optional-pointer": true;
180
- };
181
- readonly updated_at: {
182
- readonly "x-oapi-codegen-extra-tags": {
183
- readonly db: "updated_at";
184
- };
185
- readonly type: "string";
186
- readonly format: "date-time";
187
- readonly "x-go-type-skip-optional-pointer": true;
188
- };
189
- };
190
- readonly additionalProperties: false;
191
- };
192
- };
193
- };
194
- };
195
- };
196
- readonly "400": {
197
- readonly description: "Invalid request body or request param";
198
- readonly content: {
199
- readonly "text/plain": {
200
- readonly schema: {
201
- readonly type: "string";
202
- };
203
- };
204
- };
205
- };
206
- readonly "401": {
207
- readonly description: "Expired JWT token used or insufficient privilege";
208
- readonly content: {
209
- readonly "text/plain": {
210
- readonly schema: {
211
- readonly type: "string";
212
- };
213
- };
214
- };
215
- };
216
- readonly "500": {
217
- readonly description: "Internal server error";
218
- readonly content: {
219
- readonly "text/plain": {
220
- readonly schema: {
221
- readonly type: "string";
222
- };
223
- };
224
- };
225
- };
226
- };
227
- };
228
- };
229
- readonly "/api/entitlement/subscriptions/organizations/{organizationId}/features": {
230
- readonly get: {
231
- readonly "x-internal": readonly ["cloud"];
232
- readonly operationId: "getFeaturesByOrganization";
233
- readonly tags: readonly ["Features"];
234
- readonly summary: "Get all features associated with plans";
235
- readonly parameters: readonly [{
236
- readonly name: "organizationId";
237
- readonly in: "path";
238
- readonly description: "The ID of the organization";
239
- readonly required: true;
240
- readonly schema: {
241
- readonly type: "string";
242
- readonly format: "uuid";
243
- readonly "x-go-type": "uuid.UUID";
244
- readonly "x-go-type-import": {
245
- readonly path: "github.com/gofrs/uuid";
246
- };
247
- };
248
- }];
249
- readonly responses: {
250
- readonly "200": {
251
- readonly description: "Features fetched successfully";
252
- readonly content: {
253
- readonly "application/json": {
254
- readonly schema: {
255
- readonly type: "array";
256
- readonly items: {
257
- readonly "x-go-type": "Feature";
258
- readonly type: "object";
259
- readonly required: readonly ["id", "plan_id", "quantity", "feature"];
260
- readonly properties: {
261
- readonly id: {
262
- readonly "x-oapi-codegen-extra-tags": {
263
- readonly db: "id";
264
- };
265
- readonly type: "string";
266
- readonly format: "uuid";
267
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
268
- readonly "x-go-type": "uuid.UUID";
269
- readonly "x-go-type-import": {
270
- readonly path: "github.com/gofrs/uuid";
271
- };
272
- };
273
- readonly plan_id: {
274
- readonly "x-oapi-codegen-extra-tags": {
275
- readonly db: "plan_id";
276
- };
277
- readonly type: "string";
278
- readonly format: "uuid";
279
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
280
- readonly "x-go-type": "uuid.UUID";
281
- readonly "x-go-type-import": {
282
- readonly path: "github.com/gofrs/uuid";
283
- };
284
- };
285
- readonly plan: {
286
- readonly "x-go-type": "plan.Plan";
287
- readonly "x-go-type-import": {
288
- readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
289
- };
290
- readonly "x-oapi-codegen-extra-tags": {
291
- readonly belongs_to: "plans";
292
- readonly fk_id: "PlanId";
293
- readonly yaml: "plan,omitempty";
294
- readonly json: "plan,omitempty";
295
- };
296
- readonly type: "object";
297
- readonly properties: {
298
- readonly id: {
299
- readonly "x-oapi-codegen-extra-tags": {
300
- readonly db: "id";
301
- readonly json: "id";
302
- readonly csv: "id";
303
- };
304
- readonly type: "string";
305
- readonly format: "uuid";
306
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
307
- readonly "x-go-type": "uuid.UUID";
308
- readonly "x-go-type-import": {
309
- readonly path: "github.com/gofrs/uuid";
310
- };
311
- };
312
- readonly name: {
313
- readonly type: "string";
314
- readonly "x-go-type": "PlanName";
315
- readonly "x-oapi-codegen-extra-tags": {
316
- readonly db: "name";
317
- readonly json: "name";
318
- readonly csv: "name";
319
- };
320
- readonly description: "Name of the plan";
321
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
322
- };
323
- readonly cadence: {
324
- readonly "x-go-type": "PlanCadence";
325
- readonly "x-oapi-codegen-extra-tags": {
326
- readonly db: "cadence";
327
- readonly json: "cadence";
328
- readonly csv: "cadence";
329
- };
330
- readonly type: "string";
331
- readonly enum: readonly ["monthly", "yearly"];
332
- };
333
- readonly unit: {
334
- readonly "x-go-type": "PlanUnit";
335
- readonly "x-oapi-codegen-extra-tags": {
336
- readonly db: "unit";
337
- readonly json: "unit";
338
- readonly csv: "unit";
339
- };
340
- readonly type: "string";
341
- readonly enum: readonly ["user", "free"];
342
- };
343
- readonly minimum_units: {
344
- readonly type: "integer";
345
- readonly description: "Minimum number of units required for the plan";
346
- readonly "x-oapi-codegen-extra-tags": {
347
- readonly db: "minimum_units";
348
- readonly json: "minimum_units";
349
- readonly csv: "minimum_units";
350
- };
351
- };
352
- readonly price_per_unit: {
353
- readonly type: "number";
354
- readonly description: "Price per unit of the plan";
355
- readonly "x-oapi-codegen-extra-tags": {
356
- readonly db: "price_per_unit";
357
- readonly json: "price_per_unit";
358
- readonly csv: "price_per_unit";
359
- };
360
- };
361
- readonly currency: {
362
- readonly "x-go-type": "Currency";
363
- readonly "x-oapi-codegen-extra-tags": {
364
- readonly db: "currency";
365
- readonly json: "currency";
366
- readonly csv: "currency";
367
- };
368
- readonly type: "string";
369
- readonly enum: readonly ["usd"];
370
- };
371
- };
372
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
373
- };
374
- readonly name: {
375
- readonly "x-go-type": "FeatureName";
376
- readonly "x-oapi-codegen-extra-tags": {
377
- readonly db: "name";
378
- };
379
- readonly type: "string";
380
- readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
381
- readonly description: "Enumeration of possible feature types";
382
- };
383
- readonly quantity: {
384
- readonly type: "number";
385
- readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
386
- readonly "x-oapi-codegen-extra-tags": {
387
- readonly db: "quantity";
388
- };
389
- };
390
- readonly created_at: {
391
- readonly "x-oapi-codegen-extra-tags": {
392
- readonly db: "created_at";
393
- };
394
- readonly type: "string";
395
- readonly format: "date-time";
396
- readonly "x-go-type-skip-optional-pointer": true;
397
- };
398
- readonly updated_at: {
399
- readonly "x-oapi-codegen-extra-tags": {
400
- readonly db: "updated_at";
401
- };
402
- readonly type: "string";
403
- readonly format: "date-time";
404
- readonly "x-go-type-skip-optional-pointer": true;
405
- };
406
- };
407
- readonly additionalProperties: false;
408
- };
409
- };
410
- };
411
- };
412
- };
413
- readonly "400": {
414
- readonly description: "Invalid request body or request param";
415
- readonly content: {
416
- readonly "text/plain": {
417
- readonly schema: {
418
- readonly type: "string";
419
- };
420
- };
421
- };
422
- };
423
- readonly "401": {
424
- readonly description: "Expired JWT token used or insufficient privilege";
425
- readonly content: {
426
- readonly "text/plain": {
427
- readonly schema: {
428
- readonly type: "string";
429
- };
430
- };
431
- };
432
- };
433
- readonly "500": {
434
- readonly description: "Internal server error";
435
- readonly content: {
436
- readonly "text/plain": {
437
- readonly schema: {
438
- readonly type: "string";
439
- };
440
- };
441
- };
442
- };
443
- };
444
- };
445
- };
446
- };
447
- readonly components: {
448
- readonly parameters: {
449
- readonly organization_id: {
450
- readonly name: "organizationId";
451
- readonly in: "path";
452
- readonly description: "The ID of the organization";
453
- readonly required: true;
454
- readonly schema: {
455
- readonly type: "string";
456
- readonly format: "uuid";
457
- readonly "x-go-type": "uuid.UUID";
458
- readonly "x-go-type-import": {
459
- readonly path: "github.com/gofrs/uuid";
460
- };
461
- };
462
- };
463
- };
464
- readonly schemas: {
465
- readonly FeaturesPage: {
466
- readonly type: "array";
467
- readonly items: {
468
- readonly "x-go-type": "Feature";
469
- readonly type: "object";
470
- readonly required: readonly ["id", "plan_id", "quantity", "feature"];
471
- readonly properties: {
472
- readonly id: {
473
- readonly "x-oapi-codegen-extra-tags": {
474
- readonly db: "id";
475
- };
476
- readonly type: "string";
477
- readonly format: "uuid";
478
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
479
- readonly "x-go-type": "uuid.UUID";
480
- readonly "x-go-type-import": {
481
- readonly path: "github.com/gofrs/uuid";
482
- };
483
- };
484
- readonly plan_id: {
485
- readonly "x-oapi-codegen-extra-tags": {
486
- readonly db: "plan_id";
487
- };
488
- readonly type: "string";
489
- readonly format: "uuid";
490
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
491
- readonly "x-go-type": "uuid.UUID";
492
- readonly "x-go-type-import": {
493
- readonly path: "github.com/gofrs/uuid";
494
- };
495
- };
496
- readonly plan: {
497
- readonly "x-go-type": "plan.Plan";
498
- readonly "x-go-type-import": {
499
- readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
500
- };
501
- readonly "x-oapi-codegen-extra-tags": {
502
- readonly belongs_to: "plans";
503
- readonly fk_id: "PlanId";
504
- readonly yaml: "plan,omitempty";
505
- readonly json: "plan,omitempty";
506
- };
507
- readonly type: "object";
508
- readonly properties: {
509
- readonly id: {
510
- readonly "x-oapi-codegen-extra-tags": {
511
- readonly db: "id";
512
- readonly json: "id";
513
- readonly csv: "id";
514
- };
515
- readonly type: "string";
516
- readonly format: "uuid";
517
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
518
- readonly "x-go-type": "uuid.UUID";
519
- readonly "x-go-type-import": {
520
- readonly path: "github.com/gofrs/uuid";
521
- };
522
- };
523
- readonly name: {
524
- readonly type: "string";
525
- readonly "x-go-type": "PlanName";
526
- readonly "x-oapi-codegen-extra-tags": {
527
- readonly db: "name";
528
- readonly json: "name";
529
- readonly csv: "name";
530
- };
531
- readonly description: "Name of the plan";
532
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
533
- };
534
- readonly cadence: {
535
- readonly "x-go-type": "PlanCadence";
536
- readonly "x-oapi-codegen-extra-tags": {
537
- readonly db: "cadence";
538
- readonly json: "cadence";
539
- readonly csv: "cadence";
540
- };
541
- readonly type: "string";
542
- readonly enum: readonly ["monthly", "yearly"];
543
- };
544
- readonly unit: {
545
- readonly "x-go-type": "PlanUnit";
546
- readonly "x-oapi-codegen-extra-tags": {
547
- readonly db: "unit";
548
- readonly json: "unit";
549
- readonly csv: "unit";
550
- };
551
- readonly type: "string";
552
- readonly enum: readonly ["user", "free"];
553
- };
554
- readonly minimum_units: {
555
- readonly type: "integer";
556
- readonly description: "Minimum number of units required for the plan";
557
- readonly "x-oapi-codegen-extra-tags": {
558
- readonly db: "minimum_units";
559
- readonly json: "minimum_units";
560
- readonly csv: "minimum_units";
561
- };
562
- };
563
- readonly price_per_unit: {
564
- readonly type: "number";
565
- readonly description: "Price per unit of the plan";
566
- readonly "x-oapi-codegen-extra-tags": {
567
- readonly db: "price_per_unit";
568
- readonly json: "price_per_unit";
569
- readonly csv: "price_per_unit";
570
- };
571
- };
572
- readonly currency: {
573
- readonly "x-go-type": "Currency";
574
- readonly "x-oapi-codegen-extra-tags": {
575
- readonly db: "currency";
576
- readonly json: "currency";
577
- readonly csv: "currency";
578
- };
579
- readonly type: "string";
580
- readonly enum: readonly ["usd"];
581
- };
582
- };
583
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
584
- };
585
- readonly name: {
586
- readonly "x-go-type": "FeatureName";
587
- readonly "x-oapi-codegen-extra-tags": {
588
- readonly db: "name";
589
- };
590
- readonly type: "string";
591
- readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
592
- readonly description: "Enumeration of possible feature types";
593
- };
594
- readonly quantity: {
595
- readonly type: "number";
596
- readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
597
- readonly "x-oapi-codegen-extra-tags": {
598
- readonly db: "quantity";
599
- };
600
- };
601
- readonly created_at: {
602
- readonly "x-oapi-codegen-extra-tags": {
603
- readonly db: "created_at";
604
- };
605
- readonly type: "string";
606
- readonly format: "date-time";
607
- readonly "x-go-type-skip-optional-pointer": true;
608
- };
609
- readonly updated_at: {
610
- readonly "x-oapi-codegen-extra-tags": {
611
- readonly db: "updated_at";
612
- };
613
- readonly type: "string";
614
- readonly format: "date-time";
615
- readonly "x-go-type-skip-optional-pointer": true;
616
- };
617
- };
618
- readonly additionalProperties: false;
619
- };
620
- };
621
- readonly FeatureName: {
622
- readonly type: "string";
623
- readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
624
- readonly description: "Enumeration of possible feature types";
625
- };
626
- readonly Feature: {
627
- readonly type: "object";
628
- readonly required: readonly ["id", "plan_id", "quantity", "feature"];
629
- readonly properties: {
630
- readonly id: {
631
- readonly "x-oapi-codegen-extra-tags": {
632
- readonly db: "id";
633
- };
634
- readonly type: "string";
635
- readonly format: "uuid";
636
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
637
- readonly "x-go-type": "uuid.UUID";
638
- readonly "x-go-type-import": {
639
- readonly path: "github.com/gofrs/uuid";
640
- };
641
- };
642
- readonly plan_id: {
643
- readonly "x-oapi-codegen-extra-tags": {
644
- readonly db: "plan_id";
645
- };
646
- readonly type: "string";
647
- readonly format: "uuid";
648
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
649
- readonly "x-go-type": "uuid.UUID";
650
- readonly "x-go-type-import": {
651
- readonly path: "github.com/gofrs/uuid";
652
- };
653
- };
654
- readonly plan: {
655
- readonly "x-go-type": "plan.Plan";
656
- readonly "x-go-type-import": {
657
- readonly path: "github.com/meshery/schemas/models/v1beta1/plan";
658
- };
659
- readonly "x-oapi-codegen-extra-tags": {
660
- readonly belongs_to: "plans";
661
- readonly fk_id: "PlanId";
662
- readonly yaml: "plan,omitempty";
663
- readonly json: "plan,omitempty";
664
- };
665
- readonly type: "object";
666
- readonly properties: {
667
- readonly id: {
668
- readonly "x-oapi-codegen-extra-tags": {
669
- readonly db: "id";
670
- readonly json: "id";
671
- readonly csv: "id";
672
- };
673
- readonly type: "string";
674
- readonly format: "uuid";
675
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
676
- readonly "x-go-type": "uuid.UUID";
677
- readonly "x-go-type-import": {
678
- readonly path: "github.com/gofrs/uuid";
679
- };
680
- };
681
- readonly name: {
682
- readonly type: "string";
683
- readonly "x-go-type": "PlanName";
684
- readonly "x-oapi-codegen-extra-tags": {
685
- readonly db: "name";
686
- readonly json: "name";
687
- readonly csv: "name";
688
- };
689
- readonly description: "Name of the plan";
690
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
691
- };
692
- readonly cadence: {
693
- readonly "x-go-type": "PlanCadence";
694
- readonly "x-oapi-codegen-extra-tags": {
695
- readonly db: "cadence";
696
- readonly json: "cadence";
697
- readonly csv: "cadence";
698
- };
699
- readonly type: "string";
700
- readonly enum: readonly ["monthly", "yearly"];
701
- };
702
- readonly unit: {
703
- readonly "x-go-type": "PlanUnit";
704
- readonly "x-oapi-codegen-extra-tags": {
705
- readonly db: "unit";
706
- readonly json: "unit";
707
- readonly csv: "unit";
708
- };
709
- readonly type: "string";
710
- readonly enum: readonly ["user", "free"];
711
- };
712
- readonly minimum_units: {
713
- readonly type: "integer";
714
- readonly description: "Minimum number of units required for the plan";
715
- readonly "x-oapi-codegen-extra-tags": {
716
- readonly db: "minimum_units";
717
- readonly json: "minimum_units";
718
- readonly csv: "minimum_units";
719
- };
720
- };
721
- readonly price_per_unit: {
722
- readonly type: "number";
723
- readonly description: "Price per unit of the plan";
724
- readonly "x-oapi-codegen-extra-tags": {
725
- readonly db: "price_per_unit";
726
- readonly json: "price_per_unit";
727
- readonly csv: "price_per_unit";
728
- };
729
- };
730
- readonly currency: {
731
- readonly "x-go-type": "Currency";
732
- readonly "x-oapi-codegen-extra-tags": {
733
- readonly db: "currency";
734
- readonly json: "currency";
735
- readonly csv: "currency";
736
- };
737
- readonly type: "string";
738
- readonly enum: readonly ["usd"];
739
- };
740
- };
741
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
742
- };
743
- readonly name: {
744
- readonly "x-go-type": "FeatureName";
745
- readonly "x-oapi-codegen-extra-tags": {
746
- readonly db: "name";
747
- };
748
- readonly type: "string";
749
- readonly enum: readonly ["ComponentsInDesign", "RelationshipsInDesign", "DesignsInWorkspace", "WorkspacesInOrganization", "ImageSizeInDesign", "SizePerDesign"];
750
- readonly description: "Enumeration of possible feature types";
751
- };
752
- readonly quantity: {
753
- readonly type: "number";
754
- readonly description: "Quantity of the feature allowed, use 9999999999 for unlimited";
755
- readonly "x-oapi-codegen-extra-tags": {
756
- readonly db: "quantity";
757
- };
758
- };
759
- readonly created_at: {
760
- readonly "x-oapi-codegen-extra-tags": {
761
- readonly db: "created_at";
762
- };
763
- readonly type: "string";
764
- readonly format: "date-time";
765
- readonly "x-go-type-skip-optional-pointer": true;
766
- };
767
- readonly updated_at: {
768
- readonly "x-oapi-codegen-extra-tags": {
769
- readonly db: "updated_at";
770
- };
771
- readonly type: "string";
772
- readonly format: "date-time";
773
- readonly "x-go-type-skip-optional-pointer": true;
774
- };
775
- };
776
- readonly additionalProperties: false;
777
- };
778
- };
779
- };
780
- };
5
+ declare const FeatureSchema: Record<string, unknown>;
781
6
 
782
7
  export { FeatureSchema as default };