@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,1558 +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 KeychainSchema: {
6
- readonly openapi: "3.0.0";
7
- readonly info: {
8
- readonly title: "Keychain";
9
- readonly description: "OpenAPI schema for keychain 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: "Keychain";
26
- readonly description: "Operations related to keychains";
27
- }];
28
- readonly paths: {
29
- readonly "/api/auth/keychains": {
30
- readonly get: {
31
- readonly "x-internal": readonly ["cloud"];
32
- readonly tags: readonly ["Keychain"];
33
- readonly summary: "List keychains";
34
- readonly operationId: "getKeychains";
35
- readonly parameters: readonly [{
36
- readonly name: "page";
37
- readonly in: "query";
38
- readonly description: "Get responses by page";
39
- readonly schema: {
40
- readonly type: "string";
41
- };
42
- }, {
43
- readonly name: "pagesize";
44
- readonly in: "query";
45
- readonly description: "Get responses by pagesize";
46
- readonly schema: {
47
- readonly type: "string";
48
- };
49
- }, {
50
- readonly name: "search";
51
- readonly in: "query";
52
- readonly description: "Get responses that match search param value";
53
- readonly schema: {
54
- readonly type: "string";
55
- };
56
- }, {
57
- readonly name: "order";
58
- readonly in: "query";
59
- readonly description: "Get ordered responses";
60
- readonly schema: {
61
- readonly type: "string";
62
- };
63
- }];
64
- readonly responses: {
65
- readonly "200": {
66
- readonly description: "Keychain(s) fetched";
67
- readonly content: {
68
- readonly "application/json": {
69
- readonly schema: {
70
- readonly type: "object";
71
- readonly required: readonly ["page", "page_size", "total_count", "keychains"];
72
- readonly properties: {
73
- readonly page: {
74
- readonly "x-order": 1;
75
- readonly type: "integer";
76
- readonly "x-go-type-skip-optional-pointer": true;
77
- };
78
- readonly page_size: {
79
- readonly "x-order": 2;
80
- readonly type: "integer";
81
- readonly "x-go-type-skip-optional-pointer": true;
82
- };
83
- readonly total_count: {
84
- readonly "x-order": 3;
85
- readonly type: "integer";
86
- readonly "x-go-type-skip-optional-pointer": true;
87
- };
88
- readonly keychains: {
89
- readonly type: "array";
90
- readonly items: {
91
- readonly "x-go-type": "Keychain";
92
- readonly type: "object";
93
- readonly description: "Represents a collection of keys.";
94
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
95
- readonly properties: {
96
- readonly id: {
97
- readonly description: "Unique identifier for the keychain.";
98
- readonly "x-go-name": "ID";
99
- readonly "x-oapi-codegen-extra-tags": {
100
- readonly db: "id";
101
- };
102
- readonly "x-order": 1;
103
- readonly type: "string";
104
- readonly format: "uuid";
105
- readonly "x-go-type": "uuid.UUID";
106
- readonly "x-go-type-import": {
107
- readonly path: "github.com/gofrs/uuid";
108
- };
109
- };
110
- readonly name: {
111
- readonly type: "string";
112
- readonly description: "Name of the keychain.";
113
- readonly "x-oapi-codegen-extra-tags": {
114
- readonly db: "name";
115
- };
116
- readonly "x-order": 2;
117
- };
118
- readonly owner: {
119
- readonly description: "Owner of the keychain.";
120
- readonly "x-oapi-codegen-extra-tags": {
121
- readonly db: "owner";
122
- };
123
- readonly "x-order": 3;
124
- readonly type: "string";
125
- readonly format: "uuid";
126
- readonly "x-go-type": "uuid.UUID";
127
- readonly "x-go-type-import": {
128
- readonly path: "github.com/gofrs/uuid";
129
- };
130
- };
131
- readonly created_at: {
132
- readonly "x-order": 4;
133
- readonly description: "Timestamp when the resource was created.";
134
- readonly "x-go-type": "time.Time";
135
- readonly type: "string";
136
- readonly format: "date-time";
137
- readonly "x-go-name": "CreatedAt";
138
- readonly "x-oapi-codegen-extra-tags": {
139
- readonly db: "created_at";
140
- readonly yaml: "created_at";
141
- };
142
- readonly "x-go-type-skip-optional-pointer": true;
143
- };
144
- readonly updated_at: {
145
- readonly "x-order": 5;
146
- readonly description: "Timestamp when the resource was updated.";
147
- readonly "x-go-type": "time.Time";
148
- readonly type: "string";
149
- readonly format: "date-time";
150
- readonly "x-go-name": "UpdatedAt";
151
- readonly "x-oapi-codegen-extra-tags": {
152
- readonly db: "updated_at";
153
- readonly yaml: "updated_at";
154
- };
155
- readonly "x-go-type-skip-optional-pointer": true;
156
- };
157
- readonly deleted_at: {
158
- readonly "x-oapi-codegen-extra-tags": {
159
- readonly db: "deleted_at";
160
- };
161
- readonly "x-order": 6;
162
- readonly description: "SQL null Timestamp to handle null values of time.";
163
- readonly "x-go-type": "sql.NullTime";
164
- readonly type: "string";
165
- readonly "x-go-type-skip-optional-pointer": true;
166
- };
167
- };
168
- };
169
- readonly "x-order": 4;
170
- };
171
- };
172
- };
173
- };
174
- };
175
- };
176
- readonly "400": {
177
- readonly description: "Invalid request body or request param";
178
- readonly content: {
179
- readonly "text/plain": {
180
- readonly schema: {
181
- readonly type: "string";
182
- };
183
- };
184
- };
185
- };
186
- readonly "401": {
187
- readonly description: "Expired JWT token used or insufficient privilege";
188
- readonly content: {
189
- readonly "text/plain": {
190
- readonly schema: {
191
- readonly type: "string";
192
- };
193
- };
194
- };
195
- };
196
- readonly "500": {
197
- readonly description: "Internal server error";
198
- readonly content: {
199
- readonly "text/plain": {
200
- readonly schema: {
201
- readonly type: "string";
202
- };
203
- };
204
- };
205
- };
206
- };
207
- };
208
- readonly post: {
209
- readonly "x-internal": readonly ["cloud"];
210
- readonly tags: readonly ["Keychain"];
211
- readonly summary: "Create a keychain";
212
- readonly operationId: "createKeychain";
213
- readonly requestBody: {
214
- readonly required: true;
215
- readonly content: {
216
- readonly "application/json": {
217
- readonly schema: {
218
- readonly type: "object";
219
- readonly description: "Represents a collection of keys.";
220
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
221
- readonly properties: {
222
- readonly id: {
223
- readonly description: "Unique identifier for the keychain.";
224
- readonly "x-go-name": "ID";
225
- readonly "x-oapi-codegen-extra-tags": {
226
- readonly db: "id";
227
- };
228
- readonly "x-order": 1;
229
- readonly type: "string";
230
- readonly format: "uuid";
231
- readonly "x-go-type": "uuid.UUID";
232
- readonly "x-go-type-import": {
233
- readonly path: "github.com/gofrs/uuid";
234
- };
235
- };
236
- readonly name: {
237
- readonly type: "string";
238
- readonly description: "Name of the keychain.";
239
- readonly "x-oapi-codegen-extra-tags": {
240
- readonly db: "name";
241
- };
242
- readonly "x-order": 2;
243
- };
244
- readonly owner: {
245
- readonly description: "Owner of the keychain.";
246
- readonly "x-oapi-codegen-extra-tags": {
247
- readonly db: "owner";
248
- };
249
- readonly "x-order": 3;
250
- readonly type: "string";
251
- readonly format: "uuid";
252
- readonly "x-go-type": "uuid.UUID";
253
- readonly "x-go-type-import": {
254
- readonly path: "github.com/gofrs/uuid";
255
- };
256
- };
257
- readonly created_at: {
258
- readonly "x-order": 4;
259
- readonly description: "Timestamp when the resource was created.";
260
- readonly "x-go-type": "time.Time";
261
- readonly type: "string";
262
- readonly format: "date-time";
263
- readonly "x-go-name": "CreatedAt";
264
- readonly "x-oapi-codegen-extra-tags": {
265
- readonly db: "created_at";
266
- readonly yaml: "created_at";
267
- };
268
- readonly "x-go-type-skip-optional-pointer": true;
269
- };
270
- readonly updated_at: {
271
- readonly "x-order": 5;
272
- readonly description: "Timestamp when the resource was updated.";
273
- readonly "x-go-type": "time.Time";
274
- readonly type: "string";
275
- readonly format: "date-time";
276
- readonly "x-go-name": "UpdatedAt";
277
- readonly "x-oapi-codegen-extra-tags": {
278
- readonly db: "updated_at";
279
- readonly yaml: "updated_at";
280
- };
281
- readonly "x-go-type-skip-optional-pointer": true;
282
- };
283
- readonly deleted_at: {
284
- readonly "x-oapi-codegen-extra-tags": {
285
- readonly db: "deleted_at";
286
- };
287
- readonly "x-order": 6;
288
- readonly description: "SQL null Timestamp to handle null values of time.";
289
- readonly "x-go-type": "sql.NullTime";
290
- readonly type: "string";
291
- readonly "x-go-type-skip-optional-pointer": true;
292
- };
293
- };
294
- };
295
- };
296
- };
297
- };
298
- readonly responses: {
299
- readonly "200": {
300
- readonly description: "Keychain created";
301
- readonly content: {
302
- readonly "application/json": {
303
- readonly schema: {
304
- readonly type: "object";
305
- readonly description: "Represents a collection of keys.";
306
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
307
- readonly properties: {
308
- readonly id: {
309
- readonly description: "Unique identifier for the keychain.";
310
- readonly "x-go-name": "ID";
311
- readonly "x-oapi-codegen-extra-tags": {
312
- readonly db: "id";
313
- };
314
- readonly "x-order": 1;
315
- readonly type: "string";
316
- readonly format: "uuid";
317
- readonly "x-go-type": "uuid.UUID";
318
- readonly "x-go-type-import": {
319
- readonly path: "github.com/gofrs/uuid";
320
- };
321
- };
322
- readonly name: {
323
- readonly type: "string";
324
- readonly description: "Name of the keychain.";
325
- readonly "x-oapi-codegen-extra-tags": {
326
- readonly db: "name";
327
- };
328
- readonly "x-order": 2;
329
- };
330
- readonly owner: {
331
- readonly description: "Owner of the keychain.";
332
- readonly "x-oapi-codegen-extra-tags": {
333
- readonly db: "owner";
334
- };
335
- readonly "x-order": 3;
336
- readonly type: "string";
337
- readonly format: "uuid";
338
- readonly "x-go-type": "uuid.UUID";
339
- readonly "x-go-type-import": {
340
- readonly path: "github.com/gofrs/uuid";
341
- };
342
- };
343
- readonly created_at: {
344
- readonly "x-order": 4;
345
- readonly description: "Timestamp when the resource was created.";
346
- readonly "x-go-type": "time.Time";
347
- readonly type: "string";
348
- readonly format: "date-time";
349
- readonly "x-go-name": "CreatedAt";
350
- readonly "x-oapi-codegen-extra-tags": {
351
- readonly db: "created_at";
352
- readonly yaml: "created_at";
353
- };
354
- readonly "x-go-type-skip-optional-pointer": true;
355
- };
356
- readonly updated_at: {
357
- readonly "x-order": 5;
358
- readonly description: "Timestamp when the resource was updated.";
359
- readonly "x-go-type": "time.Time";
360
- readonly type: "string";
361
- readonly format: "date-time";
362
- readonly "x-go-name": "UpdatedAt";
363
- readonly "x-oapi-codegen-extra-tags": {
364
- readonly db: "updated_at";
365
- readonly yaml: "updated_at";
366
- };
367
- readonly "x-go-type-skip-optional-pointer": true;
368
- };
369
- readonly deleted_at: {
370
- readonly "x-oapi-codegen-extra-tags": {
371
- readonly db: "deleted_at";
372
- };
373
- readonly "x-order": 6;
374
- readonly description: "SQL null Timestamp to handle null values of time.";
375
- readonly "x-go-type": "sql.NullTime";
376
- readonly type: "string";
377
- readonly "x-go-type-skip-optional-pointer": true;
378
- };
379
- };
380
- };
381
- };
382
- };
383
- };
384
- readonly "400": {
385
- readonly description: "Invalid request body or request param";
386
- readonly content: {
387
- readonly "text/plain": {
388
- readonly schema: {
389
- readonly type: "string";
390
- };
391
- };
392
- };
393
- };
394
- readonly "401": {
395
- readonly description: "Expired JWT token used or insufficient privilege";
396
- readonly content: {
397
- readonly "text/plain": {
398
- readonly schema: {
399
- readonly type: "string";
400
- };
401
- };
402
- };
403
- };
404
- readonly "500": {
405
- readonly description: "Internal server error";
406
- readonly content: {
407
- readonly "text/plain": {
408
- readonly schema: {
409
- readonly type: "string";
410
- };
411
- };
412
- };
413
- };
414
- };
415
- };
416
- };
417
- readonly "/api/auth/keychains/{keychainId}": {
418
- readonly get: {
419
- readonly "x-internal": readonly ["cloud"];
420
- readonly tags: readonly ["Keychain"];
421
- readonly summary: "Get keychain by ID";
422
- readonly operationId: "getKeychainById";
423
- readonly parameters: readonly [{
424
- readonly name: "keychainId";
425
- readonly in: "path";
426
- readonly description: "Keychain ID";
427
- readonly required: true;
428
- readonly schema: {
429
- readonly type: "string";
430
- readonly format: "uuid";
431
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
432
- readonly "x-go-type": "uuid.UUID";
433
- readonly "x-go-type-import": {
434
- readonly path: "github.com/gofrs/uuid";
435
- };
436
- };
437
- }];
438
- readonly responses: {
439
- readonly "200": {
440
- readonly description: "Keychain fetched";
441
- readonly content: {
442
- readonly "application/json": {
443
- readonly schema: {
444
- readonly type: "object";
445
- readonly description: "Represents a collection of keys.";
446
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
447
- readonly properties: {
448
- readonly id: {
449
- readonly description: "Unique identifier for the keychain.";
450
- readonly "x-go-name": "ID";
451
- readonly "x-oapi-codegen-extra-tags": {
452
- readonly db: "id";
453
- };
454
- readonly "x-order": 1;
455
- readonly type: "string";
456
- readonly format: "uuid";
457
- readonly "x-go-type": "uuid.UUID";
458
- readonly "x-go-type-import": {
459
- readonly path: "github.com/gofrs/uuid";
460
- };
461
- };
462
- readonly name: {
463
- readonly type: "string";
464
- readonly description: "Name of the keychain.";
465
- readonly "x-oapi-codegen-extra-tags": {
466
- readonly db: "name";
467
- };
468
- readonly "x-order": 2;
469
- };
470
- readonly owner: {
471
- readonly description: "Owner of the keychain.";
472
- readonly "x-oapi-codegen-extra-tags": {
473
- readonly db: "owner";
474
- };
475
- readonly "x-order": 3;
476
- readonly type: "string";
477
- readonly format: "uuid";
478
- readonly "x-go-type": "uuid.UUID";
479
- readonly "x-go-type-import": {
480
- readonly path: "github.com/gofrs/uuid";
481
- };
482
- };
483
- readonly created_at: {
484
- readonly "x-order": 4;
485
- readonly description: "Timestamp when the resource was created.";
486
- readonly "x-go-type": "time.Time";
487
- readonly type: "string";
488
- readonly format: "date-time";
489
- readonly "x-go-name": "CreatedAt";
490
- readonly "x-oapi-codegen-extra-tags": {
491
- readonly db: "created_at";
492
- readonly yaml: "created_at";
493
- };
494
- readonly "x-go-type-skip-optional-pointer": true;
495
- };
496
- readonly updated_at: {
497
- readonly "x-order": 5;
498
- readonly description: "Timestamp when the resource was updated.";
499
- readonly "x-go-type": "time.Time";
500
- readonly type: "string";
501
- readonly format: "date-time";
502
- readonly "x-go-name": "UpdatedAt";
503
- readonly "x-oapi-codegen-extra-tags": {
504
- readonly db: "updated_at";
505
- readonly yaml: "updated_at";
506
- };
507
- readonly "x-go-type-skip-optional-pointer": true;
508
- };
509
- readonly deleted_at: {
510
- readonly "x-oapi-codegen-extra-tags": {
511
- readonly db: "deleted_at";
512
- };
513
- readonly "x-order": 6;
514
- readonly description: "SQL null Timestamp to handle null values of time.";
515
- readonly "x-go-type": "sql.NullTime";
516
- readonly type: "string";
517
- readonly "x-go-type-skip-optional-pointer": true;
518
- };
519
- };
520
- };
521
- };
522
- };
523
- };
524
- readonly "400": {
525
- readonly description: "Invalid request body or request param";
526
- readonly content: {
527
- readonly "text/plain": {
528
- readonly schema: {
529
- readonly type: "string";
530
- };
531
- };
532
- };
533
- };
534
- readonly "401": {
535
- readonly description: "Expired JWT token used or insufficient privilege";
536
- readonly content: {
537
- readonly "text/plain": {
538
- readonly schema: {
539
- readonly type: "string";
540
- };
541
- };
542
- };
543
- };
544
- readonly "404": {
545
- readonly description: "Result not found";
546
- readonly content: {
547
- readonly "text/plain": {
548
- readonly schema: {
549
- readonly type: "string";
550
- };
551
- };
552
- };
553
- };
554
- readonly "500": {
555
- readonly description: "Internal server error";
556
- readonly content: {
557
- readonly "text/plain": {
558
- readonly schema: {
559
- readonly type: "string";
560
- };
561
- };
562
- };
563
- };
564
- };
565
- };
566
- readonly put: {
567
- readonly "x-internal": readonly ["cloud"];
568
- readonly tags: readonly ["Keychain"];
569
- readonly summary: "Update keychain";
570
- readonly operationId: "updateKeychain";
571
- readonly parameters: readonly [{
572
- readonly name: "keychainId";
573
- readonly in: "path";
574
- readonly description: "Keychain ID";
575
- readonly required: true;
576
- readonly schema: {
577
- readonly type: "string";
578
- readonly format: "uuid";
579
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
580
- readonly "x-go-type": "uuid.UUID";
581
- readonly "x-go-type-import": {
582
- readonly path: "github.com/gofrs/uuid";
583
- };
584
- };
585
- }];
586
- readonly requestBody: {
587
- readonly required: true;
588
- readonly content: {
589
- readonly "application/json": {
590
- readonly schema: {
591
- readonly type: "object";
592
- readonly description: "Represents a collection of keys.";
593
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
594
- readonly properties: {
595
- readonly id: {
596
- readonly description: "Unique identifier for the keychain.";
597
- readonly "x-go-name": "ID";
598
- readonly "x-oapi-codegen-extra-tags": {
599
- readonly db: "id";
600
- };
601
- readonly "x-order": 1;
602
- readonly type: "string";
603
- readonly format: "uuid";
604
- readonly "x-go-type": "uuid.UUID";
605
- readonly "x-go-type-import": {
606
- readonly path: "github.com/gofrs/uuid";
607
- };
608
- };
609
- readonly name: {
610
- readonly type: "string";
611
- readonly description: "Name of the keychain.";
612
- readonly "x-oapi-codegen-extra-tags": {
613
- readonly db: "name";
614
- };
615
- readonly "x-order": 2;
616
- };
617
- readonly owner: {
618
- readonly description: "Owner of the keychain.";
619
- readonly "x-oapi-codegen-extra-tags": {
620
- readonly db: "owner";
621
- };
622
- readonly "x-order": 3;
623
- readonly type: "string";
624
- readonly format: "uuid";
625
- readonly "x-go-type": "uuid.UUID";
626
- readonly "x-go-type-import": {
627
- readonly path: "github.com/gofrs/uuid";
628
- };
629
- };
630
- readonly created_at: {
631
- readonly "x-order": 4;
632
- readonly description: "Timestamp when the resource was created.";
633
- readonly "x-go-type": "time.Time";
634
- readonly type: "string";
635
- readonly format: "date-time";
636
- readonly "x-go-name": "CreatedAt";
637
- readonly "x-oapi-codegen-extra-tags": {
638
- readonly db: "created_at";
639
- readonly yaml: "created_at";
640
- };
641
- readonly "x-go-type-skip-optional-pointer": true;
642
- };
643
- readonly updated_at: {
644
- readonly "x-order": 5;
645
- readonly description: "Timestamp when the resource was updated.";
646
- readonly "x-go-type": "time.Time";
647
- readonly type: "string";
648
- readonly format: "date-time";
649
- readonly "x-go-name": "UpdatedAt";
650
- readonly "x-oapi-codegen-extra-tags": {
651
- readonly db: "updated_at";
652
- readonly yaml: "updated_at";
653
- };
654
- readonly "x-go-type-skip-optional-pointer": true;
655
- };
656
- readonly deleted_at: {
657
- readonly "x-oapi-codegen-extra-tags": {
658
- readonly db: "deleted_at";
659
- };
660
- readonly "x-order": 6;
661
- readonly description: "SQL null Timestamp to handle null values of time.";
662
- readonly "x-go-type": "sql.NullTime";
663
- readonly type: "string";
664
- readonly "x-go-type-skip-optional-pointer": true;
665
- };
666
- };
667
- };
668
- };
669
- };
670
- };
671
- readonly responses: {
672
- readonly "200": {
673
- readonly description: "Keychain updated";
674
- readonly content: {
675
- readonly "application/json": {
676
- readonly schema: {
677
- readonly type: "object";
678
- readonly description: "Represents a collection of keys.";
679
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
680
- readonly properties: {
681
- readonly id: {
682
- readonly description: "Unique identifier for the keychain.";
683
- readonly "x-go-name": "ID";
684
- readonly "x-oapi-codegen-extra-tags": {
685
- readonly db: "id";
686
- };
687
- readonly "x-order": 1;
688
- readonly type: "string";
689
- readonly format: "uuid";
690
- readonly "x-go-type": "uuid.UUID";
691
- readonly "x-go-type-import": {
692
- readonly path: "github.com/gofrs/uuid";
693
- };
694
- };
695
- readonly name: {
696
- readonly type: "string";
697
- readonly description: "Name of the keychain.";
698
- readonly "x-oapi-codegen-extra-tags": {
699
- readonly db: "name";
700
- };
701
- readonly "x-order": 2;
702
- };
703
- readonly owner: {
704
- readonly description: "Owner of the keychain.";
705
- readonly "x-oapi-codegen-extra-tags": {
706
- readonly db: "owner";
707
- };
708
- readonly "x-order": 3;
709
- readonly type: "string";
710
- readonly format: "uuid";
711
- readonly "x-go-type": "uuid.UUID";
712
- readonly "x-go-type-import": {
713
- readonly path: "github.com/gofrs/uuid";
714
- };
715
- };
716
- readonly created_at: {
717
- readonly "x-order": 4;
718
- readonly description: "Timestamp when the resource was created.";
719
- readonly "x-go-type": "time.Time";
720
- readonly type: "string";
721
- readonly format: "date-time";
722
- readonly "x-go-name": "CreatedAt";
723
- readonly "x-oapi-codegen-extra-tags": {
724
- readonly db: "created_at";
725
- readonly yaml: "created_at";
726
- };
727
- readonly "x-go-type-skip-optional-pointer": true;
728
- };
729
- readonly updated_at: {
730
- readonly "x-order": 5;
731
- readonly description: "Timestamp when the resource was updated.";
732
- readonly "x-go-type": "time.Time";
733
- readonly type: "string";
734
- readonly format: "date-time";
735
- readonly "x-go-name": "UpdatedAt";
736
- readonly "x-oapi-codegen-extra-tags": {
737
- readonly db: "updated_at";
738
- readonly yaml: "updated_at";
739
- };
740
- readonly "x-go-type-skip-optional-pointer": true;
741
- };
742
- readonly deleted_at: {
743
- readonly "x-oapi-codegen-extra-tags": {
744
- readonly db: "deleted_at";
745
- };
746
- readonly "x-order": 6;
747
- readonly description: "SQL null Timestamp to handle null values of time.";
748
- readonly "x-go-type": "sql.NullTime";
749
- readonly type: "string";
750
- readonly "x-go-type-skip-optional-pointer": true;
751
- };
752
- };
753
- };
754
- };
755
- };
756
- };
757
- readonly "400": {
758
- readonly description: "Invalid request body or request param";
759
- readonly content: {
760
- readonly "text/plain": {
761
- readonly schema: {
762
- readonly type: "string";
763
- };
764
- };
765
- };
766
- };
767
- readonly "401": {
768
- readonly description: "Expired JWT token used or insufficient privilege";
769
- readonly content: {
770
- readonly "text/plain": {
771
- readonly schema: {
772
- readonly type: "string";
773
- };
774
- };
775
- };
776
- };
777
- readonly "404": {
778
- readonly description: "Result not found";
779
- readonly content: {
780
- readonly "text/plain": {
781
- readonly schema: {
782
- readonly type: "string";
783
- };
784
- };
785
- };
786
- };
787
- readonly "500": {
788
- readonly description: "Internal server error";
789
- readonly content: {
790
- readonly "text/plain": {
791
- readonly schema: {
792
- readonly type: "string";
793
- };
794
- };
795
- };
796
- };
797
- };
798
- };
799
- readonly delete: {
800
- readonly "x-internal": readonly ["cloud"];
801
- readonly tags: readonly ["Keychain"];
802
- readonly summary: "Delete keychain";
803
- readonly operationId: "deleteKeychain";
804
- readonly parameters: readonly [{
805
- readonly name: "keychainId";
806
- readonly in: "path";
807
- readonly description: "Keychain ID";
808
- readonly required: true;
809
- readonly schema: {
810
- readonly type: "string";
811
- readonly format: "uuid";
812
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
813
- readonly "x-go-type": "uuid.UUID";
814
- readonly "x-go-type-import": {
815
- readonly path: "github.com/gofrs/uuid";
816
- };
817
- };
818
- }];
819
- readonly responses: {
820
- readonly "204": {
821
- readonly description: "Keychain deleted";
822
- };
823
- readonly "400": {
824
- readonly description: "Invalid request body or request param";
825
- readonly content: {
826
- readonly "text/plain": {
827
- readonly schema: {
828
- readonly type: "string";
829
- };
830
- };
831
- };
832
- };
833
- readonly "401": {
834
- readonly description: "Expired JWT token used or insufficient privilege";
835
- readonly content: {
836
- readonly "text/plain": {
837
- readonly schema: {
838
- readonly type: "string";
839
- };
840
- };
841
- };
842
- };
843
- readonly "404": {
844
- readonly description: "Result not found";
845
- readonly content: {
846
- readonly "text/plain": {
847
- readonly schema: {
848
- readonly type: "string";
849
- };
850
- };
851
- };
852
- };
853
- readonly "500": {
854
- readonly description: "Internal server error";
855
- readonly content: {
856
- readonly "text/plain": {
857
- readonly schema: {
858
- readonly type: "string";
859
- };
860
- };
861
- };
862
- };
863
- };
864
- };
865
- };
866
- readonly "/api/auth/keychains/{keychainId}/{keyId}": {
867
- readonly post: {
868
- readonly "x-internal": readonly ["cloud"];
869
- readonly tags: readonly ["Keychain"];
870
- readonly summary: "Add key to keychain";
871
- readonly operationId: "addKeyToKeychain";
872
- readonly parameters: readonly [{
873
- readonly name: "keychainId";
874
- readonly in: "path";
875
- readonly description: "Keychain ID";
876
- readonly required: true;
877
- readonly schema: {
878
- readonly type: "string";
879
- readonly format: "uuid";
880
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
881
- readonly "x-go-type": "uuid.UUID";
882
- readonly "x-go-type-import": {
883
- readonly path: "github.com/gofrs/uuid";
884
- };
885
- };
886
- }, {
887
- readonly name: "keyId";
888
- readonly in: "path";
889
- readonly description: "Key ID";
890
- readonly required: true;
891
- readonly schema: {
892
- readonly type: "string";
893
- readonly format: "uuid";
894
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
895
- readonly "x-go-type": "uuid.UUID";
896
- readonly "x-go-type-import": {
897
- readonly path: "github.com/gofrs/uuid";
898
- };
899
- };
900
- }];
901
- readonly responses: {
902
- readonly "204": {
903
- readonly description: "Key added to keychain";
904
- };
905
- readonly "400": {
906
- readonly description: "Invalid request body or request param";
907
- readonly content: {
908
- readonly "text/plain": {
909
- readonly schema: {
910
- readonly type: "string";
911
- };
912
- };
913
- };
914
- };
915
- readonly "401": {
916
- readonly description: "Expired JWT token used or insufficient privilege";
917
- readonly content: {
918
- readonly "text/plain": {
919
- readonly schema: {
920
- readonly type: "string";
921
- };
922
- };
923
- };
924
- };
925
- readonly "404": {
926
- readonly description: "Result not found";
927
- readonly content: {
928
- readonly "text/plain": {
929
- readonly schema: {
930
- readonly type: "string";
931
- };
932
- };
933
- };
934
- };
935
- readonly "500": {
936
- readonly description: "Internal server error";
937
- readonly content: {
938
- readonly "text/plain": {
939
- readonly schema: {
940
- readonly type: "string";
941
- };
942
- };
943
- };
944
- };
945
- };
946
- };
947
- readonly delete: {
948
- readonly "x-internal": readonly ["cloud"];
949
- readonly tags: readonly ["Keychain"];
950
- readonly summary: "Remove key from keychain";
951
- readonly operationId: "removeKeyFromKeychain";
952
- readonly parameters: readonly [{
953
- readonly name: "keychainId";
954
- readonly in: "path";
955
- readonly description: "Keychain ID";
956
- readonly required: true;
957
- readonly schema: {
958
- readonly type: "string";
959
- readonly format: "uuid";
960
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
961
- readonly "x-go-type": "uuid.UUID";
962
- readonly "x-go-type-import": {
963
- readonly path: "github.com/gofrs/uuid";
964
- };
965
- };
966
- }, {
967
- readonly name: "keyId";
968
- readonly in: "path";
969
- readonly description: "Key ID";
970
- readonly required: true;
971
- readonly schema: {
972
- readonly type: "string";
973
- readonly format: "uuid";
974
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
975
- readonly "x-go-type": "uuid.UUID";
976
- readonly "x-go-type-import": {
977
- readonly path: "github.com/gofrs/uuid";
978
- };
979
- };
980
- }];
981
- readonly responses: {
982
- readonly "204": {
983
- readonly description: "Key removed from keychain";
984
- };
985
- readonly "400": {
986
- readonly description: "Invalid request body or request param";
987
- readonly content: {
988
- readonly "text/plain": {
989
- readonly schema: {
990
- readonly type: "string";
991
- };
992
- };
993
- };
994
- };
995
- readonly "401": {
996
- readonly description: "Expired JWT token used or insufficient privilege";
997
- readonly content: {
998
- readonly "text/plain": {
999
- readonly schema: {
1000
- readonly type: "string";
1001
- };
1002
- };
1003
- };
1004
- };
1005
- readonly "404": {
1006
- readonly description: "Result not found";
1007
- readonly content: {
1008
- readonly "text/plain": {
1009
- readonly schema: {
1010
- readonly type: "string";
1011
- };
1012
- };
1013
- };
1014
- };
1015
- readonly "500": {
1016
- readonly description: "Internal server error";
1017
- readonly content: {
1018
- readonly "text/plain": {
1019
- readonly schema: {
1020
- readonly type: "string";
1021
- };
1022
- };
1023
- };
1024
- };
1025
- };
1026
- };
1027
- };
1028
- readonly "/api/auth/keychains/{keychainId}/keys": {
1029
- readonly get: {
1030
- readonly "x-internal": readonly ["cloud"];
1031
- readonly tags: readonly ["Keychain"];
1032
- readonly summary: "List keys in a keychain";
1033
- readonly operationId: "getKeysOfKeychain";
1034
- readonly parameters: readonly [{
1035
- readonly name: "keychainId";
1036
- readonly in: "path";
1037
- readonly description: "Keychain ID";
1038
- readonly required: true;
1039
- readonly schema: {
1040
- readonly type: "string";
1041
- readonly format: "uuid";
1042
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1043
- readonly "x-go-type": "uuid.UUID";
1044
- readonly "x-go-type-import": {
1045
- readonly path: "github.com/gofrs/uuid";
1046
- };
1047
- };
1048
- }, {
1049
- readonly name: "page";
1050
- readonly in: "query";
1051
- readonly description: "Get responses by page";
1052
- readonly schema: {
1053
- readonly type: "string";
1054
- };
1055
- }, {
1056
- readonly name: "pagesize";
1057
- readonly in: "query";
1058
- readonly description: "Get responses by pagesize";
1059
- readonly schema: {
1060
- readonly type: "string";
1061
- };
1062
- }, {
1063
- readonly name: "search";
1064
- readonly in: "query";
1065
- readonly description: "Get responses that match search param value";
1066
- readonly schema: {
1067
- readonly type: "string";
1068
- };
1069
- }, {
1070
- readonly name: "order";
1071
- readonly in: "query";
1072
- readonly description: "Get ordered responses";
1073
- readonly schema: {
1074
- readonly type: "string";
1075
- };
1076
- }];
1077
- readonly responses: {
1078
- readonly "200": {
1079
- readonly description: "Keys fetched successfully";
1080
- readonly content: {
1081
- readonly "application/json": {
1082
- readonly schema: {
1083
- readonly type: "object";
1084
- readonly required: readonly ["page", "page_size", "total_count", "keys"];
1085
- readonly properties: {
1086
- readonly page: {
1087
- readonly "x-order": 1;
1088
- readonly type: "integer";
1089
- readonly "x-go-type-skip-optional-pointer": true;
1090
- };
1091
- readonly page_size: {
1092
- readonly "x-order": 2;
1093
- readonly type: "integer";
1094
- readonly "x-go-type-skip-optional-pointer": true;
1095
- };
1096
- readonly total_count: {
1097
- readonly "x-order": 3;
1098
- readonly type: "integer";
1099
- readonly "x-go-type-skip-optional-pointer": true;
1100
- };
1101
- readonly keys: {
1102
- readonly type: "array";
1103
- readonly items: {
1104
- readonly "x-go-type": "Key";
1105
- readonly type: "object";
1106
- readonly description: "Represents an authorization key used for access control.";
1107
- readonly required: readonly ["id", "owner", "function", "category", "subcategory", "description", "created_at", "updated_at"];
1108
- readonly properties: {
1109
- readonly id: {
1110
- readonly type: "string";
1111
- readonly format: "uuid";
1112
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1113
- readonly "x-go-type": "uuid.UUID";
1114
- readonly "x-go-type-import": {
1115
- readonly path: "github.com/gofrs/uuid";
1116
- };
1117
- readonly "x-go-name": "ID";
1118
- readonly "x-oapi-codegen-extra-tags": {
1119
- readonly db: "id";
1120
- };
1121
- readonly "x-order": 1;
1122
- };
1123
- readonly owner: {
1124
- readonly type: "string";
1125
- readonly format: "uuid";
1126
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1127
- readonly "x-go-type": "uuid.UUID";
1128
- readonly "x-go-type-import": {
1129
- readonly path: "github.com/gofrs/uuid";
1130
- };
1131
- readonly "x-go-name": "Owner";
1132
- readonly "x-oapi-codegen-extra-tags": {
1133
- readonly db: "owner";
1134
- };
1135
- readonly "x-order": 2;
1136
- };
1137
- readonly function: {
1138
- readonly type: "string";
1139
- readonly description: "Operation permitted by the key.";
1140
- readonly "x-oapi-codegen-extra-tags": {
1141
- readonly db: "function";
1142
- };
1143
- readonly "x-order": 3;
1144
- };
1145
- readonly category: {
1146
- readonly type: "string";
1147
- readonly description: "Category for the key.";
1148
- readonly "x-oapi-codegen-extra-tags": {
1149
- readonly db: "category";
1150
- };
1151
- readonly "x-order": 4;
1152
- };
1153
- readonly subcategory: {
1154
- readonly type: "string";
1155
- readonly description: "Subcategory for the key.";
1156
- readonly "x-oapi-codegen-extra-tags": {
1157
- readonly db: "subcategory";
1158
- };
1159
- readonly "x-order": 5;
1160
- };
1161
- readonly description: {
1162
- readonly type: "string";
1163
- readonly description: "Human readable description of the key.";
1164
- readonly "x-oapi-codegen-extra-tags": {
1165
- readonly db: "description";
1166
- };
1167
- readonly "x-order": 6;
1168
- };
1169
- readonly created_at: {
1170
- readonly "x-order": 7;
1171
- readonly description: "Timestamp when the resource was created.";
1172
- readonly "x-go-type": "time.Time";
1173
- readonly type: "string";
1174
- readonly format: "date-time";
1175
- readonly "x-go-name": "CreatedAt";
1176
- readonly "x-oapi-codegen-extra-tags": {
1177
- readonly db: "created_at";
1178
- readonly yaml: "created_at";
1179
- };
1180
- readonly "x-go-type-skip-optional-pointer": true;
1181
- };
1182
- readonly updated_at: {
1183
- readonly "x-order": 8;
1184
- readonly description: "Timestamp when the resource was updated.";
1185
- readonly "x-go-type": "time.Time";
1186
- readonly type: "string";
1187
- readonly format: "date-time";
1188
- readonly "x-go-name": "UpdatedAt";
1189
- readonly "x-oapi-codegen-extra-tags": {
1190
- readonly db: "updated_at";
1191
- readonly yaml: "updated_at";
1192
- };
1193
- readonly "x-go-type-skip-optional-pointer": true;
1194
- };
1195
- readonly deleted_at: {
1196
- readonly "x-oapi-codegen-extra-tags": {
1197
- readonly db: "deleted_at";
1198
- };
1199
- readonly "x-order": 9;
1200
- readonly description: "SQL null Timestamp to handle null values of time.";
1201
- readonly "x-go-type": "sql.NullTime";
1202
- readonly type: "string";
1203
- readonly "x-go-type-skip-optional-pointer": true;
1204
- };
1205
- };
1206
- };
1207
- readonly "x-order": 4;
1208
- };
1209
- };
1210
- };
1211
- };
1212
- };
1213
- };
1214
- readonly "400": {
1215
- readonly description: "Invalid request body or request param";
1216
- readonly content: {
1217
- readonly "text/plain": {
1218
- readonly schema: {
1219
- readonly type: "string";
1220
- };
1221
- };
1222
- };
1223
- };
1224
- readonly "401": {
1225
- readonly description: "Expired JWT token used or insufficient privilege";
1226
- readonly content: {
1227
- readonly "text/plain": {
1228
- readonly schema: {
1229
- readonly type: "string";
1230
- };
1231
- };
1232
- };
1233
- };
1234
- readonly "404": {
1235
- readonly description: "Result not found";
1236
- readonly content: {
1237
- readonly "text/plain": {
1238
- readonly schema: {
1239
- readonly type: "string";
1240
- };
1241
- };
1242
- };
1243
- };
1244
- readonly "500": {
1245
- readonly description: "Internal server error";
1246
- readonly content: {
1247
- readonly "text/plain": {
1248
- readonly schema: {
1249
- readonly type: "string";
1250
- };
1251
- };
1252
- };
1253
- };
1254
- };
1255
- };
1256
- };
1257
- };
1258
- readonly components: {
1259
- readonly responses: {
1260
- readonly "400": {
1261
- readonly description: "Invalid request body or request param";
1262
- readonly content: {
1263
- readonly "text/plain": {
1264
- readonly schema: {
1265
- readonly type: "string";
1266
- };
1267
- };
1268
- };
1269
- };
1270
- readonly "401": {
1271
- readonly description: "Expired JWT token used or insufficient privilege";
1272
- readonly content: {
1273
- readonly "text/plain": {
1274
- readonly schema: {
1275
- readonly type: "string";
1276
- };
1277
- };
1278
- };
1279
- };
1280
- readonly "404": {
1281
- readonly description: "Result not found";
1282
- readonly content: {
1283
- readonly "text/plain": {
1284
- readonly schema: {
1285
- readonly type: "string";
1286
- };
1287
- };
1288
- };
1289
- };
1290
- readonly "500": {
1291
- readonly description: "Internal server error";
1292
- readonly content: {
1293
- readonly "text/plain": {
1294
- readonly schema: {
1295
- readonly type: "string";
1296
- };
1297
- };
1298
- };
1299
- };
1300
- };
1301
- readonly parameters: {
1302
- readonly keyId: {
1303
- readonly name: "keyId";
1304
- readonly in: "path";
1305
- readonly description: "Key ID";
1306
- readonly required: true;
1307
- readonly schema: {
1308
- readonly type: "string";
1309
- readonly format: "uuid";
1310
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1311
- readonly "x-go-type": "uuid.UUID";
1312
- readonly "x-go-type-import": {
1313
- readonly path: "github.com/gofrs/uuid";
1314
- };
1315
- };
1316
- };
1317
- readonly keychainId: {
1318
- readonly name: "keychainId";
1319
- readonly in: "path";
1320
- readonly description: "Keychain ID";
1321
- readonly required: true;
1322
- readonly schema: {
1323
- readonly type: "string";
1324
- readonly format: "uuid";
1325
- readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
1326
- readonly "x-go-type": "uuid.UUID";
1327
- readonly "x-go-type-import": {
1328
- readonly path: "github.com/gofrs/uuid";
1329
- };
1330
- };
1331
- };
1332
- readonly page: {
1333
- readonly name: "page";
1334
- readonly in: "query";
1335
- readonly description: "Get responses by page";
1336
- readonly schema: {
1337
- readonly type: "string";
1338
- };
1339
- };
1340
- readonly pagesize: {
1341
- readonly name: "pagesize";
1342
- readonly in: "query";
1343
- readonly description: "Get responses by pagesize";
1344
- readonly schema: {
1345
- readonly type: "string";
1346
- };
1347
- };
1348
- readonly order: {
1349
- readonly name: "order";
1350
- readonly in: "query";
1351
- readonly description: "Get ordered responses";
1352
- readonly schema: {
1353
- readonly type: "string";
1354
- };
1355
- };
1356
- readonly search: {
1357
- readonly name: "search";
1358
- readonly in: "query";
1359
- readonly description: "Get responses that match search param value";
1360
- readonly schema: {
1361
- readonly type: "string";
1362
- };
1363
- };
1364
- };
1365
- readonly securitySchemes: {
1366
- readonly jwt: {
1367
- readonly type: "http";
1368
- readonly scheme: "bearer";
1369
- readonly bearerFormat: "JWT";
1370
- };
1371
- };
1372
- readonly schemas: {
1373
- readonly Keychain: {
1374
- readonly type: "object";
1375
- readonly description: "Represents a collection of keys.";
1376
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
1377
- readonly properties: {
1378
- readonly id: {
1379
- readonly description: "Unique identifier for the keychain.";
1380
- readonly "x-go-name": "ID";
1381
- readonly "x-oapi-codegen-extra-tags": {
1382
- readonly db: "id";
1383
- };
1384
- readonly "x-order": 1;
1385
- readonly type: "string";
1386
- readonly format: "uuid";
1387
- readonly "x-go-type": "uuid.UUID";
1388
- readonly "x-go-type-import": {
1389
- readonly path: "github.com/gofrs/uuid";
1390
- };
1391
- };
1392
- readonly name: {
1393
- readonly type: "string";
1394
- readonly description: "Name of the keychain.";
1395
- readonly "x-oapi-codegen-extra-tags": {
1396
- readonly db: "name";
1397
- };
1398
- readonly "x-order": 2;
1399
- };
1400
- readonly owner: {
1401
- readonly description: "Owner of the keychain.";
1402
- readonly "x-oapi-codegen-extra-tags": {
1403
- readonly db: "owner";
1404
- };
1405
- readonly "x-order": 3;
1406
- readonly type: "string";
1407
- readonly format: "uuid";
1408
- readonly "x-go-type": "uuid.UUID";
1409
- readonly "x-go-type-import": {
1410
- readonly path: "github.com/gofrs/uuid";
1411
- };
1412
- };
1413
- readonly created_at: {
1414
- readonly "x-order": 4;
1415
- readonly description: "Timestamp when the resource was created.";
1416
- readonly "x-go-type": "time.Time";
1417
- readonly type: "string";
1418
- readonly format: "date-time";
1419
- readonly "x-go-name": "CreatedAt";
1420
- readonly "x-oapi-codegen-extra-tags": {
1421
- readonly db: "created_at";
1422
- readonly yaml: "created_at";
1423
- };
1424
- readonly "x-go-type-skip-optional-pointer": true;
1425
- };
1426
- readonly updated_at: {
1427
- readonly "x-order": 5;
1428
- readonly description: "Timestamp when the resource was updated.";
1429
- readonly "x-go-type": "time.Time";
1430
- readonly type: "string";
1431
- readonly format: "date-time";
1432
- readonly "x-go-name": "UpdatedAt";
1433
- readonly "x-oapi-codegen-extra-tags": {
1434
- readonly db: "updated_at";
1435
- readonly yaml: "updated_at";
1436
- };
1437
- readonly "x-go-type-skip-optional-pointer": true;
1438
- };
1439
- readonly deleted_at: {
1440
- readonly "x-oapi-codegen-extra-tags": {
1441
- readonly db: "deleted_at";
1442
- };
1443
- readonly "x-order": 6;
1444
- readonly description: "SQL null Timestamp to handle null values of time.";
1445
- readonly "x-go-type": "sql.NullTime";
1446
- readonly type: "string";
1447
- readonly "x-go-type-skip-optional-pointer": true;
1448
- };
1449
- };
1450
- };
1451
- readonly KeychainPage: {
1452
- readonly type: "object";
1453
- readonly required: readonly ["page", "page_size", "total_count", "keychains"];
1454
- readonly properties: {
1455
- readonly page: {
1456
- readonly "x-order": 1;
1457
- readonly type: "integer";
1458
- readonly "x-go-type-skip-optional-pointer": true;
1459
- };
1460
- readonly page_size: {
1461
- readonly "x-order": 2;
1462
- readonly type: "integer";
1463
- readonly "x-go-type-skip-optional-pointer": true;
1464
- };
1465
- readonly total_count: {
1466
- readonly "x-order": 3;
1467
- readonly type: "integer";
1468
- readonly "x-go-type-skip-optional-pointer": true;
1469
- };
1470
- readonly keychains: {
1471
- readonly type: "array";
1472
- readonly items: {
1473
- readonly "x-go-type": "Keychain";
1474
- readonly type: "object";
1475
- readonly description: "Represents a collection of keys.";
1476
- readonly required: readonly ["id", "name", "owner", "created_at", "updated_at"];
1477
- readonly properties: {
1478
- readonly id: {
1479
- readonly description: "Unique identifier for the keychain.";
1480
- readonly "x-go-name": "ID";
1481
- readonly "x-oapi-codegen-extra-tags": {
1482
- readonly db: "id";
1483
- };
1484
- readonly "x-order": 1;
1485
- readonly type: "string";
1486
- readonly format: "uuid";
1487
- readonly "x-go-type": "uuid.UUID";
1488
- readonly "x-go-type-import": {
1489
- readonly path: "github.com/gofrs/uuid";
1490
- };
1491
- };
1492
- readonly name: {
1493
- readonly type: "string";
1494
- readonly description: "Name of the keychain.";
1495
- readonly "x-oapi-codegen-extra-tags": {
1496
- readonly db: "name";
1497
- };
1498
- readonly "x-order": 2;
1499
- };
1500
- readonly owner: {
1501
- readonly description: "Owner of the keychain.";
1502
- readonly "x-oapi-codegen-extra-tags": {
1503
- readonly db: "owner";
1504
- };
1505
- readonly "x-order": 3;
1506
- readonly type: "string";
1507
- readonly format: "uuid";
1508
- readonly "x-go-type": "uuid.UUID";
1509
- readonly "x-go-type-import": {
1510
- readonly path: "github.com/gofrs/uuid";
1511
- };
1512
- };
1513
- readonly created_at: {
1514
- readonly "x-order": 4;
1515
- readonly description: "Timestamp when the resource was created.";
1516
- readonly "x-go-type": "time.Time";
1517
- readonly type: "string";
1518
- readonly format: "date-time";
1519
- readonly "x-go-name": "CreatedAt";
1520
- readonly "x-oapi-codegen-extra-tags": {
1521
- readonly db: "created_at";
1522
- readonly yaml: "created_at";
1523
- };
1524
- readonly "x-go-type-skip-optional-pointer": true;
1525
- };
1526
- readonly updated_at: {
1527
- readonly "x-order": 5;
1528
- readonly description: "Timestamp when the resource was updated.";
1529
- readonly "x-go-type": "time.Time";
1530
- readonly type: "string";
1531
- readonly format: "date-time";
1532
- readonly "x-go-name": "UpdatedAt";
1533
- readonly "x-oapi-codegen-extra-tags": {
1534
- readonly db: "updated_at";
1535
- readonly yaml: "updated_at";
1536
- };
1537
- readonly "x-go-type-skip-optional-pointer": true;
1538
- };
1539
- readonly deleted_at: {
1540
- readonly "x-oapi-codegen-extra-tags": {
1541
- readonly db: "deleted_at";
1542
- };
1543
- readonly "x-order": 6;
1544
- readonly description: "SQL null Timestamp to handle null values of time.";
1545
- readonly "x-go-type": "sql.NullTime";
1546
- readonly type: "string";
1547
- readonly "x-go-type-skip-optional-pointer": true;
1548
- };
1549
- };
1550
- };
1551
- readonly "x-order": 4;
1552
- };
1553
- };
1554
- };
1555
- };
1556
- };
1557
- };
5
+ declare const KeychainSchema: Record<string, unknown>;
1558
6
 
1559
7
  export { KeychainSchema as default };