@meshery/schemas 0.8.127 → 0.8.129

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