@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,969 +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 WorkspaceSchema: {
6
- readonly openapi: "3.0.0";
7
- readonly info: {
8
- readonly title: "Workspace";
9
- readonly description: "OpenAPI schema for workspace 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 servers: readonly [{
22
- readonly url: "https://cloud.meshery.io";
23
- readonly description: "Meshery Cloud production server URL";
24
- }, {
25
- readonly url: "https://staging-cloud.meshery.io";
26
- readonly description: "Meshery Cloud staging server URL";
27
- }, {
28
- readonly url: "http://localhost:9876";
29
- readonly description: "Meshery Cloud development server URL (controlled via PORT environment variable)";
30
- }];
31
- readonly security: readonly [{
32
- readonly jwt: readonly [];
33
- }];
34
- readonly tags: readonly [{
35
- readonly name: "workspaces";
36
- readonly description: "Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces).";
37
- }];
38
- readonly paths: {
39
- readonly "/api/workspaces": {
40
- readonly get: {
41
- readonly summary: "Get all workspaces";
42
- readonly tags: readonly ["workspaces"];
43
- readonly responses: {
44
- readonly "200": {
45
- readonly description: "List of workspaces";
46
- readonly content: {
47
- readonly "application/json": {
48
- readonly schema: {
49
- readonly properties: {
50
- readonly page: {
51
- readonly type: "integer";
52
- readonly "x-go-type-skip-optional-pointer": true;
53
- };
54
- readonly page_size: {
55
- readonly type: "integer";
56
- readonly "x-go-type-skip-optional-pointer": true;
57
- };
58
- readonly total_count: {
59
- readonly type: "integer";
60
- readonly "x-go-type-skip-optional-pointer": true;
61
- };
62
- readonly workspaces: {
63
- readonly type: "array";
64
- readonly "x-go-type-skip-optional-pointer": true;
65
- readonly items: {
66
- readonly "x-go-type": "Workspace";
67
- readonly properties: {
68
- readonly ID: {
69
- readonly type: "string";
70
- readonly format: "uuid";
71
- readonly "x-go-type": "uuid.UUID";
72
- readonly "x-go-type-import": {
73
- readonly path: "github.com/gofrs/uuid";
74
- };
75
- readonly "x-oapi-codegen-extra-tags": {
76
- readonly db: "id";
77
- readonly json: "id";
78
- };
79
- readonly "x-go-type-name": "GeneralId";
80
- readonly "x-go-type-skip-optional-pointer": true;
81
- };
82
- readonly name: {
83
- readonly type: "string";
84
- readonly "x-go-type-skip-optional-pointer": true;
85
- };
86
- readonly description: {
87
- readonly type: "string";
88
- readonly "x-go-type-skip-optional-pointer": true;
89
- };
90
- readonly organization_id: {
91
- readonly type: "string";
92
- readonly format: "uuid";
93
- readonly "x-go-type": "uuid.UUID";
94
- readonly "x-go-type-import": {
95
- readonly path: "github.com/gofrs/uuid";
96
- };
97
- readonly "x-oapi-codegen-extra-tags": {
98
- readonly db: "org_id";
99
- readonly json: "org_id";
100
- };
101
- readonly "x-go-type-name": "OrganizationId";
102
- readonly "x-go-type-skip-optional-pointer": true;
103
- };
104
- readonly owner: {
105
- readonly type: "string";
106
- readonly "x-go-type-skip-optional-pointer": true;
107
- };
108
- readonly created_at: {
109
- readonly type: "string";
110
- readonly format: "date-time";
111
- readonly "x-go-type-skip-optional-pointer": true;
112
- };
113
- readonly updated_at: {
114
- readonly type: "string";
115
- readonly format: "date-time";
116
- readonly "x-go-type-skip-optional-pointer": true;
117
- };
118
- readonly deleted_at: {
119
- readonly description: "SQL null Timestamp to handle null values of time.";
120
- readonly "x-go-type": "sql.NullTime";
121
- readonly type: "string";
122
- readonly "x-go-type-skip-optional-pointer": true;
123
- };
124
- };
125
- };
126
- };
127
- };
128
- };
129
- };
130
- };
131
- };
132
- };
133
- };
134
- readonly post: {
135
- readonly summary: "Create a workspace";
136
- readonly tags: readonly ["workspaces"];
137
- readonly requestBody: {
138
- readonly description: "Body for creating workspace";
139
- readonly required: true;
140
- readonly content: {
141
- readonly "application/json": {
142
- readonly schema: {
143
- readonly properties: {
144
- readonly name: {
145
- readonly type: "string";
146
- readonly "x-go-type-skip-optional-pointer": true;
147
- readonly description: "Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation.";
148
- };
149
- readonly description: {
150
- readonly type: "string";
151
- readonly "x-go-type-skip-optional-pointer": true;
152
- readonly description: "Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces)";
153
- };
154
- readonly organization_id: {
155
- readonly type: "string";
156
- readonly description: "Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation.";
157
- readonly "x-go-type-skip-optional-pointer": true;
158
- readonly "x-go-name": "OrganizationID";
159
- readonly "x-oapi-codegen-extra-tags": {
160
- readonly json: "organization_id";
161
- };
162
- };
163
- };
164
- readonly required: readonly ["name", "organization_id"];
165
- };
166
- };
167
- };
168
- };
169
- readonly responses: {
170
- readonly "201": {
171
- readonly description: "Workspace created successfully";
172
- readonly content: {
173
- readonly "application/json": {
174
- readonly schema: {
175
- readonly properties: {
176
- readonly ID: {
177
- readonly type: "string";
178
- readonly format: "uuid";
179
- readonly "x-go-type": "uuid.UUID";
180
- readonly "x-go-type-import": {
181
- readonly path: "github.com/gofrs/uuid";
182
- };
183
- readonly "x-oapi-codegen-extra-tags": {
184
- readonly db: "id";
185
- readonly json: "id";
186
- };
187
- readonly "x-go-type-name": "GeneralId";
188
- readonly "x-go-type-skip-optional-pointer": true;
189
- };
190
- readonly name: {
191
- readonly type: "string";
192
- readonly "x-go-type-skip-optional-pointer": true;
193
- };
194
- readonly description: {
195
- readonly type: "string";
196
- readonly "x-go-type-skip-optional-pointer": true;
197
- };
198
- readonly organization_id: {
199
- readonly type: "string";
200
- readonly format: "uuid";
201
- readonly "x-go-type": "uuid.UUID";
202
- readonly "x-go-type-import": {
203
- readonly path: "github.com/gofrs/uuid";
204
- };
205
- readonly "x-oapi-codegen-extra-tags": {
206
- readonly db: "org_id";
207
- readonly json: "org_id";
208
- };
209
- readonly "x-go-type-name": "OrganizationId";
210
- readonly "x-go-type-skip-optional-pointer": true;
211
- };
212
- readonly owner: {
213
- readonly type: "string";
214
- readonly "x-go-type-skip-optional-pointer": true;
215
- };
216
- readonly created_at: {
217
- readonly type: "string";
218
- readonly format: "date-time";
219
- readonly "x-go-type-skip-optional-pointer": true;
220
- };
221
- readonly updated_at: {
222
- readonly type: "string";
223
- readonly format: "date-time";
224
- readonly "x-go-type-skip-optional-pointer": true;
225
- };
226
- readonly deleted_at: {
227
- readonly description: "SQL null Timestamp to handle null values of time.";
228
- readonly "x-go-type": "sql.NullTime";
229
- readonly type: "string";
230
- readonly "x-go-type-skip-optional-pointer": true;
231
- };
232
- };
233
- };
234
- };
235
- };
236
- };
237
- };
238
- };
239
- };
240
- readonly "/api/workspaces/{id}": {
241
- readonly get: {
242
- readonly summary: "Get workspace by ID";
243
- readonly tags: readonly ["workspaces"];
244
- readonly parameters: readonly [{
245
- readonly name: "id";
246
- readonly in: "path";
247
- readonly required: true;
248
- readonly schema: {
249
- readonly type: "string";
250
- };
251
- }];
252
- readonly responses: {
253
- readonly "200": {
254
- readonly description: "Workspace details";
255
- readonly content: {
256
- readonly "application/json": {
257
- readonly schema: {
258
- readonly properties: {
259
- readonly ID: {
260
- readonly type: "string";
261
- readonly format: "uuid";
262
- readonly "x-go-type": "uuid.UUID";
263
- readonly "x-go-type-import": {
264
- readonly path: "github.com/gofrs/uuid";
265
- };
266
- readonly "x-oapi-codegen-extra-tags": {
267
- readonly db: "id";
268
- readonly json: "id";
269
- };
270
- readonly "x-go-type-name": "GeneralId";
271
- readonly "x-go-type-skip-optional-pointer": true;
272
- };
273
- readonly name: {
274
- readonly type: "string";
275
- readonly "x-go-type-skip-optional-pointer": true;
276
- };
277
- readonly description: {
278
- readonly type: "string";
279
- readonly "x-go-type-skip-optional-pointer": true;
280
- };
281
- readonly organization_id: {
282
- readonly type: "string";
283
- readonly format: "uuid";
284
- readonly "x-go-type": "uuid.UUID";
285
- readonly "x-go-type-import": {
286
- readonly path: "github.com/gofrs/uuid";
287
- };
288
- readonly "x-oapi-codegen-extra-tags": {
289
- readonly db: "org_id";
290
- readonly json: "org_id";
291
- };
292
- readonly "x-go-type-name": "OrganizationId";
293
- readonly "x-go-type-skip-optional-pointer": true;
294
- };
295
- readonly owner: {
296
- readonly type: "string";
297
- readonly "x-go-type-skip-optional-pointer": true;
298
- };
299
- readonly created_at: {
300
- readonly type: "string";
301
- readonly format: "date-time";
302
- readonly "x-go-type-skip-optional-pointer": true;
303
- };
304
- readonly updated_at: {
305
- readonly type: "string";
306
- readonly format: "date-time";
307
- readonly "x-go-type-skip-optional-pointer": true;
308
- };
309
- readonly deleted_at: {
310
- readonly description: "SQL null Timestamp to handle null values of time.";
311
- readonly "x-go-type": "sql.NullTime";
312
- readonly type: "string";
313
- readonly "x-go-type-skip-optional-pointer": true;
314
- };
315
- };
316
- };
317
- };
318
- };
319
- };
320
- };
321
- };
322
- readonly put: {
323
- readonly summary: "Update workspace";
324
- readonly tags: readonly ["workspaces"];
325
- readonly parameters: readonly [{
326
- readonly name: "id";
327
- readonly in: "path";
328
- readonly required: true;
329
- readonly schema: {
330
- readonly type: "string";
331
- };
332
- }];
333
- readonly requestBody: {
334
- readonly description: "Body for updating workspace";
335
- readonly required: true;
336
- readonly content: {
337
- readonly "application/json": {
338
- readonly schema: {
339
- readonly properties: {
340
- readonly name: {
341
- readonly type: "string";
342
- readonly "x-go-type-skip-optional-pointer": true;
343
- readonly description: "Name of workspace";
344
- };
345
- readonly description: {
346
- readonly type: "string";
347
- readonly "x-go-type-skip-optional-pointer": true;
348
- readonly description: "Environment description";
349
- };
350
- readonly organization_id: {
351
- readonly type: "string";
352
- readonly description: "Organization ID";
353
- readonly "x-go-type-skip-optional-pointer": true;
354
- readonly "x-go-name": "OrganizationID";
355
- readonly "x-oapi-codegen-extra-tags": {
356
- readonly json: "organization_id";
357
- };
358
- };
359
- };
360
- readonly required: readonly ["organization_id"];
361
- };
362
- };
363
- };
364
- };
365
- readonly responses: {
366
- readonly "200": {
367
- readonly description: "Workspace updated successfully";
368
- readonly content: {
369
- readonly "application/json": {
370
- readonly schema: {
371
- readonly properties: {
372
- readonly ID: {
373
- readonly type: "string";
374
- readonly format: "uuid";
375
- readonly "x-go-type": "uuid.UUID";
376
- readonly "x-go-type-import": {
377
- readonly path: "github.com/gofrs/uuid";
378
- };
379
- readonly "x-oapi-codegen-extra-tags": {
380
- readonly db: "id";
381
- readonly json: "id";
382
- };
383
- readonly "x-go-type-name": "GeneralId";
384
- readonly "x-go-type-skip-optional-pointer": true;
385
- };
386
- readonly name: {
387
- readonly type: "string";
388
- readonly "x-go-type-skip-optional-pointer": true;
389
- };
390
- readonly description: {
391
- readonly type: "string";
392
- readonly "x-go-type-skip-optional-pointer": true;
393
- };
394
- readonly organization_id: {
395
- readonly type: "string";
396
- readonly format: "uuid";
397
- readonly "x-go-type": "uuid.UUID";
398
- readonly "x-go-type-import": {
399
- readonly path: "github.com/gofrs/uuid";
400
- };
401
- readonly "x-oapi-codegen-extra-tags": {
402
- readonly db: "org_id";
403
- readonly json: "org_id";
404
- };
405
- readonly "x-go-type-name": "OrganizationId";
406
- readonly "x-go-type-skip-optional-pointer": true;
407
- };
408
- readonly owner: {
409
- readonly type: "string";
410
- readonly "x-go-type-skip-optional-pointer": true;
411
- };
412
- readonly created_at: {
413
- readonly type: "string";
414
- readonly format: "date-time";
415
- readonly "x-go-type-skip-optional-pointer": true;
416
- };
417
- readonly updated_at: {
418
- readonly type: "string";
419
- readonly format: "date-time";
420
- readonly "x-go-type-skip-optional-pointer": true;
421
- };
422
- readonly deleted_at: {
423
- readonly description: "SQL null Timestamp to handle null values of time.";
424
- readonly "x-go-type": "sql.NullTime";
425
- readonly type: "string";
426
- readonly "x-go-type-skip-optional-pointer": true;
427
- };
428
- };
429
- };
430
- };
431
- };
432
- };
433
- };
434
- };
435
- readonly delete: {
436
- readonly summary: "Delete workspace";
437
- readonly tags: readonly ["workspaces"];
438
- readonly parameters: readonly [{
439
- readonly name: "id";
440
- readonly in: "path";
441
- readonly required: true;
442
- readonly schema: {
443
- readonly type: "string";
444
- };
445
- }];
446
- readonly responses: {
447
- readonly "200": {
448
- readonly description: "Workspace deleted successfully";
449
- };
450
- };
451
- };
452
- };
453
- };
454
- readonly components: {
455
- readonly securitySchemes: {
456
- readonly jwt: {
457
- readonly type: "http";
458
- readonly scheme: "Bearer";
459
- readonly bearerFormat: "JWT";
460
- };
461
- };
462
- readonly schemas: {
463
- readonly workspace: {
464
- readonly properties: {
465
- readonly ID: {
466
- readonly type: "string";
467
- readonly format: "uuid";
468
- readonly "x-go-type": "uuid.UUID";
469
- readonly "x-go-type-import": {
470
- readonly path: "github.com/gofrs/uuid";
471
- };
472
- readonly "x-oapi-codegen-extra-tags": {
473
- readonly db: "id";
474
- readonly json: "id";
475
- };
476
- readonly "x-go-type-name": "GeneralId";
477
- readonly "x-go-type-skip-optional-pointer": true;
478
- };
479
- readonly name: {
480
- readonly type: "string";
481
- readonly "x-go-type-skip-optional-pointer": true;
482
- };
483
- readonly description: {
484
- readonly type: "string";
485
- readonly "x-go-type-skip-optional-pointer": true;
486
- };
487
- readonly organization_id: {
488
- readonly type: "string";
489
- readonly format: "uuid";
490
- readonly "x-go-type": "uuid.UUID";
491
- readonly "x-go-type-import": {
492
- readonly path: "github.com/gofrs/uuid";
493
- };
494
- readonly "x-oapi-codegen-extra-tags": {
495
- readonly db: "org_id";
496
- readonly json: "org_id";
497
- };
498
- readonly "x-go-type-name": "OrganizationId";
499
- readonly "x-go-type-skip-optional-pointer": true;
500
- };
501
- readonly owner: {
502
- readonly type: "string";
503
- readonly "x-go-type-skip-optional-pointer": true;
504
- };
505
- readonly created_at: {
506
- readonly type: "string";
507
- readonly format: "date-time";
508
- readonly "x-go-type-skip-optional-pointer": true;
509
- };
510
- readonly updated_at: {
511
- readonly type: "string";
512
- readonly format: "date-time";
513
- readonly "x-go-type-skip-optional-pointer": true;
514
- };
515
- readonly deleted_at: {
516
- readonly description: "SQL null Timestamp to handle null values of time.";
517
- readonly "x-go-type": "sql.NullTime";
518
- readonly type: "string";
519
- readonly "x-go-type-skip-optional-pointer": true;
520
- };
521
- };
522
- };
523
- readonly workspacesTeamsMapping: {
524
- readonly properties: {
525
- readonly ID: {
526
- readonly type: "string";
527
- readonly format: "uuid";
528
- readonly "x-go-type": "uuid.UUID";
529
- readonly "x-go-type-import": {
530
- readonly path: "github.com/gofrs/uuid";
531
- };
532
- readonly "x-oapi-codegen-extra-tags": {
533
- readonly db: "id";
534
- readonly json: "id";
535
- };
536
- readonly "x-go-type-name": "GeneralId";
537
- readonly "x-go-type-skip-optional-pointer": true;
538
- };
539
- readonly team_id: {
540
- readonly type: "string";
541
- readonly format: "uuid";
542
- readonly "x-go-type": "uuid.UUID";
543
- readonly "x-go-type-import": {
544
- readonly path: "github.com/gofrs/uuid";
545
- };
546
- readonly "x-oapi-codegen-extra-tags": {
547
- readonly db: "team_id";
548
- readonly json: "team_id";
549
- };
550
- readonly "x-go-type-name": "TeamId";
551
- readonly "x-go-type-skip-optional-pointer": true;
552
- };
553
- readonly workspace_id: {
554
- readonly type: "string";
555
- readonly format: "uuid";
556
- readonly "x-go-type": "uuid.UUID";
557
- readonly "x-go-type-import": {
558
- readonly path: "github.com/gofrs/uuid";
559
- };
560
- readonly "x-oapi-codegen-extra-tags": {
561
- readonly db: "workspace_id";
562
- readonly json: "workspace_id";
563
- };
564
- readonly "x-go-type-name": "WorkspaceId";
565
- readonly "x-go-type-skip-optional-pointer": true;
566
- };
567
- readonly created_at: {
568
- readonly type: "string";
569
- readonly format: "date-time";
570
- readonly "x-go-type-skip-optional-pointer": true;
571
- };
572
- readonly updated_at: {
573
- readonly type: "string";
574
- readonly format: "date-time";
575
- readonly "x-go-type-skip-optional-pointer": true;
576
- };
577
- readonly deleted_at: {
578
- readonly description: "SQL null Timestamp to handle null values of time.";
579
- readonly "x-go-type": "sql.NullTime";
580
- readonly type: "string";
581
- readonly "x-go-type-skip-optional-pointer": true;
582
- };
583
- };
584
- };
585
- readonly workspacesEnvironmentsMapping: {
586
- readonly properties: {
587
- readonly ID: {
588
- readonly type: "string";
589
- readonly format: "uuid";
590
- readonly "x-go-type": "uuid.UUID";
591
- readonly "x-go-type-import": {
592
- readonly path: "github.com/gofrs/uuid";
593
- };
594
- readonly "x-oapi-codegen-extra-tags": {
595
- readonly db: "id";
596
- readonly json: "id";
597
- };
598
- readonly "x-go-type-name": "GeneralId";
599
- readonly "x-go-type-skip-optional-pointer": true;
600
- };
601
- readonly environment_id: {
602
- readonly type: "string";
603
- readonly format: "uuid";
604
- readonly "x-go-type": "uuid.UUID";
605
- readonly "x-go-type-import": {
606
- readonly path: "github.com/gofrs/uuid";
607
- };
608
- readonly "x-oapi-codegen-extra-tags": {
609
- readonly db: "environment_id";
610
- readonly json: "environment_id";
611
- };
612
- readonly "x-go-type-name": "EnvironmentId";
613
- readonly "x-go-type-skip-optional-pointer": true;
614
- };
615
- readonly workspace_id: {
616
- readonly type: "string";
617
- readonly format: "uuid";
618
- readonly "x-go-type": "uuid.UUID";
619
- readonly "x-go-type-import": {
620
- readonly path: "github.com/gofrs/uuid";
621
- };
622
- readonly "x-oapi-codegen-extra-tags": {
623
- readonly db: "workspace_id";
624
- readonly json: "workspace_id";
625
- };
626
- readonly "x-go-type-name": "WorkspaceId";
627
- readonly "x-go-type-skip-optional-pointer": true;
628
- };
629
- readonly created_at: {
630
- readonly type: "string";
631
- readonly format: "date-time";
632
- readonly "x-go-type-skip-optional-pointer": true;
633
- };
634
- readonly updated_at: {
635
- readonly type: "string";
636
- readonly format: "date-time";
637
- readonly "x-go-type-skip-optional-pointer": true;
638
- };
639
- readonly deleted_at: {
640
- readonly description: "SQL null Timestamp to handle null values of time.";
641
- readonly "x-go-type": "sql.NullTime";
642
- readonly type: "string";
643
- readonly "x-go-type-skip-optional-pointer": true;
644
- };
645
- };
646
- };
647
- readonly workspacesViewsMapping: {
648
- readonly properties: {
649
- readonly ID: {
650
- readonly type: "string";
651
- readonly format: "uuid";
652
- readonly "x-go-type": "uuid.UUID";
653
- readonly "x-go-type-import": {
654
- readonly path: "github.com/gofrs/uuid";
655
- };
656
- readonly "x-oapi-codegen-extra-tags": {
657
- readonly db: "id";
658
- readonly json: "id";
659
- };
660
- readonly "x-go-type-name": "GeneralId";
661
- readonly "x-go-type-skip-optional-pointer": true;
662
- };
663
- readonly view_id: {
664
- readonly type: "string";
665
- readonly format: "uuid";
666
- readonly "x-go-type": "uuid.UUID";
667
- readonly "x-go-type-import": {
668
- readonly path: "github.com/gofrs/uuid";
669
- };
670
- readonly "x-oapi-codegen-extra-tags": {
671
- readonly db: "view_id";
672
- readonly json: "view_id";
673
- };
674
- readonly "x-go-type-name": "ViewId";
675
- readonly "x-go-type-skip-optional-pointer": true;
676
- };
677
- readonly workspace_id: {
678
- readonly type: "string";
679
- readonly format: "uuid";
680
- readonly "x-go-type": "uuid.UUID";
681
- readonly "x-go-type-import": {
682
- readonly path: "github.com/gofrs/uuid";
683
- };
684
- readonly "x-oapi-codegen-extra-tags": {
685
- readonly db: "workspace_id";
686
- readonly json: "workspace_id";
687
- };
688
- readonly "x-go-type-name": "WorkspaceId";
689
- readonly "x-go-type-skip-optional-pointer": true;
690
- };
691
- readonly created_at: {
692
- readonly type: "string";
693
- readonly format: "date-time";
694
- readonly "x-go-type-skip-optional-pointer": true;
695
- };
696
- readonly updated_at: {
697
- readonly type: "string";
698
- readonly format: "date-time";
699
- readonly "x-go-type-skip-optional-pointer": true;
700
- };
701
- readonly deleted_at: {
702
- readonly description: "SQL null Timestamp to handle null values of time.";
703
- readonly "x-go-type": "sql.NullTime";
704
- readonly type: "string";
705
- readonly "x-go-type-skip-optional-pointer": true;
706
- };
707
- };
708
- };
709
- readonly workspacesDesignsMapping: {
710
- readonly properties: {
711
- readonly ID: {
712
- readonly type: "string";
713
- readonly format: "uuid";
714
- readonly "x-go-type": "uuid.UUID";
715
- readonly "x-go-type-import": {
716
- readonly path: "github.com/gofrs/uuid";
717
- };
718
- readonly "x-oapi-codegen-extra-tags": {
719
- readonly db: "id";
720
- readonly json: "id";
721
- };
722
- readonly "x-go-type-name": "GeneralId";
723
- readonly "x-go-type-skip-optional-pointer": true;
724
- };
725
- readonly design_id: {
726
- readonly type: "string";
727
- readonly format: "uuid";
728
- readonly "x-go-type": "uuid.UUID";
729
- readonly "x-go-type-import": {
730
- readonly path: "github.com/gofrs/uuid";
731
- };
732
- readonly "x-oapi-codegen-extra-tags": {
733
- readonly db: "design_id";
734
- readonly json: "design_id";
735
- };
736
- readonly "x-go-type-name": "DesignId";
737
- readonly "x-go-type-skip-optional-pointer": true;
738
- };
739
- readonly workspace_id: {
740
- readonly type: "string";
741
- readonly format: "uuid";
742
- readonly "x-go-type": "uuid.UUID";
743
- readonly "x-go-type-import": {
744
- readonly path: "github.com/gofrs/uuid";
745
- };
746
- readonly "x-oapi-codegen-extra-tags": {
747
- readonly db: "workspace_id";
748
- readonly json: "workspace_id";
749
- };
750
- readonly "x-go-type-name": "WorkspaceId";
751
- readonly "x-go-type-skip-optional-pointer": true;
752
- };
753
- readonly created_at: {
754
- readonly type: "string";
755
- readonly format: "date-time";
756
- readonly "x-go-type-skip-optional-pointer": true;
757
- };
758
- readonly updated_at: {
759
- readonly type: "string";
760
- readonly format: "date-time";
761
- readonly "x-go-type-skip-optional-pointer": true;
762
- };
763
- readonly deleted_at: {
764
- readonly description: "SQL null Timestamp to handle null values of time.";
765
- readonly "x-go-type": "sql.NullTime";
766
- readonly type: "string";
767
- readonly "x-go-type-skip-optional-pointer": true;
768
- };
769
- };
770
- };
771
- readonly workspaceUpdatePayload: {
772
- readonly properties: {
773
- readonly name: {
774
- readonly type: "string";
775
- readonly "x-go-type-skip-optional-pointer": true;
776
- readonly description: "Name of workspace";
777
- };
778
- readonly description: {
779
- readonly type: "string";
780
- readonly "x-go-type-skip-optional-pointer": true;
781
- readonly description: "Environment description";
782
- };
783
- readonly organization_id: {
784
- readonly type: "string";
785
- readonly description: "Organization ID";
786
- readonly "x-go-type-skip-optional-pointer": true;
787
- readonly "x-go-name": "OrganizationID";
788
- readonly "x-oapi-codegen-extra-tags": {
789
- readonly json: "organization_id";
790
- };
791
- };
792
- };
793
- readonly required: readonly ["organization_id"];
794
- };
795
- readonly workspacePayload: {
796
- readonly properties: {
797
- readonly name: {
798
- readonly type: "string";
799
- readonly "x-go-type-skip-optional-pointer": true;
800
- readonly description: "Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation.";
801
- };
802
- readonly description: {
803
- readonly type: "string";
804
- readonly "x-go-type-skip-optional-pointer": true;
805
- readonly description: "Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces)";
806
- };
807
- readonly organization_id: {
808
- readonly type: "string";
809
- readonly description: "Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation.";
810
- readonly "x-go-type-skip-optional-pointer": true;
811
- readonly "x-go-name": "OrganizationID";
812
- readonly "x-oapi-codegen-extra-tags": {
813
- readonly json: "organization_id";
814
- };
815
- };
816
- };
817
- readonly required: readonly ["name", "organization_id"];
818
- };
819
- readonly workspacePage: {
820
- readonly properties: {
821
- readonly page: {
822
- readonly type: "integer";
823
- readonly "x-go-type-skip-optional-pointer": true;
824
- };
825
- readonly page_size: {
826
- readonly type: "integer";
827
- readonly "x-go-type-skip-optional-pointer": true;
828
- };
829
- readonly total_count: {
830
- readonly type: "integer";
831
- readonly "x-go-type-skip-optional-pointer": true;
832
- };
833
- readonly workspaces: {
834
- readonly type: "array";
835
- readonly "x-go-type-skip-optional-pointer": true;
836
- readonly items: {
837
- readonly "x-go-type": "Workspace";
838
- readonly properties: {
839
- readonly ID: {
840
- readonly type: "string";
841
- readonly format: "uuid";
842
- readonly "x-go-type": "uuid.UUID";
843
- readonly "x-go-type-import": {
844
- readonly path: "github.com/gofrs/uuid";
845
- };
846
- readonly "x-oapi-codegen-extra-tags": {
847
- readonly db: "id";
848
- readonly json: "id";
849
- };
850
- readonly "x-go-type-name": "GeneralId";
851
- readonly "x-go-type-skip-optional-pointer": true;
852
- };
853
- readonly name: {
854
- readonly type: "string";
855
- readonly "x-go-type-skip-optional-pointer": true;
856
- };
857
- readonly description: {
858
- readonly type: "string";
859
- readonly "x-go-type-skip-optional-pointer": true;
860
- };
861
- readonly organization_id: {
862
- readonly type: "string";
863
- readonly format: "uuid";
864
- readonly "x-go-type": "uuid.UUID";
865
- readonly "x-go-type-import": {
866
- readonly path: "github.com/gofrs/uuid";
867
- };
868
- readonly "x-oapi-codegen-extra-tags": {
869
- readonly db: "org_id";
870
- readonly json: "org_id";
871
- };
872
- readonly "x-go-type-name": "OrganizationId";
873
- readonly "x-go-type-skip-optional-pointer": true;
874
- };
875
- readonly owner: {
876
- readonly type: "string";
877
- readonly "x-go-type-skip-optional-pointer": true;
878
- };
879
- readonly created_at: {
880
- readonly type: "string";
881
- readonly format: "date-time";
882
- readonly "x-go-type-skip-optional-pointer": true;
883
- };
884
- readonly updated_at: {
885
- readonly type: "string";
886
- readonly format: "date-time";
887
- readonly "x-go-type-skip-optional-pointer": true;
888
- };
889
- readonly deleted_at: {
890
- readonly description: "SQL null Timestamp to handle null values of time.";
891
- readonly "x-go-type": "sql.NullTime";
892
- readonly type: "string";
893
- readonly "x-go-type-skip-optional-pointer": true;
894
- };
895
- };
896
- };
897
- };
898
- };
899
- };
900
- };
901
- readonly requestBodies: {
902
- readonly workspacePayload: {
903
- readonly description: "Body for creating workspace";
904
- readonly required: true;
905
- readonly content: {
906
- readonly "application/json": {
907
- readonly schema: {
908
- readonly properties: {
909
- readonly name: {
910
- readonly type: "string";
911
- readonly "x-go-type-skip-optional-pointer": true;
912
- readonly description: "Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation.";
913
- };
914
- readonly description: {
915
- readonly type: "string";
916
- readonly "x-go-type-skip-optional-pointer": true;
917
- readonly description: "Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces)";
918
- };
919
- readonly organization_id: {
920
- readonly type: "string";
921
- readonly description: "Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation.";
922
- readonly "x-go-type-skip-optional-pointer": true;
923
- readonly "x-go-name": "OrganizationID";
924
- readonly "x-oapi-codegen-extra-tags": {
925
- readonly json: "organization_id";
926
- };
927
- };
928
- };
929
- readonly required: readonly ["name", "organization_id"];
930
- };
931
- };
932
- };
933
- };
934
- readonly workspaceUpdatePayload: {
935
- readonly description: "Body for updating workspace";
936
- readonly required: true;
937
- readonly content: {
938
- readonly "application/json": {
939
- readonly schema: {
940
- readonly properties: {
941
- readonly name: {
942
- readonly type: "string";
943
- readonly "x-go-type-skip-optional-pointer": true;
944
- readonly description: "Name of workspace";
945
- };
946
- readonly description: {
947
- readonly type: "string";
948
- readonly "x-go-type-skip-optional-pointer": true;
949
- readonly description: "Environment description";
950
- };
951
- readonly organization_id: {
952
- readonly type: "string";
953
- readonly description: "Organization ID";
954
- readonly "x-go-type-skip-optional-pointer": true;
955
- readonly "x-go-name": "OrganizationID";
956
- readonly "x-oapi-codegen-extra-tags": {
957
- readonly json: "organization_id";
958
- };
959
- };
960
- };
961
- readonly required: readonly ["organization_id"];
962
- };
963
- };
964
- };
965
- };
966
- };
967
- };
968
- };
5
+ declare const WorkspaceSchema: Record<string, unknown>;
969
6
 
970
7
  export { WorkspaceSchema as default };