@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.
Files changed (159) 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 -149
  8. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
  9. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
  10. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
  11. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  12. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  13. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
  14. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
  15. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  16. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  17. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
  18. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
  19. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
  20. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
  21. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
  22. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
  23. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
  24. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
  25. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
  26. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
  27. package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
  28. package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
  29. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
  30. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
  31. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  32. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  33. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
  34. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
  35. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  36. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  37. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
  38. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
  39. package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
  40. package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
  41. package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
  42. package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
  43. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
  44. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
  45. package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
  46. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
  47. package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
  48. package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
  49. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
  50. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
  51. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  52. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  53. package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
  54. package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
  55. package/dist/constructs/v1beta1/credential/Credential.js +1 -0
  56. package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
  57. package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
  58. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
  59. package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
  60. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
  61. package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
  62. package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
  63. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
  64. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
  65. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  66. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  67. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
  68. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
  69. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
  70. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
  71. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
  72. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
  73. package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
  74. package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
  75. package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
  76. package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
  77. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
  78. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
  79. package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
  80. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
  81. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
  82. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
  83. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
  84. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
  85. package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
  86. package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
  87. package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
  88. package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
  89. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
  90. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
  91. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
  92. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
  93. package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
  94. package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
  95. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
  96. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
  97. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  98. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  99. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
  100. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
  101. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
  102. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
  103. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
  104. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
  105. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
  106. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
  107. package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
  108. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
  109. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
  110. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
  111. package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
  112. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
  113. package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
  114. package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
  115. package/dist/constructs/v1beta1/role/Role.js +1 -0
  116. package/dist/constructs/v1beta1/role/Role.mjs +0 -0
  117. package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
  118. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
  119. package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
  120. package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
  121. package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
  122. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
  123. package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
  124. package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
  125. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
  126. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
  127. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
  128. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
  129. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
  130. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
  131. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
  132. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
  133. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
  134. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
  135. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
  136. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
  137. package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
  138. package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
  139. package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
  140. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
  141. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  142. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  143. package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
  144. package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
  145. package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
  146. package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
  147. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
  148. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
  149. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
  150. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
  151. package/dist/index.d.mts +1 -1
  152. package/dist/index.d.ts +1 -1
  153. package/dist/index.js +283 -43
  154. package/dist/index.mjs +283 -43
  155. package/dist/mesheryApi.d.mts +2025 -183
  156. package/dist/mesheryApi.d.ts +2025 -183
  157. package/dist/mesheryApi.js +1 -1
  158. package/dist/mesheryApi.mjs +1 -1
  159. package/package.json +1 -1
