@meshery/schemas 1.3.8 → 1.4.0

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 (103) hide show
  1. package/dist/cloudApi.d.mts +4154 -1704
  2. package/dist/cloudApi.d.ts +4154 -1704
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +106 -111
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +822 -734
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +45 -40
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1829 -1716
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6023 -6642
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +439 -600
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +106 -111
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +45 -40
  13. package/dist/constructs/v1beta1/category/Category.d.ts +38 -26
  14. package/dist/constructs/v1beta1/component/Component.d.ts +833 -729
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1170 -1357
  16. package/dist/constructs/v1beta1/core/Core.d.ts +822 -734
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +458 -593
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +666 -835
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6142 -5619
  20. package/dist/constructs/v1beta1/event/Event.d.ts +527 -898
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +343 -389
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +877 -1244
  23. package/dist/constructs/v1beta1/key/Key.d.ts +444 -589
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +575 -796
  25. package/dist/constructs/v1beta1/model/Model.d.ts +598 -572
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1410 -1829
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17988 -17171
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +115 -159
  29. package/dist/constructs/v1beta1/role/Role.d.ts +688 -933
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +315 -425
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +61 -18
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +674 -839
  33. package/dist/constructs/v1beta1/support/Support.d.ts +74 -115
  34. package/dist/constructs/v1beta1/system/System.d.ts +250 -385
  35. package/dist/constructs/v1beta1/team/Team.d.ts +762 -1028
  36. package/dist/constructs/v1beta1/token/Token.d.ts +475 -612
  37. package/dist/constructs/v1beta1/user/User.d.ts +1553 -1722
  38. package/dist/constructs/v1beta1/view/View.d.ts +664 -833
  39. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4705 -4910
  40. package/dist/constructs/v1beta2/academy/Academy.d.ts +7246 -7864
  41. package/dist/constructs/v1beta2/badge/Badge.d.ts +453 -610
  42. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +45 -40
  43. package/dist/constructs/v1beta2/component/Component.d.ts +851 -747
  44. package/dist/constructs/v1beta2/connection/Connection.d.ts +1189 -1376
  45. package/dist/constructs/v1beta2/core/Core.d.ts +856 -768
  46. package/dist/constructs/v1beta2/credential/Credential.d.ts +437 -572
  47. package/dist/constructs/v1beta2/design/Design.d.ts +18631 -17846
  48. package/dist/constructs/v1beta2/event/Event.d.ts +575 -946
  49. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +901 -1268
  50. package/dist/constructs/v1beta2/key/Key.d.ts +454 -599
  51. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +585 -806
  52. package/dist/constructs/v1beta2/model/Model.d.ts +636 -610
  53. package/dist/constructs/v1beta2/organization/Organization.d.ts +2017 -2458
  54. package/dist/constructs/v1beta2/plan/Plan.d.ts +128 -169
  55. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2013 -1844
  56. package/dist/constructs/v1beta2/role/Role.d.ts +695 -940
  57. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +356 -466
  58. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +701 -866
  59. package/dist/constructs/v1beta2/team/Team.d.ts +852 -1118
  60. package/dist/constructs/v1beta2/token/Token.d.ts +479 -616
  61. package/dist/constructs/v1beta2/user/User.d.ts +1553 -1722
  62. package/dist/constructs/v1beta2/view/View.d.ts +669 -838
  63. package/dist/constructs/v1beta3/academy/Academy.d.ts +7246 -7864
  64. package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
  65. package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
  66. package/dist/constructs/v1beta3/component/Component.d.ts +857 -753
  67. package/dist/constructs/v1beta3/connection/Connection.d.ts +5919 -1416
  68. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +25 -1
  69. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +25 -1
  70. package/dist/constructs/v1beta3/design/Design.d.ts +5297 -5719
  71. package/dist/constructs/v1beta3/design/DesignSchema.js +2 -2
  72. package/dist/constructs/v1beta3/design/DesignSchema.mjs +2 -2
  73. package/dist/constructs/v1beta3/environment/Environment.d.ts +689 -858
  74. package/dist/constructs/v1beta3/event/Event.d.ts +666 -1041
  75. package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
  76. package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
  77. package/dist/constructs/v1beta3/filter/Filter.d.ts +1300 -1438
  78. package/dist/constructs/v1beta3/filter/FilterSchema.js +7 -7
  79. package/dist/constructs/v1beta3/filter/FilterSchema.mjs +7 -7
  80. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +911 -1278
  81. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  82. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  83. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +1114 -1412
  84. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
  85. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
  86. package/dist/constructs/v1beta3/plan/Plan.d.ts +156 -197
  87. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2013 -1844
  88. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +804 -969
  89. package/dist/constructs/v1beta3/token/Token.d.ts +480 -617
  90. package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
  91. package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
  92. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +4825 -5033
  93. package/dist/index.d.mts +5032 -5501
  94. package/dist/index.d.ts +5032 -5501
  95. package/dist/mesheryApi.d.mts +3334 -884
  96. package/dist/mesheryApi.d.ts +3334 -884
  97. package/dist/mesheryApi.js +1 -1
  98. package/dist/mesheryApi.mjs +1 -1
  99. package/dist/permissions.d.mts +25 -1
  100. package/dist/permissions.d.ts +25 -1
  101. package/dist/permissions.js +1 -1
  102. package/dist/permissions.mjs +1 -1
  103. package/package.json +1 -1
