@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,331 +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 PlanSchema: {
6
- readonly openapi: "3.0.0";
7
- readonly info: {
8
- readonly title: "Plan";
9
- readonly description: "OpenAPI schema for subscription plan management in Meshery Cloud.";
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: "Plans";
23
- readonly description: "Operations related to plans";
24
- }];
25
- readonly paths: {
26
- readonly "/api/entitlement/plans": {
27
- readonly get: {
28
- readonly "x-internal": readonly ["cloud"];
29
- readonly operationId: "getPlans";
30
- readonly tags: readonly ["Plans"];
31
- readonly summary: "Get all plans supported by the system";
32
- readonly responses: {
33
- readonly "200": {
34
- readonly description: "Plans fetched successfully";
35
- readonly content: {
36
- readonly "application/json": {
37
- readonly schema: {
38
- readonly type: "array";
39
- readonly items: {
40
- readonly type: "object";
41
- readonly properties: {
42
- readonly id: {
43
- readonly "x-oapi-codegen-extra-tags": {
44
- readonly db: "id";
45
- readonly json: "id";
46
- readonly csv: "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 name: {
57
- readonly type: "string";
58
- readonly "x-go-type": "PlanName";
59
- readonly "x-oapi-codegen-extra-tags": {
60
- readonly db: "name";
61
- readonly json: "name";
62
- readonly csv: "name";
63
- };
64
- readonly description: "Name of the plan";
65
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
66
- };
67
- readonly cadence: {
68
- readonly "x-go-type": "PlanCadence";
69
- readonly "x-oapi-codegen-extra-tags": {
70
- readonly db: "cadence";
71
- readonly json: "cadence";
72
- readonly csv: "cadence";
73
- };
74
- readonly type: "string";
75
- readonly enum: readonly ["monthly", "yearly"];
76
- };
77
- readonly unit: {
78
- readonly "x-go-type": "PlanUnit";
79
- readonly "x-oapi-codegen-extra-tags": {
80
- readonly db: "unit";
81
- readonly json: "unit";
82
- readonly csv: "unit";
83
- };
84
- readonly type: "string";
85
- readonly enum: readonly ["user", "free"];
86
- };
87
- readonly minimum_units: {
88
- readonly type: "integer";
89
- readonly description: "Minimum number of units required for the plan";
90
- readonly "x-oapi-codegen-extra-tags": {
91
- readonly db: "minimum_units";
92
- readonly json: "minimum_units";
93
- readonly csv: "minimum_units";
94
- };
95
- };
96
- readonly price_per_unit: {
97
- readonly type: "number";
98
- readonly description: "Price per unit of the plan";
99
- readonly "x-oapi-codegen-extra-tags": {
100
- readonly db: "price_per_unit";
101
- readonly json: "price_per_unit";
102
- readonly csv: "price_per_unit";
103
- };
104
- };
105
- readonly currency: {
106
- readonly "x-go-type": "Currency";
107
- readonly "x-oapi-codegen-extra-tags": {
108
- readonly db: "currency";
109
- readonly json: "currency";
110
- readonly csv: "currency";
111
- };
112
- readonly type: "string";
113
- readonly enum: readonly ["usd"];
114
- };
115
- };
116
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
117
- };
118
- };
119
- };
120
- };
121
- };
122
- readonly "400": {
123
- readonly description: "Invalid request";
124
- };
125
- readonly "500": {
126
- readonly description: "Internal server error";
127
- };
128
- };
129
- };
130
- };
131
- };
132
- readonly components: {
133
- readonly schemas: {
134
- readonly PlanPage: {
135
- readonly type: "object";
136
- readonly required: readonly ["page", "page_size", "total_count", "plans"];
137
- readonly properties: {
138
- readonly page: {
139
- readonly type: "integer";
140
- };
141
- readonly page_size: {
142
- readonly type: "integer";
143
- };
144
- readonly total_count: {
145
- readonly type: "integer";
146
- };
147
- readonly plans: {
148
- readonly type: "array";
149
- readonly items: {
150
- readonly type: "object";
151
- readonly properties: {
152
- readonly id: {
153
- readonly "x-oapi-codegen-extra-tags": {
154
- readonly db: "id";
155
- readonly json: "id";
156
- readonly csv: "id";
157
- };
158
- readonly type: "string";
159
- readonly format: "uuid";
160
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
161
- readonly "x-go-type": "uuid.UUID";
162
- readonly "x-go-type-import": {
163
- readonly path: "github.com/gofrs/uuid";
164
- };
165
- };
166
- readonly name: {
167
- readonly type: "string";
168
- readonly "x-go-type": "PlanName";
169
- readonly "x-oapi-codegen-extra-tags": {
170
- readonly db: "name";
171
- readonly json: "name";
172
- readonly csv: "name";
173
- };
174
- readonly description: "Name of the plan";
175
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
176
- };
177
- readonly cadence: {
178
- readonly "x-go-type": "PlanCadence";
179
- readonly "x-oapi-codegen-extra-tags": {
180
- readonly db: "cadence";
181
- readonly json: "cadence";
182
- readonly csv: "cadence";
183
- };
184
- readonly type: "string";
185
- readonly enum: readonly ["monthly", "yearly"];
186
- };
187
- readonly unit: {
188
- readonly "x-go-type": "PlanUnit";
189
- readonly "x-oapi-codegen-extra-tags": {
190
- readonly db: "unit";
191
- readonly json: "unit";
192
- readonly csv: "unit";
193
- };
194
- readonly type: "string";
195
- readonly enum: readonly ["user", "free"];
196
- };
197
- readonly minimum_units: {
198
- readonly type: "integer";
199
- readonly description: "Minimum number of units required for the plan";
200
- readonly "x-oapi-codegen-extra-tags": {
201
- readonly db: "minimum_units";
202
- readonly json: "minimum_units";
203
- readonly csv: "minimum_units";
204
- };
205
- };
206
- readonly price_per_unit: {
207
- readonly type: "number";
208
- readonly description: "Price per unit of the plan";
209
- readonly "x-oapi-codegen-extra-tags": {
210
- readonly db: "price_per_unit";
211
- readonly json: "price_per_unit";
212
- readonly csv: "price_per_unit";
213
- };
214
- };
215
- readonly currency: {
216
- readonly "x-go-type": "Currency";
217
- readonly "x-oapi-codegen-extra-tags": {
218
- readonly db: "currency";
219
- readonly json: "currency";
220
- readonly csv: "currency";
221
- };
222
- readonly type: "string";
223
- readonly enum: readonly ["usd"];
224
- };
225
- };
226
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
227
- readonly "x-go-type": "Plan";
228
- };
229
- };
230
- };
231
- };
232
- readonly Plan: {
233
- readonly type: "object";
234
- readonly properties: {
235
- readonly id: {
236
- readonly "x-oapi-codegen-extra-tags": {
237
- readonly db: "id";
238
- readonly json: "id";
239
- readonly csv: "id";
240
- };
241
- readonly type: "string";
242
- readonly format: "uuid";
243
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
244
- readonly "x-go-type": "uuid.UUID";
245
- readonly "x-go-type-import": {
246
- readonly path: "github.com/gofrs/uuid";
247
- };
248
- };
249
- readonly name: {
250
- readonly type: "string";
251
- readonly "x-go-type": "PlanName";
252
- readonly "x-oapi-codegen-extra-tags": {
253
- readonly db: "name";
254
- readonly json: "name";
255
- readonly csv: "name";
256
- };
257
- readonly description: "Name of the plan";
258
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
259
- };
260
- readonly cadence: {
261
- readonly "x-go-type": "PlanCadence";
262
- readonly "x-oapi-codegen-extra-tags": {
263
- readonly db: "cadence";
264
- readonly json: "cadence";
265
- readonly csv: "cadence";
266
- };
267
- readonly type: "string";
268
- readonly enum: readonly ["monthly", "yearly"];
269
- };
270
- readonly unit: {
271
- readonly "x-go-type": "PlanUnit";
272
- readonly "x-oapi-codegen-extra-tags": {
273
- readonly db: "unit";
274
- readonly json: "unit";
275
- readonly csv: "unit";
276
- };
277
- readonly type: "string";
278
- readonly enum: readonly ["user", "free"];
279
- };
280
- readonly minimum_units: {
281
- readonly type: "integer";
282
- readonly description: "Minimum number of units required for the plan";
283
- readonly "x-oapi-codegen-extra-tags": {
284
- readonly db: "minimum_units";
285
- readonly json: "minimum_units";
286
- readonly csv: "minimum_units";
287
- };
288
- };
289
- readonly price_per_unit: {
290
- readonly type: "number";
291
- readonly description: "Price per unit of the plan";
292
- readonly "x-oapi-codegen-extra-tags": {
293
- readonly db: "price_per_unit";
294
- readonly json: "price_per_unit";
295
- readonly csv: "price_per_unit";
296
- };
297
- };
298
- readonly currency: {
299
- readonly "x-go-type": "Currency";
300
- readonly "x-oapi-codegen-extra-tags": {
301
- readonly db: "currency";
302
- readonly json: "currency";
303
- readonly csv: "currency";
304
- };
305
- readonly type: "string";
306
- readonly enum: readonly ["usd"];
307
- };
308
- };
309
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
310
- };
311
- readonly PlanName: {
312
- readonly type: "string";
313
- readonly description: "Name of the plan";
314
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
315
- };
316
- readonly PlanCadence: {
317
- readonly type: "string";
318
- readonly enum: readonly ["monthly", "yearly"];
319
- };
320
- readonly PlanUnit: {
321
- readonly type: "string";
322
- readonly enum: readonly ["user", "free"];
323
- };
324
- readonly Currency: {
325
- readonly type: "string";
326
- readonly enum: readonly ["usd"];
327
- };
328
- };
329
- };
330
- };
5
+ declare const PlanSchema: Record<string, unknown>;
331
6
 