@@ -2,1224 +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 KeySchema: {
6
- readonly openapi: "3.0.0";
7
- readonly info: {
8
- readonly title: "key";
9
- readonly version: "1.0.0";
10
- };
11
- readonly security: readonly [{
12
- readonly jwt: readonly [];
13
- }];
14
- readonly tags: readonly [{
15
- readonly name: "Key";
16
- readonly description: "Operations related to authorization keys";
17
- }];
18
- readonly paths: {
19
- readonly "/api/identity/orgs/{orgID}/users/keys": {
20
- readonly get: {
21
- readonly tags: readonly ["users"];
22
- readonly operationId: "getUserKeys";
23
- readonly summary: "Get User Keys";
24
- readonly description: "Get all keys based on roles assigned to user";
25
- readonly parameters: readonly [{
26
- readonly name: "orgID";
27
- readonly in: "path";
28
- readonly description: "Organization ID";
29
- readonly required: true;
30
- readonly schema: {
31
- readonly type: "string";
32
- readonly format: "uuid";
33
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
34
- readonly "x-go-type": "uuid.UUID";
35
- readonly "x-go-type-import": {
36
- readonly path: "github.com/gofrs/uuid";
37
- };
38
- };
39
- }];
40
- readonly responses: {
41
- readonly "200": {
42
- readonly description: "Returns user keys based on roles assigned to user";
43
- readonly content: {
44
- readonly "application/json": {
45
- readonly schema: {
46
- readonly type: "object";
47
- readonly required: readonly ["page", "page_size", "total_count", "keys"];
48
- readonly properties: {
49
- readonly page: {
50
- readonly "x-order": 1;
51
- readonly type: "integer";
52
- readonly "x-go-type-skip-optional-pointer": true;
53
- };
54
- readonly page_size: {
55
- readonly "x-order": 2;
56
- readonly type: "integer";
57
- readonly "x-go-type-skip-optional-pointer": true;
58
- };
59
- readonly total_count: {
60
- readonly "x-order": 3;
61
- readonly type: "integer";
62
- readonly "x-go-type-skip-optional-pointer": true;
63
- };
64
- readonly keys: {
65
- readonly type: "array";
66
- readonly items: {
67
- readonly "x-go-type": "Key";
68
- readonly type: "object";
69
- readonly description: "Represents an authorization key used for access control.";
70
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
71
- readonly properties: {
72
- readonly id: {
73
- readonly type: "string";
74
- readonly format: "uuid";
75
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
76
- readonly "x-go-type": "uuid.UUID";
77
- readonly "x-go-type-import": {
78
- readonly path: "github.com/gofrs/uuid";
79
- };
80
- readonly "x-go-name": "ID";
81
- readonly "x-oapi-codegen-extra-tags": {
82
- readonly db: "id";
83
- };
84
- readonly "x-order": 1;
85
- };
86
- readonly owner: {
87
- readonly type: "string";
88
- readonly format: "uuid";
89
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
90
- readonly "x-go-type": "uuid.UUID";
91
- readonly "x-go-type-import": {
92
- readonly path: "github.com/gofrs/uuid";
93
- };
94
- readonly "x-go-name": "Owner";
95
- readonly "x-oapi-codegen-extra-tags": {
96
- readonly db: "owner";
97
- };
98
- readonly "x-order": 2;
99
- };
100
- readonly function: {
101
- readonly type: "string";
102
- readonly description: "Operation permitted by the key.";
103
- readonly "x-oapi-codegen-extra-tags": {
104
- readonly db: "function";
105
- };
106
- readonly "x-order": 3;
107
- };
108
- readonly category: {
109
- readonly type: "string";
110
- readonly description: "Category for the key.";
111
- readonly "x-oapi-codegen-extra-tags": {
112
- readonly db: "category";
113
- };
114
- readonly "x-order": 4;
115
- };
116
- readonly subcategory: {
117
- readonly type: "string";
118
- readonly description: "Subcategory for the key.";
119
- readonly "x-oapi-codegen-extra-tags": {
120
- readonly db: "subcategory";
121
- };
122
- readonly "x-order": 5;
123
- };
124
- readonly description: {
125
- readonly type: "string";
126
- readonly description: "Human readable description of the key.";
127
- readonly "x-oapi-codegen-extra-tags": {
128
- readonly db: "description";
129
- };
130
- readonly "x-order": 6;
131
- };
132
- readonly created_at: {
133
- readonly "x-order": 7;
134
- readonly description: "Timestamp when the resource was created.";
135
- readonly "x-go-type": "time.Time";
136
- readonly type: "string";
137
- readonly format: "date-time";
138
- readonly "x-go-name": "CreatedAt";
139
- readonly "x-oapi-codegen-extra-tags": {
140
- readonly db: "created_at";
141
- readonly yaml: "created_at";
142
- };
143
- readonly "x-go-type-skip-optional-pointer": true;
144
- };
145
- readonly updated_at: {
146
- readonly "x-order": 8;
147
- readonly description: "Timestamp when the resource was updated.";
148
- readonly "x-go-type": "time.Time";
149
- readonly type: "string";
150
- readonly format: "date-time";
151
- readonly "x-go-name": "UpdatedAt";
152
- readonly "x-oapi-codegen-extra-tags": {
153
- readonly db: "updated_at";
154
- readonly yaml: "updated_at";
155
- };
156
- readonly "x-go-type-skip-optional-pointer": true;
157
- };
158
- readonly deleted_at: {
159
- readonly "x-oapi-codegen-extra-tags": {
160
- readonly db: "deleted_at";
161
- };
162
- readonly "x-order": 9;
163
- readonly description: "SQL null Timestamp to handle null values of time.";
164
- readonly "x-go-type": "sql.NullTime";
165
- readonly type: "string";
166
- readonly "x-go-type-skip-optional-pointer": true;
167
- };
168
- };
169
- };
170
- readonly "x-order": 4;
171
- };
172
- };
173
- };
174
- };
175
- };
176
- };
177
- readonly "401": {
178
- readonly description: "Expired JWT token used or insufficient privilege";
179
- readonly content: {
180
- readonly "text/plain": {
181
- readonly schema: {
182
- readonly type: "string";
183
- };
184
- };
185
- };
186
- };
187
- readonly "500": {
188
- readonly description: "Internal server error";
189
- readonly content: {
190
- readonly "text/plain": {
191
- readonly schema: {
192
- readonly type: "string";
193
- };
194
- };
195
- };
196
- };
197
- };
198
- };
199
- };
200
- readonly "/api/auth/keys": {
201
- readonly get: {
202
- readonly "x-internal": readonly ["cloud"];
203
- readonly tags: readonly ["Key"];
204
- readonly summary: "List key";
205
- readonly operationId: "getKeys";
206
- readonly parameters: readonly [{
207
- readonly name: "page";
208
- readonly in: "query";
209
- readonly description: "Get responses by page";
210
- readonly schema: {
211
- readonly type: "string";
212
- };
213
- }, {
214
- readonly name: "pagesize";
215
- readonly in: "query";
216
- readonly description: "Get responses by pagesize";
217
- readonly schema: {
218
- readonly type: "string";
219
- };
220
- }, {
221
- readonly name: "search";
222
- readonly in: "query";
223
- readonly description: "Get responses that match search param value";
224
- readonly schema: {
225
- readonly type: "string";
226
- };
227
- }, {
228
- readonly name: "order";
229
- readonly in: "query";
230
- readonly description: "Get ordered responses";
231
- readonly schema: {
232
- readonly type: "string";
233
- };
234
- }];
235
- readonly responses: {
236
- readonly "200": {
237
- readonly description: "Keys fetched";
238
- readonly content: {
239
- readonly "application/json": {
240
- readonly schema: {
241
- readonly type: "object";
242
- readonly required: readonly ["page", "page_size", "total_count", "keys"];
243
- readonly properties: {
244
- readonly page: {
245
- readonly "x-order": 1;
246
- readonly type: "integer";
247
- readonly "x-go-type-skip-optional-pointer": true;
248
- };
249
- readonly page_size: {
250
- readonly "x-order": 2;
251
- readonly type: "integer";
252
- readonly "x-go-type-skip-optional-pointer": true;
253
- };
254
- readonly total_count: {
255
- readonly "x-order": 3;
256
- readonly type: "integer";
257
- readonly "x-go-type-skip-optional-pointer": true;
258
- };
259
- readonly keys: {
260
- readonly type: "array";
261
- readonly items: {
262
- readonly "x-go-type": "Key";
263
- readonly type: "object";
264
- readonly description: "Represents an authorization key used for access control.";
265
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
266
- readonly properties: {
267
- readonly id: {
268
- readonly type: "string";
269
- readonly format: "uuid";
270
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
271
- readonly "x-go-type": "uuid.UUID";
272
- readonly "x-go-type-import": {
273
- readonly path: "github.com/gofrs/uuid";
274
- };
275
- readonly "x-go-name": "ID";
276
- readonly "x-oapi-codegen-extra-tags": {
277
- readonly db: "id";
278
- };
279
- readonly "x-order": 1;
280
- };
281
- readonly owner: {
282
- readonly type: "string";
283
- readonly format: "uuid";
284
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
285
- readonly "x-go-type": "uuid.UUID";
286
- readonly "x-go-type-import": {
287
- readonly path: "github.com/gofrs/uuid";
288
- };
289
- readonly "x-go-name": "Owner";
290
- readonly "x-oapi-codegen-extra-tags": {
291
- readonly db: "owner";
292
- };
293
- readonly "x-order": 2;
294
- };
295
- readonly function: {
296
- readonly type: "string";
297
- readonly description: "Operation permitted by the key.";
298
- readonly "x-oapi-codegen-extra-tags": {
299
- readonly db: "function";
300
- };
301
- readonly "x-order": 3;
302
- };
303
- readonly category: {
304
- readonly type: "string";
305
- readonly description: "Category for the key.";
306
- readonly "x-oapi-codegen-extra-tags": {
307
- readonly db: "category";
308
- };
309
- readonly "x-order": 4;
310
- };
311
- readonly subcategory: {
312
- readonly type: "string";
313
- readonly description: "Subcategory for the key.";
314
- readonly "x-oapi-codegen-extra-tags": {
315
- readonly db: "subcategory";
316
- };
317
- readonly "x-order": 5;
318
- };
319
- readonly description: {
320
- readonly type: "string";
321
- readonly description: "Human readable description of the key.";
322
- readonly "x-oapi-codegen-extra-tags": {
323
- readonly db: "description";
324
- };
325
- readonly "x-order": 6;
326
- };
327
- readonly created_at: {
328
- readonly "x-order": 7;
329
- readonly description: "Timestamp when the resource was created.";
330
- readonly "x-go-type": "time.Time";
331
- readonly type: "string";
332
- readonly format: "date-time";
333
- readonly "x-go-name": "CreatedAt";
334
- readonly "x-oapi-codegen-extra-tags": {
335
- readonly db: "created_at";
336
- readonly yaml: "created_at";
337
- };
338
- readonly "x-go-type-skip-optional-pointer": true;
339
- };
340
- readonly updated_at: {
341
- readonly "x-order": 8;
342
- readonly description: "Timestamp when the resource was updated.";
343
- readonly "x-go-type": "time.Time";
344
- readonly type: "string";
345
- readonly format: "date-time";
346
- readonly "x-go-name": "UpdatedAt";
347
- readonly "x-oapi-codegen-extra-tags": {
348
- readonly db: "updated_at";
349
- readonly yaml: "updated_at";
350
- };
351
- readonly "x-go-type-skip-optional-pointer": true;
352
- };
353
- readonly deleted_at: {
354
- readonly "x-oapi-codegen-extra-tags": {
355
- readonly db: "deleted_at";
356
- };
357
- readonly "x-order": 9;
358
- readonly description: "SQL null Timestamp to handle null values of time.";
359
- readonly "x-go-type": "sql.NullTime";
360
- readonly type: "string";
361
- readonly "x-go-type-skip-optional-pointer": true;
362
- };
363
- };
364
- };
365
- readonly "x-order": 4;
366
- };
367
- };
368
- };
369
- };
370
- };
371
- };
372
- readonly "400": {
373
- readonly description: "Invalid request body or request param";
374
- readonly content: {
375
- readonly "text/plain": {
376
- readonly schema: {
377
- readonly type: "string";
378
- };
379
- };
380
- };
381
- };
382
- readonly "401": {
383
- readonly description: "Expired JWT token used or insufficient privilege";
384
- readonly content: {
385
- readonly "text/plain": {
386
- readonly schema: {
387
- readonly type: "string";
388
- };
389
- };
390
- };
391
- };
392
- readonly "500": {
393
- readonly description: "Internal server error";
394
- readonly content: {
395
- readonly "text/plain": {
396
- readonly schema: {
397
- readonly type: "string";
398
- };
399
- };
400
- };
401
- };
402
- };
403
- };
404
- readonly post: {
405
- readonly "x-internal": readonly ["cloud"];
406
- readonly tags: readonly ["Key"];
407
- readonly summary: "Create or update a key";
408
- readonly operationId: "upsertKey";
409
- readonly requestBody: {
410
- readonly required: true;
411
- readonly content: {
412
- readonly "application/json": {
413
- readonly schema: {
414
- readonly type: "object";
415
- readonly description: "Payload for creating or updating a key.";
416
- readonly properties: {
417
- readonly id: {
418
- readonly type: "string";
419
- readonly format: "uuid";
420
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
421
- readonly "x-go-type": "uuid.UUID";
422
- readonly "x-go-type-import": {
423
- readonly path: "github.com/gofrs/uuid";
424
- };
425
- readonly "x-order": 1;
426
- };
427
- readonly function: {
428
- readonly type: "string";
429
- readonly description: "Operation permitted by the key.";
430
- readonly "x-order": 2;
431
- };
432
- readonly category: {
433
- readonly type: "string";
434
- readonly description: "Category for the key.";
435
- readonly "x-order": 3;
436
- };
437
- readonly subcategory: {
438
- readonly type: "string";
439
- readonly description: "Subcategory for the key.";
440
- readonly "x-order": 4;
441
- };
442
- readonly description: {
443
- readonly type: "string";
444
- readonly description: "Human readable description of the key.";
445
- readonly "x-order": 5;
446
- };
447
- };
448
- };
449
- };
450
- };
451
- };
452
- readonly responses: {
453
- readonly "200": {
454
- readonly description: "Key upserted successfully";
455
- readonly content: {
456
- readonly "application/json": {
457
- readonly schema: {
458
- readonly type: "object";
459
- readonly description: "Represents an authorization key used for access control.";
460
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
461
- readonly properties: {
462
- readonly id: {
463
- readonly type: "string";
464
- readonly format: "uuid";
465
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
466
- readonly "x-go-type": "uuid.UUID";
467
- readonly "x-go-type-import": {
468
- readonly path: "github.com/gofrs/uuid";
469
- };
470
- readonly "x-go-name": "ID";
471
- readonly "x-oapi-codegen-extra-tags": {
472
- readonly db: "id";
473
- };
474
- readonly "x-order": 1;
475
- };
476
- readonly owner: {
477
- readonly type: "string";
478
- readonly format: "uuid";
479
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
480
- readonly "x-go-type": "uuid.UUID";
481
- readonly "x-go-type-import": {
482
- readonly path: "github.com/gofrs/uuid";
483
- };
484
- readonly "x-go-name": "Owner";
485
- readonly "x-oapi-codegen-extra-tags": {
486
- readonly db: "owner";
487
- };
488
- readonly "x-order": 2;
489
- };
490
- readonly function: {
491
- readonly type: "string";
492
- readonly description: "Operation permitted by the key.";
493
- readonly "x-oapi-codegen-extra-tags": {
494
- readonly db: "function";
495
- };
496
- readonly "x-order": 3;
497
- };
498
- readonly category: {
499
- readonly type: "string";
500
- readonly description: "Category for the key.";
501
- readonly "x-oapi-codegen-extra-tags": {
502
- readonly db: "category";
503
- };
504
- readonly "x-order": 4;
505
- };
506
- readonly subcategory: {
507
- readonly type: "string";
508
- readonly description: "Subcategory for the key.";
509
- readonly "x-oapi-codegen-extra-tags": {
510
- readonly db: "subcategory";
511
- };
512
- readonly "x-order": 5;
513
- };
514
- readonly description: {
515
- readonly type: "string";
516
- readonly description: "Human readable description of the key.";
517
- readonly "x-oapi-codegen-extra-tags": {
518
- readonly db: "description";
519
- };
520
- readonly "x-order": 6;
521
- };
522
- readonly created_at: {
523
- readonly "x-order": 7;
524
- readonly description: "Timestamp when the resource was created.";
525
- readonly "x-go-type": "time.Time";
526
- readonly type: "string";
527
- readonly format: "date-time";
528
- readonly "x-go-name": "CreatedAt";
529
- readonly "x-oapi-codegen-extra-tags": {
530
- readonly db: "created_at";
531
- readonly yaml: "created_at";
532
- };
533
- readonly "x-go-type-skip-optional-pointer": true;
534
- };
535
- readonly updated_at: {
536
- readonly "x-order": 8;
537
- readonly description: "Timestamp when the resource was updated.";
538
- readonly "x-go-type": "time.Time";
539
- readonly type: "string";
540
- readonly format: "date-time";
541
- readonly "x-go-name": "UpdatedAt";
542
- readonly "x-oapi-codegen-extra-tags": {
543
- readonly db: "updated_at";
544
- readonly yaml: "updated_at";
545
- };
546
- readonly "x-go-type-skip-optional-pointer": true;
547
- };
548
- readonly deleted_at: {
549
- readonly "x-oapi-codegen-extra-tags": {
550
- readonly db: "deleted_at";
551
- };
552
- readonly "x-order": 9;
553
- readonly description: "SQL null Timestamp to handle null values of time.";
554
- readonly "x-go-type": "sql.NullTime";
555
- readonly type: "string";
556
- readonly "x-go-type-skip-optional-pointer": true;
557
- };
558
- };
559
- };
560
- };
561
- };
562
- };
563
- readonly "400": {
564
- readonly description: "Invalid request body or request param";
565
- readonly content: {
566
- readonly "text/plain": {
567
- readonly schema: {
568
- readonly type: "string";
569
- };
570
- };
571
- };
572
- };
573
- readonly "401": {
574
- readonly description: "Expired JWT token used or insufficient privilege";
575
- readonly content: {
576
- readonly "text/plain": {
577
- readonly schema: {
578
- readonly type: "string";
579
- };
580
- };
581
- };
582
- };
583
- readonly "500": {
584
- readonly description: "Internal server error";
585
- readonly content: {
586
- readonly "text/plain": {
587
- readonly schema: {
588
- readonly type: "string";
589
- };
590
- };
591
- };
592
- };
593
- };
594
- };
595
- };
596
- readonly "/api/auth/key/{keyId}": {
597
- readonly get: {
598
- readonly "x-internal": readonly ["cloud"];
599
- readonly tags: readonly ["Key"];
600
- readonly summary: "Get key by ID";
601
- readonly operationId: "getKeyById";
602
- readonly parameters: readonly [{
603
- readonly name: "keyId";
604
- readonly in: "path";
605
- readonly description: "Key ID";
606
- readonly required: true;
607
- readonly schema: {
608
- readonly type: "string";
609
- readonly format: "uuid";
610
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
611
- readonly "x-go-type": "uuid.UUID";
612
- readonly "x-go-type-import": {
613
- readonly path: "github.com/gofrs/uuid";
614
- };
615
- };
616
- }];
617
- readonly responses: {
618
- readonly "200": {
619
- readonly description: "Key fetched successfully";
620
- readonly content: {
621
- readonly "application/json": {
622
- readonly schema: {
623
- readonly type: "object";
624
- readonly description: "Represents an authorization key used for access control.";
625
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
626
- readonly properties: {
627
- readonly id: {
628
- readonly type: "string";
629
- readonly format: "uuid";
630
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
631
- readonly "x-go-type": "uuid.UUID";
632
- readonly "x-go-type-import": {
633
- readonly path: "github.com/gofrs/uuid";
634
- };
635
- readonly "x-go-name": "ID";
636
- readonly "x-oapi-codegen-extra-tags": {
637
- readonly db: "id";
638
- };
639
- readonly "x-order": 1;
640
- };
641
- readonly owner: {
642
- readonly type: "string";
643
- readonly format: "uuid";
644
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
645
- readonly "x-go-type": "uuid.UUID";
646
- readonly "x-go-type-import": {
647
- readonly path: "github.com/gofrs/uuid";
648
- };
649
- readonly "x-go-name": "Owner";
650
- readonly "x-oapi-codegen-extra-tags": {
651
- readonly db: "owner";
652
- };
653
- readonly "x-order": 2;
654
- };
655
- readonly function: {
656
- readonly type: "string";
657
- readonly description: "Operation permitted by the key.";
658
- readonly "x-oapi-codegen-extra-tags": {
659
- readonly db: "function";
660
- };
661
- readonly "x-order": 3;
662
- };
663
- readonly category: {
664
- readonly type: "string";
665
- readonly description: "Category for the key.";
666
- readonly "x-oapi-codegen-extra-tags": {
667
- readonly db: "category";
668
- };
669
- readonly "x-order": 4;
670
- };
671
- readonly subcategory: {
672
- readonly type: "string";
673
- readonly description: "Subcategory for the key.";
674
- readonly "x-oapi-codegen-extra-tags": {
675
- readonly db: "subcategory";
676
- };
677
- readonly "x-order": 5;
678
- };
679
- readonly description: {
680
- readonly type: "string";
681
- readonly description: "Human readable description of the key.";
682
- readonly "x-oapi-codegen-extra-tags": {
683
- readonly db: "description";
684
- };
685
- readonly "x-order": 6;
686
- };
687
- readonly created_at: {
688
- readonly "x-order": 7;
689
- readonly description: "Timestamp when the resource was created.";
690
- readonly "x-go-type": "time.Time";
691
- readonly type: "string";
692
- readonly format: "date-time";
693
- readonly "x-go-name": "CreatedAt";
694
- readonly "x-oapi-codegen-extra-tags": {
695
- readonly db: "created_at";
696
- readonly yaml: "created_at";
697
- };
698
- readonly "x-go-type-skip-optional-pointer": true;
699
- };
700
- readonly updated_at: {
701
- readonly "x-order": 8;
702
- readonly description: "Timestamp when the resource was updated.";
703
- readonly "x-go-type": "time.Time";
704
- readonly type: "string";
705
- readonly format: "date-time";
706
- readonly "x-go-name": "UpdatedAt";
707
- readonly "x-oapi-codegen-extra-tags": {
708
- readonly db: "updated_at";
709
- readonly yaml: "updated_at";
710
- };
711
- readonly "x-go-type-skip-optional-pointer": true;
712
- };
713
- readonly deleted_at: {
714
- readonly "x-oapi-codegen-extra-tags": {
715
- readonly db: "deleted_at";
716
- };
717
- readonly "x-order": 9;
718
- readonly description: "SQL null Timestamp to handle null values of time.";
719
- readonly "x-go-type": "sql.NullTime";
720
- readonly type: "string";
721
- readonly "x-go-type-skip-optional-pointer": true;
722
- };
723
- };
724
- };
725
- };
726
- };
727
- };
728
- readonly "400": {
729
- readonly description: "Invalid request body or request param";
730
- readonly content: {
731
- readonly "text/plain": {
732
- readonly schema: {
733
- readonly type: "string";
734
- };
735
- };
736
- };
737
- };
738
- readonly "401": {
739
- readonly description: "Expired JWT token used or insufficient privilege";
740
- readonly content: {
741
- readonly "text/plain": {
742
- readonly schema: {
743
- readonly type: "string";
744
- };
745
- };
746
- };
747
- };
748
- readonly "404": {
749
- readonly description: "Result not found";
750
- readonly content: {
751
- readonly "text/plain": {
752
- readonly schema: {
753
- readonly type: "string";
754
- };
755
- };
756
- };
757
- };
758
- readonly "500": {
759
- readonly description: "Internal server error";
760
- readonly content: {
761
- readonly "text/plain": {
762
- readonly schema: {
763
- readonly type: "string";
764
- };
765
- };
766
- };
767
- };
768
- };
769
- };
770
- readonly delete: {
771
- readonly "x-internal": readonly ["cloud"];
772
- readonly tags: readonly ["Key"];
773
- readonly summary: "Delete key";
774
- readonly operationId: "deleteKey";
775
- readonly parameters: readonly [{
776
- readonly name: "keyId";
777
- readonly in: "path";
778
- readonly description: "Key ID";
779
- readonly required: true;
780
- readonly schema: {
781
- readonly type: "string";
782
- readonly format: "uuid";
783
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
784
- readonly "x-go-type": "uuid.UUID";
785
- readonly "x-go-type-import": {
786
- readonly path: "github.com/gofrs/uuid";
787
- };
788
- };
789
- }];
790
- readonly responses: {
791
- readonly "204": {
792
- readonly description: "Key deleted successfully";
793
- };
794
- readonly "400": {
795
- readonly description: "Invalid request body or request param";
796
- readonly content: {
797
- readonly "text/plain": {
798
- readonly schema: {
799
- readonly type: "string";
800
- };
801
- };
802
- };
803
- };
804
- readonly "401": {
805
- readonly description: "Expired JWT token used or insufficient privilege";
806
- readonly content: {
807
- readonly "text/plain": {
808
- readonly schema: {
809
- readonly type: "string";
810
- };
811
- };
812
- };
813
- };
814
- readonly "404": {
815
- readonly description: "Result not found";
816
- readonly content: {
817
- readonly "text/plain": {
818
- readonly schema: {
819
- readonly type: "string";
820
- };
821
- };
822
- };
823
- };
824
- readonly "500": {
825
- readonly description: "Internal server error";
826
- readonly content: {
827
- readonly "text/plain": {
828
- readonly schema: {
829
- readonly type: "string";
830
- };
831
- };
832
- };
833
- };
834
- };
835
- };
836
- };
837
- };
838
- readonly components: {
839
- readonly responses: {
840
- readonly "400": {
841
- readonly description: "Invalid request body or request param";
842
- readonly content: {
843
- readonly "text/plain": {
844
- readonly schema: {
845
- readonly type: "string";
846
- };
847
- };
848
- };
849
- };
850
- readonly "401": {
851
- readonly description: "Expired JWT token used or insufficient privilege";
852
- readonly content: {
853
- readonly "text/plain": {
854
- readonly schema: {
855
- readonly type: "string";
856
- };
857
- };
858
- };
859
- };
860
- readonly "404": {
861
- readonly description: "Result not found";
862
- readonly content: {
863
- readonly "text/plain": {
864
- readonly schema: {
865
- readonly type: "string";
866
- };
867
- };
868
- };
869
- };
870
- readonly "500": {
871
- readonly description: "Internal server error";
872
- readonly content: {
873
- readonly "text/plain": {
874
- readonly schema: {
875
- readonly type: "string";
876
- };
877
- };
878
- };
879
- };
880
- };
881
- readonly parameters: {
882
- readonly orgID: {
883
- readonly name: "orgID";
884
- readonly in: "path";
885
- readonly description: "Organization ID";
886
- readonly required: true;
887
- readonly schema: {
888
- readonly type: "string";
889
- readonly format: "uuid";
890
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
891
- readonly "x-go-type": "uuid.UUID";
892
- readonly "x-go-type-import": {
893
- readonly path: "github.com/gofrs/uuid";
894
- };
895
- };
896
- };
897
- readonly keyId: {
898
- readonly name: "keyId";
899
- readonly in: "path";
900
- readonly description: "Key ID";
901
- readonly required: true;
902
- readonly schema: {
903
- readonly type: "string";
904
- readonly format: "uuid";
905
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
906
- readonly "x-go-type": "uuid.UUID";
907
- readonly "x-go-type-import": {
908
- readonly path: "github.com/gofrs/uuid";
909
- };
910
- };
911
- };
912
- readonly page: {
913
- readonly name: "page";
914
- readonly in: "query";
915
- readonly description: "Get responses by page";
916
- readonly schema: {
917
- readonly type: "string";
918
- };
919
- };
920
- readonly pagesize: {
921
- readonly name: "pagesize";
922
- readonly in: "query";
923
- readonly description: "Get responses by pagesize";
924
- readonly schema: {
925
- readonly type: "string";
926
- };
927
- };
928
- readonly order: {
929
- readonly name: "order";
930
- readonly in: "query";
931
- readonly description: "Get ordered responses";
932
- readonly schema: {
933
- readonly type: "string";
934
- };
935
- };
936
- readonly search: {
937
- readonly name: "search";
938
- readonly in: "query";
939
- readonly description: "Get responses that match search param value";
940
- readonly schema: {
941
- readonly type: "string";
942
- };
943
- };
944
- };
945
- readonly securitySchemes: {
946
- readonly jwt: {
947
- readonly type: "http";
948
- readonly scheme: "bearer";
949
- readonly bearerFormat: "JWT";
950
- };
951
- };
952
- readonly schemas: {
953
- readonly Key: {
954
- readonly type: "object";
955
- readonly description: "Represents an authorization key used for access control.";
956
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
957
- readonly properties: {
958
- readonly id: {
959
- readonly type: "string";
960
- readonly format: "uuid";
961
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
962
- readonly "x-go-type": "uuid.UUID";
963
- readonly "x-go-type-import": {
964
- readonly path: "github.com/gofrs/uuid";
965
- };
966
- readonly "x-go-name": "ID";
967
- readonly "x-oapi-codegen-extra-tags": {
968
- readonly db: "id";
969
- };
970
- readonly "x-order": 1;
971
- };
972
- readonly owner: {
973
- readonly type: "string";
974
- readonly format: "uuid";
975
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
976
- readonly "x-go-type": "uuid.UUID";
977
- readonly "x-go-type-import": {
978
- readonly path: "github.com/gofrs/uuid";
979
- };
980
- readonly "x-go-name": "Owner";
981
- readonly "x-oapi-codegen-extra-tags": {
982
- readonly db: "owner";
983
- };
984
- readonly "x-order": 2;
985
- };
986
- readonly function: {
987
- readonly type: "string";
988
- readonly description: "Operation permitted by the key.";
989
- readonly "x-oapi-codegen-extra-tags": {
990
- readonly db: "function";
991
- };
992
- readonly "x-order": 3;
993
- };
994
- readonly category: {
995
- readonly type: "string";
996
- readonly description: "Category for the key.";
997
- readonly "x-oapi-codegen-extra-tags": {
998
- readonly db: "category";
999
- };
1000
- readonly "x-order": 4;
1001
- };
1002
- readonly subcategory: {
1003
- readonly type: "string";
1004
- readonly description: "Subcategory for the key.";
1005
- readonly "x-oapi-codegen-extra-tags": {
1006
- readonly db: "subcategory";
1007
- };
1008
- readonly "x-order": 5;
1009
- };
1010
- readonly description: {
1011
- readonly type: "string";
1012
- readonly description: "Human readable description of the key.";
1013
- readonly "x-oapi-codegen-extra-tags": {
1014
- readonly db: "description";
1015
- };
1016
- readonly "x-order": 6;
1017
- };
1018
- readonly created_at: {
1019
- readonly "x-order": 7;
1020
- readonly description: "Timestamp when the resource was created.";
1021
- readonly "x-go-type": "time.Time";
1022
- readonly type: "string";
1023
- readonly format: "date-time";
1024
- readonly "x-go-name": "CreatedAt";
1025
- readonly "x-oapi-codegen-extra-tags": {
1026
- readonly db: "created_at";
1027
- readonly yaml: "created_at";
1028
- };
1029
- readonly "x-go-type-skip-optional-pointer": true;
1030
- };
1031
- readonly updated_at: {
1032
- readonly "x-order": 8;
1033
- readonly description: "Timestamp when the resource was updated.";
1034
- readonly "x-go-type": "time.Time";
1035
- readonly type: "string";
1036
- readonly format: "date-time";
1037
- readonly "x-go-name": "UpdatedAt";
1038
- readonly "x-oapi-codegen-extra-tags": {
1039
- readonly db: "updated_at";
1040
- readonly yaml: "updated_at";
1041
- };
1042
- readonly "x-go-type-skip-optional-pointer": true;
1043
- };
1044
- readonly deleted_at: {
1045
- readonly "x-oapi-codegen-extra-tags": {
1046
- readonly db: "deleted_at";
1047
- };
1048
- readonly "x-order": 9;
1049
- readonly description: "SQL null Timestamp to handle null values of time.";
1050
- readonly "x-go-type": "sql.NullTime";
1051
- readonly type: "string";
1052
- readonly "x-go-type-skip-optional-pointer": true;
1053
- };
1054
- };
1055
- };
1056
- readonly KeyPayload: {
1057
- readonly type: "object";
1058
- readonly description: "Payload for creating or updating a key.";
1059
- readonly properties: {
1060
- readonly id: {
1061
- readonly type: "string";
1062
- readonly format: "uuid";
1063
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1064
- readonly "x-go-type": "uuid.UUID";
1065
- readonly "x-go-type-import": {
1066
- readonly path: "github.com/gofrs/uuid";
1067
- };
1068
- readonly "x-order": 1;
1069
- };
1070
- readonly function: {
1071
- readonly type: "string";
1072
- readonly description: "Operation permitted by the key.";
1073
- readonly "x-order": 2;
1074
- };
1075
- readonly category: {
1076
- readonly type: "string";
1077
- readonly description: "Category for the key.";
1078
- readonly "x-order": 3;
1079
- };
1080
- readonly subcategory: {
1081
- readonly type: "string";
1082
- readonly description: "Subcategory for the key.";
1083
- readonly "x-order": 4;
1084
- };
1085
- readonly description: {
1086
- readonly type: "string";
1087
- readonly description: "Human readable description of the key.";
1088
- readonly "x-order": 5;
1089
- };
1090
- };
1091
- };
1092
- readonly KeyPage: {
1093
- readonly type: "object";
1094
- readonly required: readonly ["page", "page_size", "total_count", "keys"];
1095
- readonly properties: {
1096
- readonly page: {
1097
- readonly "x-order": 1;
1098
- readonly type: "integer";
1099
- readonly "x-go-type-skip-optional-pointer": true;
1100
- };
1101
- readonly page_size: {
1102
- readonly "x-order": 2;
1103
- readonly type: "integer";
1104
- readonly "x-go-type-skip-optional-pointer": true;
1105
- };
1106
- readonly total_count: {
1107
- readonly "x-order": 3;
1108
- readonly type: "integer";
1109
- readonly "x-go-type-skip-optional-pointer": true;
1110
- };
1111
- readonly keys: {
1112
- readonly type: "array";
1113
- readonly items: {
1114
- readonly "x-go-type": "Key";
1115
- readonly type: "object";
1116
- readonly description: "Represents an authorization key used for access control.";
1117
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
1118
- readonly properties: {
1119
- readonly id: {
1120
- readonly type: "string";
1121
- readonly format: "uuid";
1122
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1123
- readonly "x-go-type": "uuid.UUID";
1124
- readonly "x-go-type-import": {
1125
- readonly path: "github.com/gofrs/uuid";
1126
- };
1127
- readonly "x-go-name": "ID";
1128
- readonly "x-oapi-codegen-extra-tags": {
1129
- readonly db: "id";
1130
- };
1131
- readonly "x-order": 1;
1132
- };
1133
- readonly owner: {
1134
- readonly type: "string";
1135
- readonly format: "uuid";
1136
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1137
- readonly "x-go-type": "uuid.UUID";
1138
- readonly "x-go-type-import": {
1139
- readonly path: "github.com/gofrs/uuid";
1140
- };
1141
- readonly "x-go-name": "Owner";
1142
- readonly "x-oapi-codegen-extra-tags": {
1143
- readonly db: "owner";
1144
- };
1145
- readonly "x-order": 2;
1146
- };
1147
- readonly function: {
1148
- readonly type: "string";
1149
- readonly description: "Operation permitted by the key.";
1150
- readonly "x-oapi-codegen-extra-tags": {
1151
- readonly db: "function";
1152
- };
1153
- readonly "x-order": 3;
1154
- };
1155
- readonly category: {
1156
- readonly type: "string";
1157
- readonly description: "Category for the key.";
1158
- readonly "x-oapi-codegen-extra-tags": {
1159
- readonly db: "category";
1160
- };
1161
- readonly "x-order": 4;
1162
- };
1163
- readonly subcategory: {
1164
- readonly type: "string";
1165
- readonly description: "Subcategory for the key.";
1166
- readonly "x-oapi-codegen-extra-tags": {
1167
- readonly db: "subcategory";
1168
- };
1169
- readonly "x-order": 5;
1170
- };
1171
- readonly description: {
1172
- readonly type: "string";
1173
- readonly description: "Human readable description of the key.";
1174
- readonly "x-oapi-codegen-extra-tags": {
1175
- readonly db: "description";
1176
- };
1177
- readonly "x-order": 6;
1178
- };
1179
- readonly created_at: {
1180
- readonly "x-order": 7;
1181
- readonly description: "Timestamp when the resource was created.";
1182
- readonly "x-go-type": "time.Time";
1183
- readonly type: "string";
1184
- readonly format: "date-time";
1185
- readonly "x-go-name": "CreatedAt";
1186
- readonly "x-oapi-codegen-extra-tags": {
1187
- readonly db: "created_at";
1188
- readonly yaml: "created_at";
1189
- };
1190
- readonly "x-go-type-skip-optional-pointer": true;
1191
- };
1192
- readonly updated_at: {
1193
- readonly "x-order": 8;
1194
- readonly description: "Timestamp when the resource was updated.";
1195
- readonly "x-go-type": "time.Time";
1196
- readonly type: "string";
1197
- readonly format: "date-time";
1198
- readonly "x-go-name": "UpdatedAt";
1199
- readonly "x-oapi-codegen-extra-tags": {
1200
- readonly db: "updated_at";
1201
- readonly yaml: "updated_at";
1202
- };
1203
- readonly "x-go-type-skip-optional-pointer": true;
1204
- };
1205
- readonly deleted_at: {
1206
- readonly "x-oapi-codegen-extra-tags": {
1207
- readonly db: "deleted_at";
1208
- };
1209
- readonly "x-order": 9;
1210
- readonly description: "SQL null Timestamp to handle null values of time.";
1211
- readonly "x-go-type": "sql.NullTime";
1212
- readonly type: "string";
1213
- readonly "x-go-type-skip-optional-pointer": true;
1214
- };
1215
- };
1216
- };
1217
- readonly "x-order": 4;
1218
- };
1219
- };
1220
- };
1221
- };
1222
- };
1223
- };
5
+ declare const KeySchema: Record<string, unknown>;
1224
6
 
1225
7
  export { KeySchema as default };