@@ -4,64 +4,247 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/api/integrations/credentials": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
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: {
14
82
  /**
15
- * Get credentials
16
- * @description Retrieves all credentials belonging to the authenticated user.
83
+ * Format: uuid
84
+ * @description Unique identifier for the credential.
17
85
  */
18
- get: operations["getUserCredentials"];
86
+ id: string;
87
+ /** @description Human-readable name for the credential. */
88
+ name: string;
19
89
  /**
20
- * Update credential
21
- * @description Updates an existing credential for the authenticated user.
90
+ * Format: uuid
91
+ * @description UUID of the user who owns this credential.
22
92
  */
23
- put: operations["updateUserCredential"];
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 };
24
98
  /**
25
- * Save credential
26
- * @description Saves a new credential for the authenticated user.
99
+ * Format: date-time
100
+ * @description Timestamp when the credential was created.
27
101
  */
28
- post: operations["saveUserCredential"];
102
+ createdAt: string;
29
103
  /**
30
- * Delete credential
31
- * @description Deletes a credential belonging to the authenticated user.
104
+ * Format: date-time
105
+ * @description Timestamp when the credential was last updated.
32
106
  */
33
- delete: operations["deleteUserCredential"];
34
- options?: never;
35
- head?: never;
36
- patch?: never;
37
- trace?: never;
38
- };
39
- "/api/integrations/credentials/{credentialId}": {
40
- parameters: {
41
- query?: never;
42
- header?: never;
43
- path?: never;
44
- cookie?: never;
45
- };
107
+ updatedAt: string;
46
108
  /**
47
- * Get credential by ID
48
- * @description Retrieves a specific credential by its ID.
109
+ * Format: date-time
110
+ * @description Timestamp when the credential was soft-deleted.
49
111
  */
50
- get: operations["getCredentialById"];
51
- put?: never;
52
- post?: never;
53
- delete?: never;
54
- options?: never;
55
- head?: never;
56
- patch?: never;
57
- trace?: never;
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;
58
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
+ };
59
162
  }
