@meshery/schemas 0.8.127 → 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.
- package/dist/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
- package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
- package/dist/cloudApi.d.mts +13676 -3825
- package/dist/cloudApi.d.ts +13676 -3825
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
- package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
- package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
- package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
- package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
- package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.js +1 -0
- package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
- package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
- package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
- package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
- package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
- package/dist/constructs/v1beta1/role/Role.js +1 -0
- package/dist/constructs/v1beta1/role/Role.mjs +0 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
- package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +283 -43
- package/dist/index.mjs +283 -43
- package/dist/mesheryApi.d.mts +2025 -183
- package/dist/mesheryApi.d.ts +2025 -183
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -2,359 +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 EventSchema:
|
|
6
|
-
readonly openapi: "3.0.0";
|
|
7
|
-
readonly info: {
|
|
8
|
-
readonly title: "events";
|
|
9
|
-
readonly version: "1.0.0";
|
|
10
|
-
};
|
|
11
|
-
readonly paths: {
|
|
12
|
-
readonly "/events/{id}": {
|
|
13
|
-
readonly delete: {
|
|
14
|
-
readonly summary: "Delete a single event";
|
|
15
|
-
readonly parameters: readonly [{
|
|
16
|
-
readonly in: "path";
|
|
17
|
-
readonly name: "id";
|
|
18
|
-
readonly required: true;
|
|
19
|
-
readonly schema: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly format: "uuid";
|
|
22
|
-
};
|
|
23
|
-
readonly description: "ID of the event to delete";
|
|
24
|
-
}];
|
|
25
|
-
readonly responses: {
|
|
26
|
-
readonly "200": {
|
|
27
|
-
readonly description: "Event deleted successfully";
|
|
28
|
-
readonly content: {
|
|
29
|
-
readonly "application/json": {
|
|
30
|
-
readonly schema: {
|
|
31
|
-
readonly type: "object";
|
|
32
|
-
readonly properties: {
|
|
33
|
-
readonly message: {
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
};
|
|
36
|
-
readonly event_id: {
|
|
37
|
-
readonly type: "string";
|
|
38
|
-
readonly format: "uuid";
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
readonly "400": {
|
|
46
|
-
readonly description: "Invalid event ID";
|
|
47
|
-
readonly content: {
|
|
48
|
-
readonly "application/json": {
|
|
49
|
-
readonly schema: {
|
|
50
|
-
readonly type: "object";
|
|
51
|
-
readonly properties: {
|
|
52
|
-
readonly error: {
|
|
53
|
-
readonly type: "string";
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
readonly "500": {
|
|
61
|
-
readonly description: "Server error";
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly "/events": {
|
|
67
|
-
readonly post: {
|
|
68
|
-
readonly summary: "Create a new event";
|
|
69
|
-
readonly requestBody: {
|
|
70
|
-
readonly required: true;
|
|
71
|
-
readonly content: {
|
|
72
|
-
readonly "application/json": {
|
|
73
|
-
readonly schema: {
|
|
74
|
-
readonly type: "object";
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
readonly delete: {
|
|
81
|
-
readonly summary: "Bulk delete events";
|
|
82
|
-
readonly requestBody: {
|
|
83
|
-
readonly required: true;
|
|
84
|
-
readonly content: {
|
|
85
|
-
readonly "application/json": {
|
|
86
|
-
readonly schema: {
|
|
87
|
-
readonly type: "object";
|
|
88
|
-
readonly required: readonly ["ids"];
|
|
89
|
-
readonly properties: {
|
|
90
|
-
readonly ids: {
|
|
91
|
-
readonly type: "array";
|
|
92
|
-
readonly items: {
|
|
93
|
-
readonly type: "string";
|
|
94
|
-
readonly format: "uuid";
|
|
95
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
96
|
-
readonly "x-go-type": "uuid.UUID";
|
|
97
|
-
readonly "x-go-type-import": {
|
|
98
|
-
readonly path: "github.com/gofrs/uuid";
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
readonly responses: {
|
|
108
|
-
readonly "200": {
|
|
109
|
-
readonly description: "event deleted";
|
|
110
|
-
readonly content: {
|
|
111
|
-
readonly "application/json": {
|
|
112
|
-
readonly schema: {
|
|
113
|
-
readonly type: "object";
|
|
114
|
-
readonly properties: {
|
|
115
|
-
readonly deleted: {
|
|
116
|
-
readonly type: "array";
|
|
117
|
-
readonly items: {
|
|
118
|
-
readonly type: "string";
|
|
119
|
-
readonly format: "uuid";
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
readonly "400": {
|
|
128
|
-
readonly description: "Invalid request";
|
|
129
|
-
readonly content: {
|
|
130
|
-
readonly "application/json": {
|
|
131
|
-
readonly schema: {
|
|
132
|
-
readonly type: "object";
|
|
133
|
-
readonly properties: {
|
|
134
|
-
readonly error: {
|
|
135
|
-
readonly type: "string";
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
readonly "500": {
|
|
143
|
-
readonly description: "Server error";
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
readonly "/events/status": {
|
|
149
|
-
readonly put: {
|
|
150
|
-
readonly summary: "Bulk update event status";
|
|
151
|
-
readonly requestBody: {
|
|
152
|
-
readonly required: true;
|
|
153
|
-
readonly content: {
|
|
154
|
-
readonly "application/json": {
|
|
155
|
-
readonly schema: {
|
|
156
|
-
readonly type: "object";
|
|
157
|
-
readonly required: readonly ["ids", "status"];
|
|
158
|
-
readonly properties: {
|
|
159
|
-
readonly ids: {
|
|
160
|
-
readonly type: "array";
|
|
161
|
-
readonly items: {
|
|
162
|
-
readonly type: "string";
|
|
163
|
-
readonly format: "uuid";
|
|
164
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
165
|
-
readonly "x-go-type": "uuid.UUID";
|
|
166
|
-
readonly "x-go-type-import": {
|
|
167
|
-
readonly path: "github.com/gofrs/uuid";
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
readonly status: {
|
|
172
|
-
readonly type: "string";
|
|
173
|
-
readonly example: "failed";
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
readonly responses: {
|
|
181
|
-
readonly "200": {
|
|
182
|
-
readonly description: "Events updated successfully";
|
|
183
|
-
readonly content: {
|
|
184
|
-
readonly "application/json": {
|
|
185
|
-
readonly schema: {
|
|
186
|
-
readonly type: "object";
|
|
187
|
-
readonly properties: {
|
|
188
|
-
readonly updated: {
|
|
189
|
-
readonly type: "array";
|
|
190
|
-
readonly items: {
|
|
191
|
-
readonly type: "string";
|
|
192
|
-
readonly format: "uuid";
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
readonly "400": {
|
|
201
|
-
readonly description: "Invalid request";
|
|
202
|
-
readonly content: {
|
|
203
|
-
readonly "application/json": {
|
|
204
|
-
readonly schema: {
|
|
205
|
-
readonly type: "object";
|
|
206
|
-
readonly properties: {
|
|
207
|
-
readonly error: {
|
|
208
|
-
readonly type: "string";
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
readonly "500": {
|
|
216
|
-
readonly description: "Server error";
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
readonly "/events/{id}/status": {
|
|
222
|
-
readonly put: {
|
|
223
|
-
readonly summary: "Update status of a single event";
|
|
224
|
-
readonly parameters: readonly [{
|
|
225
|
-
readonly in: "path";
|
|
226
|
-
readonly name: "id";
|
|
227
|
-
readonly required: true;
|
|
228
|
-
readonly schema: {
|
|
229
|
-
readonly type: "string";
|
|
230
|
-
readonly format: "uuid";
|
|
231
|
-
};
|
|
232
|
-
readonly description: "ID of the event";
|
|
233
|
-
}];
|
|
234
|
-
readonly requestBody: {
|
|
235
|
-
readonly required: true;
|
|
236
|
-
readonly content: {
|
|
237
|
-
readonly "application/json": {
|
|
238
|
-
readonly schema: {
|
|
239
|
-
readonly type: "object";
|
|
240
|
-
readonly required: readonly ["status"];
|
|
241
|
-
readonly properties: {
|
|
242
|
-
readonly status: {
|
|
243
|
-
readonly type: "string";
|
|
244
|
-
readonly example: "completed";
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
readonly responses: {
|
|
252
|
-
readonly "200": {
|
|
253
|
-
readonly description: "Event status updated successfully";
|
|
254
|
-
readonly content: {
|
|
255
|
-
readonly "application/json": {
|
|
256
|
-
readonly schema: {
|
|
257
|
-
readonly type: "object";
|
|
258
|
-
readonly properties: {
|
|
259
|
-
readonly message: {
|
|
260
|
-
readonly type: "string";
|
|
261
|
-
};
|
|
262
|
-
readonly event_id: {
|
|
263
|
-
readonly type: "string";
|
|
264
|
-
readonly format: "uuid";
|
|
265
|
-
};
|
|
266
|
-
readonly status: {
|
|
267
|
-
readonly type: "string";
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
readonly "400": {
|
|
275
|
-
readonly description: "Invalid request or status";
|
|
276
|
-
readonly content: {
|
|
277
|
-
readonly "application/json": {
|
|
278
|
-
readonly schema: {
|
|
279
|
-
readonly type: "object";
|
|
280
|
-
readonly properties: {
|
|
281
|
-
readonly error: {
|
|
282
|
-
readonly type: "string";
|
|
283
|
-
};
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
readonly "500": {
|
|
290
|
-
readonly description: "Server error";
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
readonly components: {
|
|
297
|
-
readonly schemas: {
|
|
298
|
-
readonly UpdateEventStatusRequest: {
|
|
299
|
-
readonly type: "object";
|
|
300
|
-
readonly required: readonly ["status"];
|
|
301
|
-
readonly properties: {
|
|
302
|
-
readonly status: {
|
|
303
|
-
readonly type: "string";
|
|
304
|
-
readonly example: "completed";
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
readonly BulkDeleteRequest: {
|
|
309
|
-
readonly type: "object";
|
|
310
|
-
readonly required: readonly ["ids"];
|
|
311
|
-
readonly properties: {
|
|
312
|
-
readonly ids: {
|
|
313
|
-
readonly type: "array";
|
|
314
|
-
readonly items: {
|
|
315
|
-
readonly type: "string";
|
|
316
|
-
readonly format: "uuid";
|
|
317
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
318
|
-
readonly "x-go-type": "uuid.UUID";
|
|
319
|
-
readonly "x-go-type-import": {
|
|
320
|
-
readonly path: "github.com/gofrs/uuid";
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
readonly BulkUpdateStatusRequest: {
|
|
327
|
-
readonly type: "object";
|
|
328
|
-
readonly required: readonly ["ids", "status"];
|
|
329
|
-
readonly properties: {
|
|
330
|
-
readonly ids: {
|
|
331
|
-
readonly type: "array";
|
|
332
|
-
readonly items: {
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
readonly format: "uuid";
|
|
335
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
336
|
-
readonly "x-go-type": "uuid.UUID";
|
|
337
|
-
readonly "x-go-type-import": {
|
|
338
|
-
readonly path: "github.com/gofrs/uuid";
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
readonly status: {
|
|
343
|
-
readonly type: "string";
|
|
344
|
-
readonly example: "failed";
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
readonly ErrorResponse: {
|
|
349
|
-
readonly type: "object";
|
|
350
|
-
readonly properties: {
|
|
351
|
-
readonly error: {
|
|
352
|
-
readonly type: "string";
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
};
|
|
5
|
+
declare const EventSchema: Record<string, unknown>;
|
|
359
6
|
|
|
360
7
|
export { EventSchema as default };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
'use strict';var e={openapi:"3.0.0",info:{title:"events",version:"
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"Events",description:"OpenAPI schema for Meshery events and system notifications.",version:"v1beta1",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},paths:{"/events/{id}":{delete:{summary:"Delete a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event to delete"}],responses:{200:{description:"Event deleted successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"}}}}}},400:{description:"Invalid event ID",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events":{post:{summary:"Create a new event",requestBody:{required:true,content:{"application/json":{schema:{type:"object"}}}}},delete:{summary:"Bulk delete events",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}}}}},responses:{200:{description:"event deleted",content:{"application/json":{schema:{type:"object",properties:{deleted:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/status":{put:{summary:"Bulk update event status",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}}}}},responses:{200:{description:"Events updated successfully",content:{"application/json":{schema:{type:"object",properties:{updated:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/{id}/status":{put:{summary:"Update status of a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event"}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}}}}},responses:{200:{description:"Event status updated successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"},status:{type:"string"}}}}}},400:{description:"Invalid request or status",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}}},components:{schemas:{UpdateEventStatusRequest:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}},BulkDeleteRequest:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}},BulkUpdateStatusRequest:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}},ErrorResponse:{type:"object",properties:{error:{type:"string"}}}}}},t=e;
|
|
2
|
+
module.exports=t;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
var e={openapi:"3.0.0",info:{title:"events",version:"
|
|
1
|
+
var e={openapi:"3.0.0",info:{title:"Events",description:"OpenAPI schema for Meshery events and system notifications.",version:"v1beta1",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},paths:{"/events/{id}":{delete:{summary:"Delete a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event to delete"}],responses:{200:{description:"Event deleted successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"}}}}}},400:{description:"Invalid event ID",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events":{post:{summary:"Create a new event",requestBody:{required:true,content:{"application/json":{schema:{type:"object"}}}}},delete:{summary:"Bulk delete events",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}}}}},responses:{200:{description:"event deleted",content:{"application/json":{schema:{type:"object",properties:{deleted:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/status":{put:{summary:"Bulk update event status",requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}}}}},responses:{200:{description:"Events updated successfully",content:{"application/json":{schema:{type:"object",properties:{updated:{type:"array",items:{type:"string",format:"uuid"}}}}}}},400:{description:"Invalid request",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}},"/events/{id}/status":{put:{summary:"Update status of a single event",parameters:[{in:"path",name:"id",required:true,schema:{type:"string",format:"uuid"},description:"ID of the event"}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}}}}},responses:{200:{description:"Event status updated successfully",content:{"application/json":{schema:{type:"object",properties:{message:{type:"string"},event_id:{type:"string",format:"uuid"},status:{type:"string"}}}}}},400:{description:"Invalid request or status",content:{"application/json":{schema:{type:"object",properties:{error:{type:"string"}}}}}},500:{description:"Server error"}}}}},components:{schemas:{UpdateEventStatusRequest:{type:"object",required:["status"],properties:{status:{type:"string",example:"completed"}}},BulkDeleteRequest:{type:"object",required:["ids"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}}},BulkUpdateStatusRequest:{type:"object",required:["ids","status"],properties:{ids:{type:"array",items:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},status:{type:"string",example:"failed"}}},ErrorResponse:{type:"object",properties:{error:{type:"string"}}}}}},t=e;
|
|
2
|
+
export{t as default};
|