@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,530 @@
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/{id}": {
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
+ user_id?: 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 resource was created.
46
+ */
47
+ created_at?: string;
48
+ /**
49
+ * Format: date-time
50
+ * @description Timestamp when the resource was updated.
51
+ */
52
+ updated_at?: string;
53
+ /**
54
+ * Format: date-time
55
+ * @description Timestamp when the credential was soft-deleted.
56
+ */
57
+ deleted_at?: string;
58
+ };
59
+ /** @description A paginated list of credentials. */
60
+ CredentialPage: {
61
+ /** @description The credentials of the credentialpage. */
62
+ credentials: {
63
+ /**
64
+ * Format: uuid
65
+ * @description Unique identifier for the credential.
66
+ */
67
+ id?: string;
68
+ /** @description Human-readable name for the credential. */
69
+ name: string;
70
+ /**
71
+ * Format: uuid
72
+ * @description UUID of the user who owns this credential.
73
+ */
74
+ user_id?: string;
75
+ /** @description Credential type (e.g. token, basic, AWS). */
76
+ type: string;
77
+ /** @description Key-value pairs containing the sensitive credential data. */
78
+ secret?: { [key: string]: unknown };
79
+ /**
80
+ * Format: date-time
81
+ * @description Timestamp when the resource was created.
82
+ */
83
+ created_at?: string;
84
+ /**
85
+ * Format: date-time
86
+ * @description Timestamp when the resource was updated.
87
+ */
88
+ updated_at?: string;
89
+ /**
90
+ * Format: date-time
91
+ * @description Timestamp when the credential was soft-deleted.
92
+ */
93
+ deleted_at?: string;
94
+ }[];
95
+ /** @description Total number of credentials across all pages. */
96
+ total_count: number;
97
+ /** @description Current page number (zero-based). */
98
+ page: number;
99
+ /** @description Number of credentials per page. */
100
+ page_size: number;
101
+ };
102
+ };
103
+ responses: {
104
+ /** Invalid request body or request param */
105
+ 400: {
106
+ content: {
107
+ "text/plain": string;
108
+ };
109
+ };
110
+ /** Expired JWT token used or insufficient privilege */
111
+ 401: {
112
+ content: {
113
+ "text/plain": string;
114
+ };
115
+ };
116
+ /** Result not found */
117
+ 404: {
118
+ content: {
119
+ "text/plain": string;
120
+ };
121
+ };
122
+ /** Internal server error */
123
+ 500: {
124
+ content: {
125
+ "text/plain": string;
126
+ };
127
+ };
128
+ };
129
+ parameters: {
130
+ /** @description Credential ID */
131
+ id: string;
132
+ /** @description Credential ID */
133
+ credentialId: string;
134
+ /** @description Get responses by page */
135
+ page: string;
136
+ /** @description Get responses by pagesize */
137
+ pagesize: string;
138
+ /** @description Get responses that match search param value */
139
+ search: string;
140
+ /** @description Get ordered responses */
141
+ order: string;
142
+ };
143
+ }
144
+
145
+ export interface operations {
146
+ /** Retrieves all credentials belonging to the authenticated user. */
147
+ getUserCredentials: {
148
+ parameters: {
149
+ query: {
150
+ /** Get responses by page */
151
+ page?: string;
152
+ /** Get responses by pagesize */
153
+ pagesize?: string;
154
+ /** Get responses that match search param value */
155
+ search?: string;
156
+ /** Get ordered responses */
157
+ order?: string;
158
+ };
159
+ };
160
+ responses: {
161
+ /** Credentials response */
162
+ 200: {
163
+ content: {
164
+ "application/json": {
165
+ /** @description The credentials of the credentialpage. */
166
+ credentials: {
167
+ /**
168
+ * Format: uuid
169
+ * @description Unique identifier for the credential.
170
+ */
171
+ id?: string;
172
+ /** @description Human-readable name for the credential. */
173
+ name: string;
174
+ /**
175
+ * Format: uuid
176
+ * @description UUID of the user who owns this credential.
177
+ */
178
+ user_id?: string;
179
+ /** @description Credential type (e.g. token, basic, AWS). */
180
+ type: string;
181
+ /** @description Key-value pairs containing the sensitive credential data. */
182
+ secret?: { [key: string]: unknown };
183
+ /**
184
+ * Format: date-time
185
+ * @description Timestamp when the resource was created.
186
+ */
187
+ created_at?: string;
188
+ /**
189
+ * Format: date-time
190
+ * @description Timestamp when the resource was updated.
191
+ */
192
+ updated_at?: string;
193
+ /**
194
+ * Format: date-time
195
+ * @description Timestamp when the credential was soft-deleted.
196
+ */
197
+ deleted_at?: string;
198
+ }[];
199
+ /** @description Total number of credentials across all pages. */
200
+ total_count: number;
201
+ /** @description Current page number (zero-based). */
202
+ page: number;
203
+ /** @description Number of credentials per page. */
204
+ page_size: number;
205
+ };
206
+ };
207
+ };
208
+ /** Expired JWT token used or insufficient privilege */
209
+ 401: {
210
+ content: {
211
+ "text/plain": string;
212
+ };
213
+ };
214
+ /** Internal server error */
215
+ 500: {
216
+ content: {
217
+ "text/plain": string;
218
+ };
219
+ };
220
+ };
221
+ };
222
+ /** Updates an existing credential for the authenticated user. */
223
+ updateUserCredential: {
224
+ responses: {
225
+ /** Credential updated */
226
+ 200: {
227
+ content: {
228
+ "application/json": {
229
+ /**
230
+ * Format: uuid
231
+ * @description Unique identifier for the credential.
232
+ */
233
+ id?: string;
234
+ /** @description Human-readable name for the credential. */
235
+ name: string;
236
+ /**
237
+ * Format: uuid
238
+ * @description UUID of the user who owns this credential.
239
+ */
240
+ user_id?: string;
241
+ /** @description Credential type (e.g. token, basic, AWS). */
242
+ type: string;
243
+ /** @description Key-value pairs containing the sensitive credential data. */
244
+ secret?: { [key: string]: unknown };
245
+ /**
246
+ * Format: date-time
247
+ * @description Timestamp when the resource was created.
248
+ */
249
+ created_at?: string;
250
+ /**
251
+ * Format: date-time
252
+ * @description Timestamp when the resource was updated.
253
+ */
254
+ updated_at?: string;
255
+ /**
256
+ * Format: date-time
257
+ * @description Timestamp when the credential was soft-deleted.
258
+ */
259
+ deleted_at?: string;
260
+ };
261
+ };
262
+ };
263
+ /** Invalid request body or request param */
264
+ 400: {
265
+ content: {
266
+ "text/plain": string;
267
+ };
268
+ };
269
+ /** Expired JWT token used or insufficient privilege */
270
+ 401: {
271
+ content: {
272
+ "text/plain": string;
273
+ };
274
+ };
275
+ /** Result not found */
276
+ 404: {
277
+ content: {
278
+ "text/plain": string;
279
+ };
280
+ };
281
+ /** Internal server error */
282
+ 500: {
283
+ content: {
284
+ "text/plain": string;
285
+ };
286
+ };
287
+ };
288
+ requestBody: {
289
+ content: {
290
+ "application/json": {
291
+ /**
292
+ * Format: uuid
293
+ * @description Unique identifier for the credential.
294
+ */
295
+ id?: string;
296
+ /** @description Human-readable name for the credential. */
297
+ name: string;
298
+ /**
299
+ * Format: uuid
300
+ * @description UUID of the user who owns this credential.
301
+ */
302
+ user_id?: string;
303
+ /** @description Credential type (e.g. token, basic, AWS). */
304
+ type: string;
305
+ /** @description Key-value pairs containing the sensitive credential data. */
306
+ secret?: { [key: string]: unknown };
307
+ /**
308
+ * Format: date-time
309
+ * @description Timestamp when the resource was created.
310
+ */
311
+ created_at?: string;
312
+ /**
313
+ * Format: date-time
314
+ * @description Timestamp when the resource was updated.
315
+ */
316
+ updated_at?: string;
317
+ /**
318
+ * Format: date-time
319
+ * @description Timestamp when the credential was soft-deleted.
320
+ */
321
+ deleted_at?: string;
322
+ };
323
+ };
324
+ };
325
+ };
326
+ /** Saves a new credential for the authenticated user. */
327
+ saveUserCredential: {
328
+ responses: {
329
+ /** Credential saved */
330
+ 201: {
331
+ content: {
332
+ "application/json": {
333
+ /**
334
+ * Format: uuid
335
+ * @description Unique identifier for the credential.
336
+ */
337
+ id?: string;
338
+ /** @description Human-readable name for the credential. */
339
+ name: string;
340
+ /**
341
+ * Format: uuid
342
+ * @description UUID of the user who owns this credential.
343
+ */
344
+ user_id?: string;
345
+ /** @description Credential type (e.g. token, basic, AWS). */
346
+ type: string;
347
+ /** @description Key-value pairs containing the sensitive credential data. */
348
+ secret?: { [key: string]: unknown };
349
+ /**
350
+ * Format: date-time
351
+ * @description Timestamp when the resource was created.
352
+ */
353
+ created_at?: string;
354
+ /**
355
+ * Format: date-time
356
+ * @description Timestamp when the resource was updated.
357
+ */
358
+ updated_at?: string;
359
+ /**
360
+ * Format: date-time
361
+ * @description Timestamp when the credential was soft-deleted.
362
+ */
363
+ deleted_at?: string;
364
+ };
365
+ };
366
+ };
367
+ /** Invalid request body or request param */
368
+ 400: {
369
+ content: {
370
+ "text/plain": string;
371
+ };
372
+ };
373
+ /** Expired JWT token used or insufficient privilege */
374
+ 401: {
375
+ content: {
376
+ "text/plain": string;
377
+ };
378
+ };
379
+ /** Internal server error */
380
+ 500: {
381
+ content: {
382
+ "text/plain": string;
383
+ };
384
+ };
385
+ };
386
+ requestBody: {
387
+ content: {
388
+ "application/json": {
389
+ /**
390
+ * Format: uuid
391
+ * @description Unique identifier for the credential.
392
+ */
393
+ id?: string;
394
+ /** @description Human-readable name for the credential. */
395
+ name: string;
396
+ /**
397
+ * Format: uuid
398
+ * @description UUID of the user who owns this credential.
399
+ */
400
+ user_id?: string;
401
+ /** @description Credential type (e.g. token, basic, AWS). */
402
+ type: string;
403
+ /** @description Key-value pairs containing the sensitive credential data. */
404
+ secret?: { [key: string]: unknown };
405
+ /**
406
+ * Format: date-time
407
+ * @description Timestamp when the resource was created.
408
+ */
409
+ created_at?: string;
410
+ /**
411
+ * Format: date-time
412
+ * @description Timestamp when the resource was updated.
413
+ */
414
+ updated_at?: string;
415
+ /**
416
+ * Format: date-time
417
+ * @description Timestamp when the credential was soft-deleted.
418
+ */
419
+ deleted_at?: string;
420
+ };
421
+ };
422
+ };
423
+ };
424
+ /** Deletes a credential belonging to the authenticated user. */
425
+ deleteUserCredential: {
426
+ parameters: {
427
+ query: {
428
+ /** Credential ID */
429
+ credentialId: string;
430
+ };
431
+ };
432
+ responses: {
433
+ /** Credential deleted */
434
+ 204: never;
435
+ /** Invalid request body or request param */
436
+ 400: {
437
+ content: {
438
+ "text/plain": string;
439
+ };
440
+ };
441
+ /** Expired JWT token used or insufficient privilege */
442
+ 401: {
443
+ content: {
444
+ "text/plain": string;
445
+ };
446
+ };
447
+ /** Result not found */
448
+ 404: {
449
+ content: {
450
+ "text/plain": string;
451
+ };
452
+ };
453
+ /** Internal server error */
454
+ 500: {
455
+ content: {
456
+ "text/plain": string;
457
+ };
458
+ };
459
+ };
460
+ };
461
+ /** Retrieves a specific credential by its ID. */
462
+ getCredentialById: {
463
+ parameters: {
464
+ path: {
465
+ /** Credential ID */
466
+ id: string;
467
+ };
468
+ };
469
+ responses: {
470
+ /** Credential response */
471
+ 200: {
472
+ content: {
473
+ "application/json": {
474
+ /**
475
+ * Format: uuid
476
+ * @description Unique identifier for the credential.
477
+ */
478
+ id?: string;
479
+ /** @description Human-readable name for the credential. */
480
+ name: string;
481
+ /**
482
+ * Format: uuid
483
+ * @description UUID of the user who owns this credential.
484
+ */
485
+ user_id?: string;
486
+ /** @description Credential type (e.g. token, basic, AWS). */
487
+ type: string;
488
+ /** @description Key-value pairs containing the sensitive credential data. */
489
+ secret?: { [key: string]: unknown };
490
+ /**
491
+ * Format: date-time
492
+ * @description Timestamp when the resource was created.
493
+ */
494
+ created_at?: string;
495
+ /**
496
+ * Format: date-time
497
+ * @description Timestamp when the resource was updated.
498
+ */
499
+ updated_at?: string;
500
+ /**
501
+ * Format: date-time
502
+ * @description Timestamp when the credential was soft-deleted.
503
+ */
504
+ deleted_at?: string;
505
+ };
506
+ };
507
+ };
508
+ /** Expired JWT token used or insufficient privilege */
509
+ 401: {
510
+ content: {
511
+ "text/plain": string;
512
+ };
513
+ };
514
+ /** Result not found */
515
+ 404: {
516
+ content: {
517
+ "text/plain": string;
518
+ };
519
+ };
520
+ /** Internal server error */
521
+ 500: {
522
+ content: {
523
+ "text/plain": string;
524
+ };
525
+ };
526
+ };
527
+ };
528
+ }
529
+
530
+ export interface external {}
@@ -0,0 +1,2 @@
1
+ declare const CredentialSchema: Record<string, unknown>;
2
+ export default CredentialSchema;