60
- export type webhooks = Record<string, never>;
61
- export interface components {
62
- schemas: {
63
- /** @description Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems. */
64
- Credential: {
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": {
65
248
  /**
66
249
  * Format: uuid
67
250
  * @description Unique identifier for the credential.
@@ -77,7 +260,7 @@ export interface components {
77
260
  /** @description Credential type (e.g. token, basic, AWS). */
78
261
  type: string;
79
262
  /** @description Key-value pairs containing the sensitive credential data. */
80
- secret?: Record<string, never>;
263
+ secret?: { [key: string]: unknown };
81
264
  /**
82
265
  * Format: date-time
83
266
  * @description Timestamp when the credential was created.
@@ -93,562 +276,244 @@ export interface components {
93
276
  * @description Timestamp when the credential was soft-deleted.
94
277
  */
95
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;
96
304
  };
97
- /** @description Payload for creating or updating a credential. */
98
- CredentialPayload: {
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": {
99
337
  /**
100
338
  * Format: uuid
101
- * @description Existing credential ID for updates; omit on create.
339
+ * @description Unique identifier for the credential.
102
340
  */
103
- id?: string;
341
+ id: string;
104
342
  /** @description Human-readable name for the credential. */
105
343
  name: string;
106
344
  /**
107
345
  * Format: uuid
108
346
  * @description UUID of the user who owns this credential.
109
347
  */
110
- userId?: string;
348
+ userId: string;
111
349
  /** @description Credential type (e.g. token, basic, AWS). */
112
350
  type: string;
113
351
  /** @description Key-value pairs containing the sensitive credential data. */
114
- secret?: Record<string, never>;
115
- };
116
- /** @description A paginated list of credentials. */
117
- CredentialPage: {
118
- /** @description The credentials returned on the current page. */
119
- credentials: {
120
- /**
121
- * Format: uuid
122
- * @description Unique identifier for the credential.
123
- */
124
- id: string;
125
- /** @description Human-readable name for the credential. */
126
- name: string;
127
- /**
128
- * Format: uuid
129
- * @description UUID of the user who owns this credential.
130
- */
131
- userId: string;
132
- /** @description Credential type (e.g. token, basic, AWS). */
133
- type: string;
134
- /** @description Key-value pairs containing the sensitive credential data. */
135
- secret?: Record<string, never>;
136
- /**
137
- * Format: date-time
138
- * @description Timestamp when the credential was created.
139
- */
140
- createdAt: string;
141
- /**
142
- * Format: date-time
143
- * @description Timestamp when the credential was last updated.
144
- */
145
- updatedAt: string;
146
- /**
147
- * Format: date-time
148
- * @description Timestamp when the credential was soft-deleted.
149
- */
150
- deletedAt?: string;
151
- }[];
152
- /** @description Total number of credentials across all pages. */
153
- total_count: number;
154
- /** @description Current page number (zero-based). */
155
- page: number;
156
- /** @description Number of credentials per page. */
157
- page_size: number;
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
+ };
158
369
  };
159
- };
160
- responses: {
161
- /** @description Invalid request body or request param */
162
- 400: {
163
- headers: {
164
- [name: string]: unknown;
165
- };
166
- content: {
167
- "text/plain": string;
168
- };
370
+ };
371
+ /** Invalid request body or request param */
372
+ 400: {
373
+ content: {
374
+ "text/plain": string;
169
375
  };
170
- /** @description Expired JWT token used or insufficient privilege */
171
- 401: {
172
- headers: {
173
- [name: string]: unknown;
174
- };
175
- content: {
176
- "text/plain": string;
177
- };
376
+ };
377
+ /** Expired JWT token used or insufficient privilege */
378
+ 401: {
379
+ content: {
380
+ "text/plain": string;
178
381
  };
179
- /** @description Result not found */
180
- 404: {
181
- headers: {
182
- [name: string]: unknown;
183
- };
184
- content: {
185
- "text/plain": string;
186
- };
382
+ };
383
+ /** Internal server error */
384
+ 500: {
385
+ content: {
386
+ "text/plain": string;
187
387
  };
188
- /** @description Internal server error */
189
- 500: {
190
- headers: {
191
- [name: string]: unknown;
192
- };
193
- content: {
194
- "text/plain": string;
195
- };
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 };
196
409
  };
410
+ };
197
411
  };
412
+ };
413
+ /** Deletes a credential belonging to the authenticated user. */
414
+ deleteUserCredential: {
198
415
  parameters: {
199
- /** @description Credential ID */
416
+ query: {
417
+ /** Credential ID */
200
418
  credentialId: string;
201
- /** @description Credential ID */
202
- credentialIdQuery: string;
203
- /** @description Get responses by page */
204
- page: string;
205
- /** @description Get responses by pagesize */
206
- pagesize: string;
207
- /** @description Get responses that match search param value */
208
- search: string;
209
- /** @description Get ordered responses */
210
- order: string;
419
+ };
211
420
  };
212
- requestBodies: never;
213
- headers: never;
214
- pathItems: never;
215
- }
216
- export type $defs = Record<string, never>;
217
- export interface operations {
218
- getUserCredentials: {
219
- parameters: {
220
- query?: {
221
- /** @description Get responses by page */
222
- page?: string;
223
- /** @description Get responses by pagesize */
224
- pagesize?: string;
225
- /** @description Get responses that match search param value */
226
- search?: string;
227
- /** @description Get ordered responses */
228
- order?: string;
229
- };
230
- header?: never;
231
- path?: never;
232
- cookie?: never;
233
- };
234
- requestBody?: never;
235
- responses: {
236
- /** @description Credentials response */
237
- 200: {
238
- headers: {
239
- [name: string]: unknown;
240
- };
241
- content: {
242
- "application/json": {
243
- /** @description The credentials returned on the current page. */
244
- credentials: {
245
- /**
246
- * Format: uuid
247
- * @description Unique identifier for the credential.
248
- */
249
- id: string;
250
- /** @description Human-readable name for the credential. */
251
- name: string;
252
- /**
253
- * Format: uuid
254
- * @description UUID of the user who owns this credential.
255
- */
256
- userId: string;
257
- /** @description Credential type (e.g. token, basic, AWS). */
258
- type: string;
259
- /** @description Key-value pairs containing the sensitive credential data. */
260
- secret?: Record<string, never>;
261
- /**
262
- * Format: date-time
263
- * @description Timestamp when the credential was created.
264
- */
265
- createdAt: string;
266
- /**
267
- * Format: date-time
268
- * @description Timestamp when the credential was last updated.
269
- */
270
- updatedAt: string;
271
- /**
272
- * Format: date-time
273
- * @description Timestamp when the credential was soft-deleted.
274
- */
275
- deletedAt?: string;
276
- }[];
277
- /** @description Total number of credentials across all pages. */
278
- total_count: number;
279
- /** @description Current page number (zero-based). */
280
- page: number;
281
- /** @description Number of credentials per page. */
282
- page_size: number;
283
- };
284
- };
285
- };
286
- /** @description Expired JWT token used or insufficient privilege */
287
- 401: {
288
- headers: {
289
- [name: string]: unknown;
290
- };
291
- content: {
292
- "text/plain": string;
293
- };
294
- };
295
- /** @description Internal server error */
296
- 500: {
297
- headers: {
298
- [name: string]: unknown;
299
- };
300
- content: {
301
- "text/plain": string;
302
- };
303
- };
421
+ responses: {
422
+ /** Credential deleted */
423
+ 204: never;
424
+ /** Invalid request body or request param */
425
+ 400: {
426
+ content: {
427
+ "text/plain": string;
304
428
  };
305
- };
306
- updateUserCredential: {
307
- parameters: {
308
- query?: never;
309
- header?: never;
310
- path?: never;
311
- cookie?: never;
429
+ };
430
+ /** Expired JWT token used or insufficient privilege */
431
+ 401: {
432
+ content: {
433
+ "text/plain": string;
312
434
  };
313
- requestBody: {
314
- content: {
315
- "application/json": {
316
- /**
317
- * Format: uuid
318
- * @description Existing credential ID for updates; omit on create.
319
- */
320
- id?: string;
321
- /** @description Human-readable name for the credential. */
322
- name: string;
323
- /**
324
- * Format: uuid
325
- * @description UUID of the user who owns this credential.
326
- */
327
- userId?: string;
328
- /** @description Credential type (e.g. token, basic, AWS). */
329
- type: string;
330
- /** @description Key-value pairs containing the sensitive credential data. */
331
- secret?: Record<string, never>;
332
- };
333
- };
435
+ };
436
+ /** Result not found */
437
+ 404: {
438
+ content: {
439
+ "text/plain": string;
334
440
  };
335
- responses: {
336
- /** @description Credential updated */
337
- 200: {
338
- headers: {
339
- [name: string]: unknown;
340
- };
341
- content: {
342
- "application/json": {
343
- /**
344
- * Format: uuid
345
- * @description Unique identifier for the credential.
346
- */
347
- id: string;
348
- /** @description Human-readable name for the credential. */
349
- name: string;
350
- /**
351
- * Format: uuid
352
- * @description UUID of the user who owns this credential.
353
- */
354
- userId: string;
355
- /** @description Credential type (e.g. token, basic, AWS). */
356
- type: string;
357
- /** @description Key-value pairs containing the sensitive credential data. */
358
- secret?: Record<string, never>;
359
- /**
360
- * Format: date-time
361
- * @description Timestamp when the credential was created.
362
- */
363
- createdAt: string;
364
- /**
365
- * Format: date-time
366
- * @description Timestamp when the credential was last updated.
367
- */
368
- updatedAt: string;
369
- /**
370
- * Format: date-time
371
- * @description Timestamp when the credential was soft-deleted.
372
- */
373
- deletedAt?: string;
374
- };
375
- };
376
- };
377
- /** @description Invalid request body or request param */
378
- 400: {
379
- headers: {
380
- [name: string]: unknown;
381
- };
382
- content: {
383
- "text/plain": string;
384
- };
385
- };
386
- /** @description Expired JWT token used or insufficient privilege */
387
- 401: {
388
- headers: {
389
- [name: string]: unknown;
390
- };
391
- content: {
392
- "text/plain": string;
393
- };
394
- };
395
- /** @description Result not found */
396
- 404: {
397
- headers: {
398
- [name: string]: unknown;
399
- };
400
- content: {
401
- "text/plain": string;
402
- };
403
- };
404
- /** @description Internal server error */
405
- 500: {
406
- headers: {
407
- [name: string]: unknown;
408
- };
409
- content: {
410
- "text/plain": string;
411
- };
412
- };
441
+ };
442
+ /** Internal server error */
443
+ 500: {
444
+ content: {
445
+ "text/plain": string;
413
446
  };
447
+ };
414
448
  };
415
- saveUserCredential: {
416
- parameters: {
417
- query?: never;
418
- header?: never;
419
- path?: never;
420
- cookie?: never;
421
- };
422
- requestBody: {
423
- content: {
424
- "application/json": {
425
- /**
426
- * Format: uuid
427
- * @description Existing credential ID for updates; omit on create.
428
- */
429
- id?: string;
430
- /** @description Human-readable name for the credential. */
431
- name: string;
432
- /**
433
- * Format: uuid
434
- * @description UUID of the user who owns this credential.
435
- */
436
- userId?: string;
437
- /** @description Credential type (e.g. token, basic, AWS). */
438
- type: string;
439
- /** @description Key-value pairs containing the sensitive credential data. */
440
- secret?: Record<string, never>;
441
- };
442
- };
443
- };
444
- responses: {
445
- /** @description Credential saved */
446
- 201: {
447
- headers: {
448
- [name: string]: unknown;
449
- };
450
- content: {
451
- "application/json": {
452
- /**
453
- * Format: uuid
454
- * @description Unique identifier for the credential.
455
- */
456
- id: string;
457
- /** @description Human-readable name for the credential. */
458
- name: string;
459
- /**
460
- * Format: uuid
461
- * @description UUID of the user who owns this credential.
462
- */
463
- userId: string;
464
- /** @description Credential type (e.g. token, basic, AWS). */
465
- type: string;
466
- /** @description Key-value pairs containing the sensitive credential data. */
467
- secret?: Record<string, never>;
468
- /**
469
- * Format: date-time
470
- * @description Timestamp when the credential was created.
471
- */
472
- createdAt: string;
473
- /**
474
- * Format: date-time
475
- * @description Timestamp when the credential was last updated.
476
- */
477
- updatedAt: string;
478
- /**
479
- * Format: date-time
480
- * @description Timestamp when the credential was soft-deleted.
481
- */
482
- deletedAt?: string;
483
- };
484
- };
485
- };
486
- /** @description Invalid request body or request param */
487
- 400: {
488
- headers: {
489
- [name: string]: unknown;
490
- };
491
- content: {
492
- "text/plain": string;
493
- };
494
- };
495
- /** @description Expired JWT token used or insufficient privilege */
496
- 401: {
497
- headers: {
498
- [name: string]: unknown;
499
- };
500
- content: {
501
- "text/plain": string;
502
- };
503
- };
504
- /** @description Internal server error */
505
- 500: {
506
- headers: {
507
- [name: string]: unknown;
508
- };
509
- content: {
510
- "text/plain": string;
511
- };
512
- };
513
- };
449
+ };
450
+ /** Retrieves a specific credential by its ID. */
451
+ getCredentialById: {
452
+ parameters: {
453
+ path: {
454
+ /** Credential ID */
455
+ credentialId: string;
456
+ };
514
457
  };
515
- deleteUserCredential: {
516
- parameters: {
517
- query: {
518
- /** @description Credential ID */
519
- credentialId: string;
520
- };
521
- header?: never;
522
- path?: never;
523
- cookie?: never;
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
+ };
524
495
  };
525
- requestBody?: never;
526
- responses: {
527
- /** @description Credential deleted */
528
- 204: {
529
- headers: {
530
- [name: string]: unknown;
531
- };
532
- content?: never;
533
- };
534
- /** @description Invalid request body or request param */
535
- 400: {
536
- headers: {
537
- [name: string]: unknown;
538
- };
539
- content: {
540
- "text/plain": string;
541
- };
542
- };
543
- /** @description Expired JWT token used or insufficient privilege */
544
- 401: {
545
- headers: {
546
- [name: string]: unknown;
547
- };
548
- content: {
549
- "text/plain": string;
550
- };
551
- };
552
- /** @description Result not found */
553
- 404: {
554
- headers: {
555
- [name: string]: unknown;
556
- };
557
- content: {
558
- "text/plain": string;
559
- };
560
- };
561
- /** @description Internal server error */
562
- 500: {
563
- headers: {
564
- [name: string]: unknown;
565
- };
566
- content: {
567
- "text/plain": string;
568
- };
569
- };
496
+ };
497
+ /** Expired JWT token used or insufficient privilege */
498
+ 401: {
499
+ content: {
500
+ "text/plain": string;
570
501
  };
571
- };
572
- getCredentialById: {
573
- parameters: {
574
- query?: never;
575
- header?: never;
576
- path: {
577
- /** @description Credential ID */
578
- credentialId: string;
579
- };
580
- cookie?: never;
502
+ };
503
+ /** Result not found */
504
+ 404: {
505
+ content: {
506
+ "text/plain": string;
581
507
  };
582
- requestBody?: never;
583
- responses: {
584
- /** @description Credential response */
585
- 200: {
586
- headers: {
587
- [name: string]: unknown;
588
- };
589
- content: {
590
- "application/json": {
591
- /**
592
- * Format: uuid
593
- * @description Unique identifier for the credential.
594
- */
595
- id: string;
596
- /** @description Human-readable name for the credential. */
597
- name: string;
598
- /**
599
- * Format: uuid
600
- * @description UUID of the user who owns this credential.
601
- */
602
- userId: string;
603
- /** @description Credential type (e.g. token, basic, AWS). */
604
- type: string;
605
- /** @description Key-value pairs containing the sensitive credential data. */
606
- secret?: Record<string, never>;
607
- /**
608
- * Format: date-time
609
- * @description Timestamp when the credential was created.
610
- */
611
- createdAt: string;
612
- /**
613
- * Format: date-time
614
- * @description Timestamp when the credential was last updated.
615
- */
616
- updatedAt: string;
617
- /**
618
- * Format: date-time
619
- * @description Timestamp when the credential was soft-deleted.
620
- */
621
- deletedAt?: string;
622
- };
623
- };
624
- };
625
- /** @description Expired JWT token used or insufficient privilege */
626
- 401: {
627
- headers: {
628
- [name: string]: unknown;
629
- };
630
- content: {
631
- "text/plain": string;
632
- };
633
- };
634
- /** @description Result not found */
635
- 404: {
636
- headers: {
637
- [name: string]: unknown;
638
- };
639
- content: {
640
- "text/plain": string;
641
- };
642
- };
643
- /** @description Internal server error */
644
- 500: {
645
- headers: {
646
- [name: string]: unknown;
647
- };
648
- content: {
649
- "text/plain": string;
650
- };
651
- };
508
+ };
509
+ /** Internal server error */
510
+ 500: {
511
+ content: {
512
+ "text/plain": string;
652
513
  };
514
+ };
653
515
  };
516
+ };
654
517
  }
518
+
519
+ export interface external {}