@meshery/schemas 1.2.15 → 1.2.16
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/constructs/v1alpha1/capability/Capability.d.ts +114 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
- package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
- package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
- package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
- package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
- package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
- package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
- package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/view/View.d.ts +759 -0
- package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
- package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
- package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
- package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
- package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
- package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
- package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
- package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
- package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
- package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
- package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
- package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
- package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
- package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
- package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
- package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
- package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
- package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
- package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
- package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
- package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
- package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
- package/dist/constructs/v1beta2/view/View.d.ts +767 -0
- package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
- package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
- package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
- package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
- package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
- package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
- package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
- package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
- package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
- package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
- package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface paths {
|
|
7
|
+
"/api/organizations/badges/{id}": {
|
|
8
|
+
get: operations["getBadgeById"];
|
|
9
|
+
delete: operations["deleteBadgeById"];
|
|
10
|
+
};
|
|
11
|
+
"/api/organizations/badges": {
|
|
12
|
+
post: operations["createOrUpdateBadge"];
|
|
13
|
+
};
|
|
14
|
+
"/api/identity/badges": {
|
|
15
|
+
get: operations["getAvailableBadges"];
|
|
16
|
+
};
|
|
17
|
+
"/api/identity/users/badges": {
|
|
18
|
+
put: operations["assignBadges"];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface components {
|
|
23
|
+
schemas: {
|
|
24
|
+
/** @description Payload for creating or updating a badge. */
|
|
25
|
+
BadgePayload: {
|
|
26
|
+
/**
|
|
27
|
+
* Format: uuid
|
|
28
|
+
* @description Existing badge ID for updates; omit on create.
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Format: uuid
|
|
33
|
+
* @description The ID of the organization in which this badge is available.
|
|
34
|
+
*/
|
|
35
|
+
org_id: string;
|
|
36
|
+
/**
|
|
37
|
+
* @description unique identifier for the badge ( auto generated )
|
|
38
|
+
* @example Kubernetes-Expert
|
|
39
|
+
*/
|
|
40
|
+
label: string;
|
|
41
|
+
/**
|
|
42
|
+
* @description Concise descriptor for the badge or certificate.
|
|
43
|
+
* @example Kubernetes Expert
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
48
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
49
|
+
*/
|
|
50
|
+
description: string;
|
|
51
|
+
/**
|
|
52
|
+
* Format: uri
|
|
53
|
+
* @description URL to the badge image
|
|
54
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
55
|
+
*/
|
|
56
|
+
image_url: string;
|
|
57
|
+
};
|
|
58
|
+
Badge: {
|
|
59
|
+
/**
|
|
60
|
+
* Format: uuid
|
|
61
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
/**
|
|
65
|
+
* Format: uuid
|
|
66
|
+
* @description The ID of the organization in which this badge is available .
|
|
67
|
+
*/
|
|
68
|
+
org_id: string;
|
|
69
|
+
/**
|
|
70
|
+
* @description unique identifier for the badge ( auto generated )
|
|
71
|
+
* @example Kubernetes-Expert
|
|
72
|
+
*/
|
|
73
|
+
label: string;
|
|
74
|
+
/**
|
|
75
|
+
* @description Concise descriptor for the badge or certificate.
|
|
76
|
+
* @example Kubernetes Expert
|
|
77
|
+
*/
|
|
78
|
+
name: string;
|
|
79
|
+
/**
|
|
80
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
81
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
82
|
+
*/
|
|
83
|
+
description: string;
|
|
84
|
+
/**
|
|
85
|
+
* Format: uri
|
|
86
|
+
* @description URL to the badge image
|
|
87
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
88
|
+
*/
|
|
89
|
+
image_url: string;
|
|
90
|
+
/**
|
|
91
|
+
* Format: date-time
|
|
92
|
+
* @description Timestamp when the resource was created.
|
|
93
|
+
*/
|
|
94
|
+
created_at: string;
|
|
95
|
+
/**
|
|
96
|
+
* Format: date-time
|
|
97
|
+
* @description Timestamp when the resource was updated.
|
|
98
|
+
*/
|
|
99
|
+
updated_at: string;
|
|
100
|
+
/**
|
|
101
|
+
* Format: date-time
|
|
102
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
103
|
+
*/
|
|
104
|
+
deleted_at: string;
|
|
105
|
+
};
|
|
106
|
+
BadgesPage: {
|
|
107
|
+
/** @description The badges of the badgespage. */
|
|
108
|
+
badges?: {
|
|
109
|
+
[key: string]: {
|
|
110
|
+
/**
|
|
111
|
+
* Format: uuid
|
|
112
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
113
|
+
*/
|
|
114
|
+
id: string;
|
|
115
|
+
/**
|
|
116
|
+
* Format: uuid
|
|
117
|
+
* @description The ID of the organization in which this badge is available .
|
|
118
|
+
*/
|
|
119
|
+
org_id: string;
|
|
120
|
+
/**
|
|
121
|
+
* @description unique identifier for the badge ( auto generated )
|
|
122
|
+
* @example Kubernetes-Expert
|
|
123
|
+
*/
|
|
124
|
+
label: string;
|
|
125
|
+
/**
|
|
126
|
+
* @description Concise descriptor for the badge or certificate.
|
|
127
|
+
* @example Kubernetes Expert
|
|
128
|
+
*/
|
|
129
|
+
name: string;
|
|
130
|
+
/**
|
|
131
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
132
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
133
|
+
*/
|
|
134
|
+
description: string;
|
|
135
|
+
/**
|
|
136
|
+
* Format: uri
|
|
137
|
+
* @description URL to the badge image
|
|
138
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
139
|
+
*/
|
|
140
|
+
image_url: string;
|
|
141
|
+
/**
|
|
142
|
+
* Format: date-time
|
|
143
|
+
* @description Timestamp when the resource was created.
|
|
144
|
+
*/
|
|
145
|
+
created_at: string;
|
|
146
|
+
/**
|
|
147
|
+
* Format: date-time
|
|
148
|
+
* @description Timestamp when the resource was updated.
|
|
149
|
+
*/
|
|
150
|
+
updated_at: string;
|
|
151
|
+
/**
|
|
152
|
+
* Format: date-time
|
|
153
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
154
|
+
*/
|
|
155
|
+
deleted_at: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
BadgeAssignmentPayload: {
|
|
160
|
+
/** @description The badges of the badgeassignment. */
|
|
161
|
+
badges?: string[];
|
|
162
|
+
/**
|
|
163
|
+
* Format: uuid
|
|
164
|
+
* @description ID of the user who owns or created this resource.
|
|
165
|
+
*/
|
|
166
|
+
user_id?: string;
|
|
167
|
+
/** @description The notify of the badgeassignment. */
|
|
168
|
+
notify?: boolean;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
responses: {
|
|
172
|
+
/** Invalid request body or request param */
|
|
173
|
+
400: {
|
|
174
|
+
content: {
|
|
175
|
+
"text/plain": string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
/** Expired JWT token used or insufficient privilege */
|
|
179
|
+
401: {
|
|
180
|
+
content: {
|
|
181
|
+
"text/plain": string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
/** Result not found */
|
|
185
|
+
404: {
|
|
186
|
+
content: {
|
|
187
|
+
"text/plain": string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
/** Internal server error */
|
|
191
|
+
500: {
|
|
192
|
+
content: {
|
|
193
|
+
"text/plain": string;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface operations {
|
|
200
|
+
getBadgeById: {
|
|
201
|
+
parameters: {
|
|
202
|
+
path: {
|
|
203
|
+
/** Unique identifier */
|
|
204
|
+
id: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
responses: {
|
|
208
|
+
200: {
|
|
209
|
+
content: {
|
|
210
|
+
"application/json": {
|
|
211
|
+
/**
|
|
212
|
+
* Format: uuid
|
|
213
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
214
|
+
*/
|
|
215
|
+
id: string;
|
|
216
|
+
/**
|
|
217
|
+
* Format: uuid
|
|
218
|
+
* @description The ID of the organization in which this badge is available .
|
|
219
|
+
*/
|
|
220
|
+
org_id: string;
|
|
221
|
+
/**
|
|
222
|
+
* @description unique identifier for the badge ( auto generated )
|
|
223
|
+
* @example Kubernetes-Expert
|
|
224
|
+
*/
|
|
225
|
+
label: string;
|
|
226
|
+
/**
|
|
227
|
+
* @description Concise descriptor for the badge or certificate.
|
|
228
|
+
* @example Kubernetes Expert
|
|
229
|
+
*/
|
|
230
|
+
name: string;
|
|
231
|
+
/**
|
|
232
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
233
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
234
|
+
*/
|
|
235
|
+
description: string;
|
|
236
|
+
/**
|
|
237
|
+
* Format: uri
|
|
238
|
+
* @description URL to the badge image
|
|
239
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
240
|
+
*/
|
|
241
|
+
image_url: string;
|
|
242
|
+
/**
|
|
243
|
+
* Format: date-time
|
|
244
|
+
* @description Timestamp when the resource was created.
|
|
245
|
+
*/
|
|
246
|
+
created_at: string;
|
|
247
|
+
/**
|
|
248
|
+
* Format: date-time
|
|
249
|
+
* @description Timestamp when the resource was updated.
|
|
250
|
+
*/
|
|
251
|
+
updated_at: string;
|
|
252
|
+
/**
|
|
253
|
+
* Format: date-time
|
|
254
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
255
|
+
*/
|
|
256
|
+
deleted_at: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
/** Expired JWT token used or insufficient privilege */
|
|
261
|
+
401: {
|
|
262
|
+
content: {
|
|
263
|
+
"text/plain": string;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
/** Result not found */
|
|
267
|
+
404: {
|
|
268
|
+
content: {
|
|
269
|
+
"text/plain": string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
/** Internal server error */
|
|
273
|
+
500: {
|
|
274
|
+
content: {
|
|
275
|
+
"text/plain": string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
deleteBadgeById: {
|
|
281
|
+
parameters: {
|
|
282
|
+
path: {
|
|
283
|
+
/** Unique identifier */
|
|
284
|
+
id: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
responses: {
|
|
288
|
+
/** Badge deleted */
|
|
289
|
+
204: never;
|
|
290
|
+
/** Expired JWT token used or insufficient privilege */
|
|
291
|
+
401: {
|
|
292
|
+
content: {
|
|
293
|
+
"text/plain": string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
/** Result not found */
|
|
297
|
+
404: {
|
|
298
|
+
content: {
|
|
299
|
+
"text/plain": string;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
/** Internal server error */
|
|
303
|
+
500: {
|
|
304
|
+
content: {
|
|
305
|
+
"text/plain": string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
createOrUpdateBadge: {
|
|
311
|
+
responses: {
|
|
312
|
+
201: {
|
|
313
|
+
content: {
|
|
314
|
+
"application/json": {
|
|
315
|
+
/**
|
|
316
|
+
* Format: uuid
|
|
317
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
318
|
+
*/
|
|
319
|
+
id: string;
|
|
320
|
+
/**
|
|
321
|
+
* Format: uuid
|
|
322
|
+
* @description The ID of the organization in which this badge is available .
|
|
323
|
+
*/
|
|
324
|
+
org_id: string;
|
|
325
|
+
/**
|
|
326
|
+
* @description unique identifier for the badge ( auto generated )
|
|
327
|
+
* @example Kubernetes-Expert
|
|
328
|
+
*/
|
|
329
|
+
label: string;
|
|
330
|
+
/**
|
|
331
|
+
* @description Concise descriptor for the badge or certificate.
|
|
332
|
+
* @example Kubernetes Expert
|
|
333
|
+
*/
|
|
334
|
+
name: string;
|
|
335
|
+
/**
|
|
336
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
337
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
338
|
+
*/
|
|
339
|
+
description: string;
|
|
340
|
+
/**
|
|
341
|
+
* Format: uri
|
|
342
|
+
* @description URL to the badge image
|
|
343
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
344
|
+
*/
|
|
345
|
+
image_url: string;
|
|
346
|
+
/**
|
|
347
|
+
* Format: date-time
|
|
348
|
+
* @description Timestamp when the resource was created.
|
|
349
|
+
*/
|
|
350
|
+
created_at: string;
|
|
351
|
+
/**
|
|
352
|
+
* Format: date-time
|
|
353
|
+
* @description Timestamp when the resource was updated.
|
|
354
|
+
*/
|
|
355
|
+
updated_at: string;
|
|
356
|
+
/**
|
|
357
|
+
* Format: date-time
|
|
358
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
359
|
+
*/
|
|
360
|
+
deleted_at: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
/** Invalid request body or request param */
|
|
365
|
+
400: {
|
|
366
|
+
content: {
|
|
367
|
+
"text/plain": string;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
/** Expired JWT token used or insufficient privilege */
|
|
371
|
+
401: {
|
|
372
|
+
content: {
|
|
373
|
+
"text/plain": string;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
/** Internal server error */
|
|
377
|
+
500: {
|
|
378
|
+
content: {
|
|
379
|
+
"text/plain": string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
requestBody: {
|
|
384
|
+
content: {
|
|
385
|
+
"application/json": {
|
|
386
|
+
/**
|
|
387
|
+
* Format: uuid
|
|
388
|
+
* @description Existing badge ID for updates; omit on create.
|
|
389
|
+
*/
|
|
390
|
+
id?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Format: uuid
|
|
393
|
+
* @description The ID of the organization in which this badge is available.
|
|
394
|
+
*/
|
|
395
|
+
org_id: string;
|
|
396
|
+
/**
|
|
397
|
+
* @description unique identifier for the badge ( auto generated )
|
|
398
|
+
* @example Kubernetes-Expert
|
|
399
|
+
*/
|
|
400
|
+
label: string;
|
|
401
|
+
/**
|
|
402
|
+
* @description Concise descriptor for the badge or certificate.
|
|
403
|
+
* @example Kubernetes Expert
|
|
404
|
+
*/
|
|
405
|
+
name: string;
|
|
406
|
+
/**
|
|
407
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
408
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
409
|
+
*/
|
|
410
|
+
description: string;
|
|
411
|
+
/**
|
|
412
|
+
* Format: uri
|
|
413
|
+
* @description URL to the badge image
|
|
414
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
415
|
+
*/
|
|
416
|
+
image_url: string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
getAvailableBadges: {
|
|
422
|
+
responses: {
|
|
423
|
+
/** Available badges */
|
|
424
|
+
200: {
|
|
425
|
+
content: {
|
|
426
|
+
"application/json": {
|
|
427
|
+
/** @description The badges of the badgespage. */
|
|
428
|
+
badges?: {
|
|
429
|
+
[key: string]: {
|
|
430
|
+
/**
|
|
431
|
+
* Format: uuid
|
|
432
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
433
|
+
*/
|
|
434
|
+
id: string;
|
|
435
|
+
/**
|
|
436
|
+
* Format: uuid
|
|
437
|
+
* @description The ID of the organization in which this badge is available .
|
|
438
|
+
*/
|
|
439
|
+
org_id: string;
|
|
440
|
+
/**
|
|
441
|
+
* @description unique identifier for the badge ( auto generated )
|
|
442
|
+
* @example Kubernetes-Expert
|
|
443
|
+
*/
|
|
444
|
+
label: string;
|
|
445
|
+
/**
|
|
446
|
+
* @description Concise descriptor for the badge or certificate.
|
|
447
|
+
* @example Kubernetes Expert
|
|
448
|
+
*/
|
|
449
|
+
name: string;
|
|
450
|
+
/**
|
|
451
|
+
* @description A description of the milestone achieved, often including criteria for receiving this recognition.
|
|
452
|
+
* @example Awarded for mastering Kubernetes concepts and practices.
|
|
453
|
+
*/
|
|
454
|
+
description: string;
|
|
455
|
+
/**
|
|
456
|
+
* Format: uri
|
|
457
|
+
* @description URL to the badge image
|
|
458
|
+
* @example https://raw.githubusercontent.com/layer5io/layer5-academy/refs/heads/master/static/11111111-1111-1111-1111-111111111111/images/meshery-logo-light.webp
|
|
459
|
+
*/
|
|
460
|
+
image_url: string;
|
|
461
|
+
/**
|
|
462
|
+
* Format: date-time
|
|
463
|
+
* @description Timestamp when the resource was created.
|
|
464
|
+
*/
|
|
465
|
+
created_at: string;
|
|
466
|
+
/**
|
|
467
|
+
* Format: date-time
|
|
468
|
+
* @description Timestamp when the resource was updated.
|
|
469
|
+
*/
|
|
470
|
+
updated_at: string;
|
|
471
|
+
/**
|
|
472
|
+
* Format: date-time
|
|
473
|
+
* @description Timestamp when the resource was deleted, if applicable
|
|
474
|
+
*/
|
|
475
|
+
deleted_at: string;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
/** Invalid request body or request param */
|
|
482
|
+
400: {
|
|
483
|
+
content: {
|
|
484
|
+
"text/plain": string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
/** Expired JWT token used or insufficient privilege */
|
|
488
|
+
401: {
|
|
489
|
+
content: {
|
|
490
|
+
"text/plain": string;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
/** Internal server error */
|
|
494
|
+
500: {
|
|
495
|
+
content: {
|
|
496
|
+
"text/plain": string;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
assignBadges: {
|
|
502
|
+
responses: {
|
|
503
|
+
/** Badge assignment result */
|
|
504
|
+
200: {
|
|
505
|
+
content: {
|
|
506
|
+
"application/json": { [key: string]: unknown };
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
/** Invalid request body or request param */
|
|
510
|
+
400: {
|
|
511
|
+
content: {
|
|
512
|
+
"text/plain": string;
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
/** Expired JWT token used or insufficient privilege */
|
|
516
|
+
401: {
|
|
517
|
+
content: {
|
|
518
|
+
"text/plain": string;
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
/** Internal server error */
|
|
522
|
+
500: {
|
|
523
|
+
content: {
|
|
524
|
+
"text/plain": string;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
requestBody: {
|
|
529
|
+
content: {
|
|
530
|
+
"application/json": {
|
|
531
|
+
/** @description The badges of the badgeassignment. */
|
|
532
|
+
badges?: string[];
|
|
533
|
+
/**
|
|
534
|
+
* Format: uuid
|
|
535
|
+
* @description ID of the user who owns or created this resource.
|
|
536
|
+
*/
|
|
537
|
+
user_id?: string;
|
|
538
|
+
/** @description The notify of the badgeassignment. */
|
|
539
|
+
notify?: boolean;
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export interface external {}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface paths {}
|
|
7
|
+
|
|
8
|
+
export interface components {
|
|
9
|
+
schemas: {
|
|
10
|
+
/**
|
|
11
|
+
* @description Meshery manages entities in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. Entities may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management.
|
|
12
|
+
* @default [
|
|
13
|
+
* {
|
|
14
|
+
* "description": "Configure the visual styles for the component",
|
|
15
|
+
* "displayName": "Styling",
|
|
16
|
+
* "entityState": [
|
|
17
|
+
* "declaration"
|
|
18
|
+
* ],
|
|
19
|
+
* "key": "",
|
|
20
|
+
* "kind": "mutate",
|
|
21
|
+
* "schemaVersion": "capability.meshery.io/v1beta1",
|
|
22
|
+
* "status": "enabled",
|
|
23
|
+
* "subType": "",
|
|
24
|
+
* "type": "style",
|
|
25
|
+
* "version": "0.7.0"
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* "description": "Change the shape of the component",
|
|
29
|
+
* "displayName": "Change Shape",
|
|
30
|
+
* "entityState": [
|
|
31
|
+
* "declaration"
|
|
32
|
+
* ],
|
|
33
|
+
* "key": "",
|
|
34
|
+
* "kind": "mutate",
|
|
35
|
+
* "schemaVersion": "capability.meshery.io/v1beta1",
|
|
36
|
+
* "status": "enabled",
|
|
37
|
+
* "subType": "shape",
|
|
38
|
+
* "type": "style",
|
|
39
|
+
* "version": "0.7.0"
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* "description": "Drag and Drop a component into a parent component in graph view",
|
|
43
|
+
* "displayName": "Compound Drag And Drop",
|
|
44
|
+
* "entityState": [
|
|
45
|
+
* "declaration"
|
|
46
|
+
* ],
|
|
47
|
+
* "key": "",
|
|
48
|
+
* "kind": "interaction",
|
|
49
|
+
* "schemaVersion": "capability.meshery.io/v1beta1",
|
|
50
|
+
* "status": "enabled",
|
|
51
|
+
* "subType": "compoundDnd",
|
|
52
|
+
* "type": "graph",
|
|
53
|
+
* "version": "0.7.0"
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* "description": "Add text to nodes body",
|
|
57
|
+
* "displayName": "Body Text",
|
|
58
|
+
* "entityState": [
|
|
59
|
+
* "declaration"
|
|
60
|
+
* ],
|
|
61
|
+
* "key": "",
|
|
62
|
+
* "kind": "mutate",
|
|
63
|
+
* "schemaVersion": "capability.meshery.io/v1beta1",
|
|
64
|
+
* "status": "enabled",
|
|
65
|
+
* "subType": "body-text",
|
|
66
|
+
* "type": "style",
|
|
67
|
+
* "version": "0.7.0"
|
|
68
|
+
* }
|
|
69
|
+
* ]
|
|
70
|
+
*/
|
|
71
|
+
Capability: {
|
|
72
|
+
/**
|
|
73
|
+
* @description Specifies the version of the schema to which the capability definition conforms.
|
|
74
|
+
* @example [
|
|
75
|
+
* "v1",
|
|
76
|
+
* "v1alpha1",
|
|
77
|
+
* "v2beta3",
|
|
78
|
+
* "v1.custom-suffix",
|
|
79
|
+
* "models.meshery.io/v1beta1",
|
|
80
|
+
* "capability.meshery.io/v1alpha1"
|
|
81
|
+
* ]
|
|
82
|
+
*/
|
|
83
|
+
schemaVersion: string;
|
|
84
|
+
/** @description Version of the capability definition. */
|
|
85
|
+
version: string;
|
|
86
|
+
/** @description Name of the capability in human-readible format. */
|
|
87
|
+
displayName: string;
|
|
88
|
+
/** @description A written representation of the purpose and characteristics of the capability. */
|
|
89
|
+
description: string;
|
|
90
|
+
/** @description Top-level categorization of the capability */
|
|
91
|
+
kind: string;
|
|
92
|
+
/** @description Classification of capabilities. Used to group capabilities similar in nature. */
|
|
93
|
+
type: string;
|
|
94
|
+
/** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
|
|
95
|
+
subType: string;
|
|
96
|
+
/** @description Key that backs the capability. */
|
|
97
|
+
key: string;
|
|
98
|
+
/** @description State of the entity in which the capability is applicable. */
|
|
99
|
+
entityState: ("declaration" | "instance")[];
|
|
100
|
+
/**
|
|
101
|
+
* @description Status of the capability
|
|
102
|
+
* @default enabled
|
|
103
|
+
* @enum {string}
|
|
104
|
+
*/
|
|
105
|
+
status: "enabled" | "disabled";
|
|
106
|
+
/** @description Metadata contains additional information associated with the capability. Extension point. */
|
|
107
|
+
metadata?: { [key: string]: unknown };
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface operations {}
|
|
113
|
+
|
|
114
|
+
export interface external {}
|