@meshery/schemas 0.8.128 → 0.8.129

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