@meshery/schemas 1.2.14 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/cloudApi.d.mts +1516 -1516
  2. package/dist/cloudApi.d.ts +1516 -1516
  3. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  4. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  6. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  8. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  9. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  10. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  12. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  14. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  16. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  18. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  20. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  22. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  24. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  26. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  28. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  30. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  32. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  34. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  36. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  38. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  40. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  42. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  44. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  46. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  48. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  50. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  52. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  54. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  56. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  58. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  60. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  62. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  64. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  66. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  68. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  70. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  72. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  74. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  76. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  78. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  80. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  82. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  84. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  86. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  88. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  90. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  92. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  94. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  96. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  98. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  100. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  102. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  104. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  106. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  108. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  110. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  112. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  114. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  116. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  118. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  120. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  122. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  124. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  126. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  128. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  130. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  132. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  134. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  136. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  138. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  140. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  142. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  144. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  145. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  146. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  147. package/dist/index.js +1 -1
  148. package/dist/index.mjs +1 -1
  149. package/dist/mesheryApi.d.mts +546 -546
  150. package/dist/mesheryApi.d.ts +546 -546
  151. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ declare const CoreSchema: Record<string, unknown>;
2
+ export default CoreSchema;
@@ -0,0 +1,519 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/api/integrations/credentials": {
8
+ /** Retrieves all credentials belonging to the authenticated user. */
9
+ get: operations["getUserCredentials"];
10
+ /** Updates an existing credential for the authenticated user. */
11
+ put: operations["updateUserCredential"];
12
+ /** Saves a new credential for the authenticated user. */
13
+ post: operations["saveUserCredential"];
14
+ /** Deletes a credential belonging to the authenticated user. */
15
+ delete: operations["deleteUserCredential"];
16
+ };
17
+ "/api/integrations/credentials/{credentialId}": {
18
+ /** Retrieves a specific credential by its ID. */
19
+ get: operations["getCredentialById"];
20
+ };
21
+ }
22
+
23
+ export interface components {
24
+ schemas: {
25
+ /** @description Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems. */
26
+ Credential: {
27
+ /**
28
+ * Format: uuid
29
+ * @description Unique identifier for the credential.
30
+ */
31
+ id: string;
32
+ /** @description Human-readable name for the credential. */
33
+ name: string;
34
+ /**
35
+ * Format: uuid
36
+ * @description UUID of the user who owns this credential.
37
+ */
38
+ userId: string;
39
+ /** @description Credential type (e.g. token, basic, AWS). */
40
+ type: string;
41
+ /** @description Key-value pairs containing the sensitive credential data. */
42
+ secret?: { [key: string]: unknown };
43
+ /**
44
+ * Format: date-time
45
+ * @description Timestamp when the credential was created.
46
+ */
47
+ createdAt: string;
48
+ /**
49
+ * Format: date-time
50
+ * @description Timestamp when the credential was last updated.
51
+ */
52
+ updatedAt: string;
53
+ /**
54
+ * Format: date-time
55
+ * @description Timestamp when the credential was soft-deleted.
56
+ */
57
+ deletedAt?: string;
58
+ };
59
+ /** @description Payload for creating or updating a credential. */
60
+ CredentialPayload: {
61
+ /**
62
+ * Format: uuid
63
+ * @description Existing credential ID for updates; omit on create.
64
+ */
65
+ id?: string;
66
+ /** @description Human-readable name for the credential. */
67
+ name: string;
68
+ /**
69
+ * Format: uuid
70
+ * @description UUID of the user who owns this credential.
71
+ */
72
+ userId?: string;
73
+ /** @description Credential type (e.g. token, basic, AWS). */
74
+ type: string;
75
+ /** @description Key-value pairs containing the sensitive credential data. */
76
+ secret?: { [key: string]: unknown };
77
+ };
78
+ /** @description A paginated list of credentials. */
79
+ CredentialPage: {
80
+ /** @description The credentials returned on the current page. */
81
+ credentials: {
82
+ /**
83
+ * Format: uuid
84
+ * @description Unique identifier for the credential.
85
+ */
86
+ id: string;
87
+ /** @description Human-readable name for the credential. */
88
+ name: string;
89
+ /**
90
+ * Format: uuid
91
+ * @description UUID of the user who owns this credential.
92
+ */
93
+ userId: string;
94
+ /** @description Credential type (e.g. token, basic, AWS). */
95
+ type: string;
96
+ /** @description Key-value pairs containing the sensitive credential data. */
97
+ secret?: { [key: string]: unknown };
98
+ /**
99
+ * Format: date-time
100
+ * @description Timestamp when the credential was created.
101
+ */
102
+ createdAt: string;
103
+ /**
104
+ * Format: date-time
105
+ * @description Timestamp when the credential was last updated.
106
+ */
107
+ updatedAt: string;
108
+ /**
109
+ * Format: date-time
110
+ * @description Timestamp when the credential was soft-deleted.
111
+ */
112
+ deletedAt?: string;
113
+ }[];
114
+ /** @description Total number of credentials across all pages. */
115
+ total_count: number;
116
+ /** @description Current page number (zero-based). */
117
+ page: number;
118
+ /** @description Number of credentials per page. */
119
+ page_size: number;
120
+ };
121
+ };
122
+ responses: {
123
+ /** Invalid request body or request param */
124
+ 400: {
125
+ content: {
126
+ "text/plain": string;
127
+ };
128
+ };
129
+ /** Expired JWT token used or insufficient privilege */
130
+ 401: {
131
+ content: {
132
+ "text/plain": string;
133
+ };
134
+ };
135
+ /** Result not found */
136
+ 404: {
137
+ content: {
138
+ "text/plain": string;
139
+ };
140
+ };
141
+ /** Internal server error */
142
+ 500: {
143
+ content: {
144
+ "text/plain": string;
145
+ };
146
+ };
147
+ };
148
+ parameters: {
149
+ /** @description Credential ID */
150
+ credentialId: string;
151
+ /** @description Credential ID */
152
+ credentialIdQuery: string;
153
+ /** @description Get responses by page */
154
+ page: string;
155
+ /** @description Get responses by pagesize */
156
+ pagesize: string;
157
+ /** @description Get responses that match search param value */
158
+ search: string;
159
+ /** @description Get ordered responses */
160
+ order: string;
161
+ };
162
+ }
163
+
164
+ export interface operations {
165
+ /** Retrieves all credentials belonging to the authenticated user. */
166
+ getUserCredentials: {
167
+ parameters: {
168
+ query: {
169
+ /** Get responses by page */
170
+ page?: string;
171
+ /** Get responses by pagesize */
172
+ pagesize?: string;
173
+ /** Get responses that match search param value */
174
+ search?: string;
175
+ /** Get ordered responses */
176
+ order?: string;
177
+ };
178
+ };
179
+ responses: {
180
+ /** Credentials response */
181
+ 200: {
182
+ content: {
183
+ "application/json": {
184
+ /** @description The credentials returned on the current page. */
185
+ credentials: {
186
+ /**
187
+ * Format: uuid
188
+ * @description Unique identifier for the credential.
189
+ */
190
+ id: string;
191
+ /** @description Human-readable name for the credential. */
192
+ name: string;
193
+ /**
194
+ * Format: uuid
195
+ * @description UUID of the user who owns this credential.
196
+ */
197
+ userId: string;
198
+ /** @description Credential type (e.g. token, basic, AWS). */
199
+ type: string;
200
+ /** @description Key-value pairs containing the sensitive credential data. */
201
+ secret?: { [key: string]: unknown };
202
+ /**
203
+ * Format: date-time
204
+ * @description Timestamp when the credential was created.
205
+ */
206
+ createdAt: string;
207
+ /**
208
+ * Format: date-time
209
+ * @description Timestamp when the credential was last updated.
210
+ */
211
+ updatedAt: string;
212
+ /**
213
+ * Format: date-time
214
+ * @description Timestamp when the credential was soft-deleted.
215
+ */
216
+ deletedAt?: string;
217
+ }[];
218
+ /** @description Total number of credentials across all pages. */
219
+ total_count: number;
220
+ /** @description Current page number (zero-based). */
221
+ page: number;
222
+ /** @description Number of credentials per page. */
223
+ page_size: number;
224
+ };
225
+ };
226
+ };
227
+ /** Expired JWT token used or insufficient privilege */
228
+ 401: {
229
+ content: {
230
+ "text/plain": string;
231
+ };
232
+ };
233
+ /** Internal server error */
234
+ 500: {
235
+ content: {
236
+ "text/plain": string;
237
+ };
238
+ };
239
+ };
240
+ };
241
+ /** Updates an existing credential for the authenticated user. */
242
+ updateUserCredential: {
243
+ responses: {
244
+ /** Credential updated */
245
+ 200: {
246
+ content: {
247
+ "application/json": {
248
+ /**
249
+ * Format: uuid
250
+ * @description Unique identifier for the credential.
251
+ */
252
+ id: string;
253
+ /** @description Human-readable name for the credential. */
254
+ name: string;
255
+ /**
256
+ * Format: uuid
257
+ * @description UUID of the user who owns this credential.
258
+ */
259
+ userId: string;
260
+ /** @description Credential type (e.g. token, basic, AWS). */
261
+ type: string;
262
+ /** @description Key-value pairs containing the sensitive credential data. */
263
+ secret?: { [key: string]: unknown };
264
+ /**
265
+ * Format: date-time
266
+ * @description Timestamp when the credential was created.
267
+ */
268
+ createdAt: string;
269
+ /**
270
+ * Format: date-time
271
+ * @description Timestamp when the credential was last updated.
272
+ */
273
+ updatedAt: string;
274
+ /**
275
+ * Format: date-time
276
+ * @description Timestamp when the credential was soft-deleted.
277
+ */
278
+ deletedAt?: string;
279
+ };
280
+ };
281
+ };
282
+ /** Invalid request body or request param */
283
+ 400: {
284
+ content: {
285
+ "text/plain": string;
286
+ };
287
+ };
288
+ /** Expired JWT token used or insufficient privilege */
289
+ 401: {
290
+ content: {
291
+ "text/plain": string;
292
+ };
293
+ };
294
+ /** Result not found */
295
+ 404: {
296
+ content: {
297
+ "text/plain": string;
298
+ };
299
+ };
300
+ /** Internal server error */
301
+ 500: {
302
+ content: {
303
+ "text/plain": string;
304
+ };
305
+ };
306
+ };
307
+ requestBody: {
308
+ content: {
309
+ "application/json": {
310
+ /**
311
+ * Format: uuid
312
+ * @description Existing credential ID for updates; omit on create.
313
+ */
314
+ id?: string;
315
+ /** @description Human-readable name for the credential. */
316
+ name: string;
317
+ /**
318
+ * Format: uuid
319
+ * @description UUID of the user who owns this credential.
320
+ */
321
+ userId?: string;
322
+ /** @description Credential type (e.g. token, basic, AWS). */
323
+ type: string;
324
+ /** @description Key-value pairs containing the sensitive credential data. */
325
+ secret?: { [key: string]: unknown };
326
+ };
327
+ };
328
+ };
329
+ };
330
+ /** Saves a new credential for the authenticated user. */
331
+ saveUserCredential: {
332
+ responses: {
333
+ /** Credential saved */
334
+ 201: {
335
+ content: {
336
+ "application/json": {
337
+ /**
338
+ * Format: uuid
339
+ * @description Unique identifier for the credential.
340
+ */
341
+ id: string;
342
+ /** @description Human-readable name for the credential. */
343
+ name: string;
344
+ /**
345
+ * Format: uuid
346
+ * @description UUID of the user who owns this credential.
347
+ */
348
+ userId: string;
349
+ /** @description Credential type (e.g. token, basic, AWS). */
350
+ type: string;
351
+ /** @description Key-value pairs containing the sensitive credential data. */
352
+ secret?: { [key: string]: unknown };
353
+ /**
354
+ * Format: date-time
355
+ * @description Timestamp when the credential was created.
356
+ */
357
+ createdAt: string;
358
+ /**
359
+ * Format: date-time
360
+ * @description Timestamp when the credential was last updated.
361
+ */
362
+ updatedAt: string;
363
+ /**
364
+ * Format: date-time
365
+ * @description Timestamp when the credential was soft-deleted.
366
+ */
367
+ deletedAt?: string;
368
+ };
369
+ };
370
+ };
371
+ /** Invalid request body or request param */
372
+ 400: {
373
+ content: {
374
+ "text/plain": string;
375
+ };
376
+ };
377
+ /** Expired JWT token used or insufficient privilege */
378
+ 401: {
379
+ content: {
380
+ "text/plain": string;
381
+ };
382
+ };
383
+ /** Internal server error */
384
+ 500: {
385
+ content: {
386
+ "text/plain": string;
387
+ };
388
+ };
389
+ };
390
+ requestBody: {
391
+ content: {
392
+ "application/json": {
393
+ /**
394
+ * Format: uuid
395
+ * @description Existing credential ID for updates; omit on create.
396
+ */
397
+ id?: string;
398
+ /** @description Human-readable name for the credential. */
399
+ name: string;
400
+ /**
401
+ * Format: uuid
402
+ * @description UUID of the user who owns this credential.
403
+ */
404
+ userId?: string;
405
+ /** @description Credential type (e.g. token, basic, AWS). */
406
+ type: string;
407
+ /** @description Key-value pairs containing the sensitive credential data. */
408
+ secret?: { [key: string]: unknown };
409
+ };
410
+ };
411
+ };
412
+ };
413
+ /** Deletes a credential belonging to the authenticated user. */
414
+ deleteUserCredential: {
415
+ parameters: {
416
+ query: {
417
+ /** Credential ID */
418
+ credentialId: string;
419
+ };
420
+ };
421
+ responses: {
422
+ /** Credential deleted */
423
+ 204: never;
424
+ /** Invalid request body or request param */
425
+ 400: {
426
+ content: {
427
+ "text/plain": string;
428
+ };
429
+ };
430
+ /** Expired JWT token used or insufficient privilege */
431
+ 401: {
432
+ content: {
433
+ "text/plain": string;
434
+ };
435
+ };
436
+ /** Result not found */
437
+ 404: {
438
+ content: {
439
+ "text/plain": string;
440
+ };
441
+ };
442
+ /** Internal server error */
443
+ 500: {
444
+ content: {
445
+ "text/plain": string;
446
+ };
447
+ };
448
+ };
449
+ };
450
+ /** Retrieves a specific credential by its ID. */
451
+ getCredentialById: {
452
+ parameters: {
453
+ path: {
454
+ /** Credential ID */
455
+ credentialId: string;
456
+ };
457
+ };
458
+ responses: {
459
+ /** Credential response */
460
+ 200: {
461
+ content: {
462
+ "application/json": {
463
+ /**
464
+ * Format: uuid
465
+ * @description Unique identifier for the credential.
466
+ */
467
+ id: string;
468
+ /** @description Human-readable name for the credential. */
469
+ name: string;
470
+ /**
471
+ * Format: uuid
472
+ * @description UUID of the user who owns this credential.
473
+ */
474
+ userId: string;
475
+ /** @description Credential type (e.g. token, basic, AWS). */
476
+ type: string;
477
+ /** @description Key-value pairs containing the sensitive credential data. */
478
+ secret?: { [key: string]: unknown };
479
+ /**
480
+ * Format: date-time
481
+ * @description Timestamp when the credential was created.
482
+ */
483
+ createdAt: string;
484
+ /**
485
+ * Format: date-time
486
+ * @description Timestamp when the credential was last updated.
487
+ */
488
+ updatedAt: string;
489
+ /**
490
+ * Format: date-time
491
+ * @description Timestamp when the credential was soft-deleted.
492
+ */
493
+ deletedAt?: string;
494
+ };
495
+ };
496
+ };
497
+ /** Expired JWT token used or insufficient privilege */
498
+ 401: {
499
+ content: {
500
+ "text/plain": string;
501
+ };
502
+ };
503
+ /** Result not found */
504
+ 404: {
505
+ content: {
506
+ "text/plain": string;
507
+ };
508
+ };
509
+ /** Internal server error */
510
+ 500: {
511
+ content: {
512
+ "text/plain": string;
513
+ };
514
+ };
515
+ };
516
+ };
517
+ }
518
+
519
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const CredentialSchema: Record<string, unknown>;
2
+ export default CredentialSchema;