332
7
  export { PlanSchema as default };
@@ -2,331 +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 PlanSchema: {
6
- readonly openapi: "3.0.0";
7
- readonly info: {
8
- readonly title: "Plan";
9
- readonly description: "OpenAPI schema for subscription plan management in Meshery Cloud.";
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: "Plans";
23
- readonly description: "Operations related to plans";
24
- }];
25
- readonly paths: {
26
- readonly "/api/entitlement/plans": {
27
- readonly get: {
28
- readonly "x-internal": readonly ["cloud"];
29
- readonly operationId: "getPlans";
30
- readonly tags: readonly ["Plans"];
31
- readonly summary: "Get all plans supported by the system";
32
- readonly responses: {
33
- readonly "200": {
34
- readonly description: "Plans fetched successfully";
35
- readonly content: {
36
- readonly "application/json": {
37
- readonly schema: {
38
- readonly type: "array";
39
- readonly items: {
40
- readonly type: "object";
41
- readonly properties: {
42
- readonly id: {
43
- readonly "x-oapi-codegen-extra-tags": {
44
- readonly db: "id";
45
- readonly json: "id";
46
- readonly csv: "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 name: {
57
- readonly type: "string";
58
- readonly "x-go-type": "PlanName";
59
- readonly "x-oapi-codegen-extra-tags": {
60
- readonly db: "name";
61
- readonly json: "name";
62
- readonly csv: "name";
63
- };
64
- readonly description: "Name of the plan";
65
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
66
- };
67
- readonly cadence: {
68
- readonly "x-go-type": "PlanCadence";
69
- readonly "x-oapi-codegen-extra-tags": {
70
- readonly db: "cadence";
71
- readonly json: "cadence";
72
- readonly csv: "cadence";
73
- };
74
- readonly type: "string";
75
- readonly enum: readonly ["monthly", "yearly"];
76
- };
77
- readonly unit: {
78
- readonly "x-go-type": "PlanUnit";
79
- readonly "x-oapi-codegen-extra-tags": {
80
- readonly db: "unit";
81
- readonly json: "unit";
82
- readonly csv: "unit";
83
- };
84
- readonly type: "string";
85
- readonly enum: readonly ["user", "free"];
86
- };
87
- readonly minimum_units: {
88
- readonly type: "integer";
89
- readonly description: "Minimum number of units required for the plan";
90
- readonly "x-oapi-codegen-extra-tags": {
91
- readonly db: "minimum_units";
92
- readonly json: "minimum_units";
93
- readonly csv: "minimum_units";
94
- };
95
- };
96
- readonly price_per_unit: {
97
- readonly type: "number";
98
- readonly description: "Price per unit of the plan";
99
- readonly "x-oapi-codegen-extra-tags": {
100
- readonly db: "price_per_unit";
101
- readonly json: "price_per_unit";
102
- readonly csv: "price_per_unit";
103
- };
104
- };
105
- readonly currency: {
106
- readonly "x-go-type": "Currency";
107
- readonly "x-oapi-codegen-extra-tags": {
108
- readonly db: "currency";
109
- readonly json: "currency";
110
- readonly csv: "currency";
111
- };
112
- readonly type: "string";
113
- readonly enum: readonly ["usd"];
114
- };
115
- };
116
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
117
- };
118
- };
119
- };
120
- };
121
- };
122
- readonly "400": {
123
- readonly description: "Invalid request";
124
- };
125
- readonly "500": {
126
- readonly description: "Internal server error";
127
- };
128
- };
129
- };
130
- };
131
- };
132
- readonly components: {
133
- readonly schemas: {
134
- readonly PlanPage: {
135
- readonly type: "object";
136
- readonly required: readonly ["page", "page_size", "total_count", "plans"];
137
- readonly properties: {
138
- readonly page: {
139
- readonly type: "integer";
140
- };
141
- readonly page_size: {
142
- readonly type: "integer";
143
- };
144
- readonly total_count: {
145
- readonly type: "integer";
146
- };
147
- readonly plans: {
148
- readonly type: "array";
149
- readonly items: {
150
- readonly type: "object";
151
- readonly properties: {
152
- readonly id: {
153
- readonly "x-oapi-codegen-extra-tags": {
154
- readonly db: "id";
155
- readonly json: "id";
156
- readonly csv: "id";
157
- };
158
- readonly type: "string";
159
- readonly format: "uuid";
160
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
161
- readonly "x-go-type": "uuid.UUID";
162
- readonly "x-go-type-import": {
163
- readonly path: "github.com/gofrs/uuid";
164
- };
165
- };
166
- readonly name: {
167
- readonly type: "string";
168
- readonly "x-go-type": "PlanName";
169
- readonly "x-oapi-codegen-extra-tags": {
170
- readonly db: "name";
171
- readonly json: "name";
172
- readonly csv: "name";
173
- };
174
- readonly description: "Name of the plan";
175
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
176
- };
177
- readonly cadence: {
178
- readonly "x-go-type": "PlanCadence";
179
- readonly "x-oapi-codegen-extra-tags": {
180
- readonly db: "cadence";
181
- readonly json: "cadence";
182
- readonly csv: "cadence";
183
- };
184
- readonly type: "string";
185
- readonly enum: readonly ["monthly", "yearly"];
186
- };
187
- readonly unit: {
188
- readonly "x-go-type": "PlanUnit";
189
- readonly "x-oapi-codegen-extra-tags": {
190
- readonly db: "unit";
191
- readonly json: "unit";
192
- readonly csv: "unit";
193
- };
194
- readonly type: "string";
195
- readonly enum: readonly ["user", "free"];
196
- };
197
- readonly minimum_units: {
198
- readonly type: "integer";
199
- readonly description: "Minimum number of units required for the plan";
200
- readonly "x-oapi-codegen-extra-tags": {
201
- readonly db: "minimum_units";
202
- readonly json: "minimum_units";
203
- readonly csv: "minimum_units";
204
- };
205
- };
206
- readonly price_per_unit: {
207
- readonly type: "number";
208
- readonly description: "Price per unit of the plan";
209
- readonly "x-oapi-codegen-extra-tags": {
210
- readonly db: "price_per_unit";
211
- readonly json: "price_per_unit";
212
- readonly csv: "price_per_unit";
213
- };
214
- };
215
- readonly currency: {
216
- readonly "x-go-type": "Currency";
217
- readonly "x-oapi-codegen-extra-tags": {
218
- readonly db: "currency";
219
- readonly json: "currency";
220
- readonly csv: "currency";
221
- };
222
- readonly type: "string";
223
- readonly enum: readonly ["usd"];
224
- };
225
- };
226
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
227
- readonly "x-go-type": "Plan";
228
- };
229
- };
230
- };
231
- };
232
- readonly Plan: {
233
- readonly type: "object";
234
- readonly properties: {
235
- readonly id: {
236
- readonly "x-oapi-codegen-extra-tags": {
237
- readonly db: "id";
238
- readonly json: "id";
239
- readonly csv: "id";
240
- };
241
- readonly type: "string";
242
- readonly format: "uuid";
243
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
244
- readonly "x-go-type": "uuid.UUID";
245
- readonly "x-go-type-import": {
246
- readonly path: "github.com/gofrs/uuid";
247
- };
248
- };
249
- readonly name: {
250
- readonly type: "string";
251
- readonly "x-go-type": "PlanName";
252
- readonly "x-oapi-codegen-extra-tags": {
253
- readonly db: "name";
254
- readonly json: "name";
255
- readonly csv: "name";
256
- };
257
- readonly description: "Name of the plan";
258
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
259
- };
260
- readonly cadence: {
261
- readonly "x-go-type": "PlanCadence";
262
- readonly "x-oapi-codegen-extra-tags": {
263
- readonly db: "cadence";
264
- readonly json: "cadence";
265
- readonly csv: "cadence";
266
- };
267
- readonly type: "string";
268
- readonly enum: readonly ["monthly", "yearly"];
269
- };
270
- readonly unit: {
271
- readonly "x-go-type": "PlanUnit";
272
- readonly "x-oapi-codegen-extra-tags": {
273
- readonly db: "unit";
274
- readonly json: "unit";
275
- readonly csv: "unit";
276
- };
277
- readonly type: "string";
278
- readonly enum: readonly ["user", "free"];
279
- };
280
- readonly minimum_units: {
281
- readonly type: "integer";
282
- readonly description: "Minimum number of units required for the plan";
283
- readonly "x-oapi-codegen-extra-tags": {
284
- readonly db: "minimum_units";
285
- readonly json: "minimum_units";
286
- readonly csv: "minimum_units";
287
- };
288
- };
289
- readonly price_per_unit: {
290
- readonly type: "number";
291
- readonly description: "Price per unit of the plan";
292
- readonly "x-oapi-codegen-extra-tags": {
293
- readonly db: "price_per_unit";
294
- readonly json: "price_per_unit";
295
- readonly csv: "price_per_unit";
296
- };
297
- };
298
- readonly currency: {
299
- readonly "x-go-type": "Currency";
300
- readonly "x-oapi-codegen-extra-tags": {
301
- readonly db: "currency";
302
- readonly json: "currency";
303
- readonly csv: "currency";
304
- };
305
- readonly type: "string";
306
- readonly enum: readonly ["usd"];
307
- };
308
- };
309
- readonly required: readonly ["id", "name", "cadence", "unit", "price_per_unit", "minimum_units", "price_id", "currency"];
310
- };
311
- readonly PlanName: {
312
- readonly type: "string";
313
- readonly description: "Name of the plan";
314
- readonly enum: readonly ["Free", "Team Designer", "Team Operator", "Enterprise"];
315
- };
316
- readonly PlanCadence: {
317
- readonly type: "string";
318
- readonly enum: readonly ["monthly", "yearly"];
319
- };
320
- readonly PlanUnit: {
321
- readonly type: "string";
322
- readonly enum: readonly ["user", "free"];
323
- };
324
- readonly Currency: {
325
- readonly type: "string";
326
- readonly enum: readonly ["usd"];
327
- };
328
- };
329
- };
330
- };
5
+ declare const PlanSchema: Record<string, unknown>;
331
6
 
332
7
  export { PlanSchema as default };