@meshery/schemas 1.2.22 → 1.3.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 (88) hide show
  1. package/dist/cloudApi.d.mts +1719 -1518
  2. package/dist/cloudApi.d.ts +1719 -1518
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6648 -6029
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
  13. package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
  14. package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
  16. package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
  20. package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
  23. package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
  25. package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
  29. package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
  33. package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
  34. package/dist/constructs/v1beta1/system/System.d.ts +434 -0
  35. package/dist/constructs/v1beta1/system/System.js +1 -0
  36. package/dist/constructs/v1beta1/system/System.mjs +0 -0
  37. package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
  38. package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
  39. package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
  41. package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
  42. package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
  43. package/dist/constructs/v1beta1/view/View.d.ts +833 -664
  44. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
  45. package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
  46. package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
  47. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
  48. package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
  49. package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
  50. package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
  51. package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
  52. package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
  53. package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
  54. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
  55. package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
  56. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
  57. package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
  58. package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
  59. package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
  60. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
  61. package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
  62. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
  63. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
  64. package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
  65. package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
  66. package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
  67. package/dist/constructs/v1beta2/view/View.d.ts +838 -669
  68. package/dist/constructs/v1beta3/academy/Academy.d.ts +7836 -7218
  69. package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
  70. package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
  71. package/dist/constructs/v1beta3/design/Design.d.ts +5727 -5305
  72. package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
  73. package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
  74. package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
  75. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
  76. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
  77. package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
  78. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
  79. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
  80. package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
  81. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
  82. package/dist/index.d.mts +5480 -5022
  83. package/dist/index.d.ts +5480 -5022
  84. package/dist/mesheryApi.d.mts +1314 -522
  85. package/dist/mesheryApi.d.ts +1314 -522
  86. package/dist/mesheryApi.js +1 -1
  87. package/dist/mesheryApi.mjs +1 -1
  88. package/package.json +1 -2
@@ -4,203 +4,60 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/user/schedules": {
8
- /** Returns all schedules for the authenticated user. */
9
- get: operations["getSchedules"];
10
- /** Creates or updates a schedule for the authenticated user. */
11
- post: operations["upsertSchedule"];
12
- };
13
- "/user/schedules/{id}": {
14
- /** Returns a specific schedule by its ID. */
15
- get: operations["getSchedule"];
16
- /** Deletes a schedule by its ID. */
17
- delete: operations["deleteSchedule"];
18
- };
19
- }
20
-
21
- export interface components {
22
- schemas: {
23
- /** @description A schedule defines a recurring cron-based trigger for performance tests or other automated tasks. */
24
- Schedule: {
25
- /**
26
- * Format: uuid
27
- * @description Unique identifier for the schedule.
28
- */
29
- id?: string;
30
- /** @description Human-readable name for the schedule. */
31
- name: string;
32
- /**
33
- * Format: uuid
34
- * @description UUID of the user who owns this schedule.
35
- */
36
- user_id: string;
37
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
38
- cron_expression: string;
39
- /**
40
- * Format: date-time
41
- * @description Timestamp when the resource was created.
42
- */
43
- created_at?: string;
44
- /**
45
- * Format: date-time
46
- * @description Timestamp when the resource was updated.
47
- */
48
- updated_at?: string;
49
- };
50
- /** @description A paginated list of schedules. */
51
- SchedulePage: {
52
- /** @description Current page number (zero-based). */
53
- page: number;
54
- /** @description Number of schedules per page. */
55
- page_size: number;
56
- /** @description Total number of schedules across all pages. */
57
- total_count: number;
58
- /** @description The schedules of the schedulepage. */
59
- schedules: {
7
+ "/user/schedules": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
60
14
  /**
61
- * Format: uuid
62
- * @description Unique identifier for the schedule.
15
+ * Get schedules
16
+ * @description Returns all schedules for the authenticated user.
63
17
  */
64
- id?: string;
65
- /** @description Human-readable name for the schedule. */
66
- name: string;
18
+ get: operations["getSchedules"];
19
+ put?: never;
67
20
  /**
68
- * Format: uuid
69
- * @description UUID of the user who owns this schedule.
21
+ * Create or update schedule
22
+ * @description Creates or updates a schedule for the authenticated user.
70
23
  */
71
- user_id: string;
72
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
73
- cron_expression: string;
24
+ post: operations["upsertSchedule"];
25
+ delete?: never;
26
+ options?: never;
27
+ head?: never;
28
+ patch?: never;
29
+ trace?: never;
30
+ };
31
+ "/user/schedules/{id}": {
32
+ parameters: {
33
+ query?: never;
34
+ header?: never;
35
+ path?: never;
36
+ cookie?: never;
37
+ };
74
38
  /**
75
- * Format: date-time
76
- * @description Timestamp when the resource was created.
39
+ * Get schedule by ID
40
+ * @description Returns a specific schedule by its ID.
77
41
  */
78
- created_at?: string;
42
+ get: operations["getSchedule"];
43
+ put?: never;
44
+ post?: never;
79
45
  /**
80
- * Format: date-time
81
- * @description Timestamp when the resource was updated.
46
+ * Delete schedule
47
+ * @description Deletes a schedule by its ID.
82
48
  */
83
- updated_at?: string;
84
- }[];
85
- };
86
- };
87
- responses: {
88
- /** Invalid request body or request param */
89
- 400: {
90
- content: {
91
- "text/plain": string;
92
- };
93
- };
94
- /** Expired JWT token used or insufficient privilege */
95
- 401: {
96
- content: {
97
- "text/plain": string;
98
- };
99
- };
100
- /** Result not found */
101
- 404: {
102
- content: {
103
- "text/plain": string;
104
- };
49
+ delete: operations["deleteSchedule"];
50
+ options?: never;
51
+ head?: never;
52
+ patch?: never;
53
+ trace?: never;
105
54
  };
106
- /** Internal server error */
107
- 500: {
108
- content: {
109
- "text/plain": string;
110
- };
111
- };
112
- };
113
- parameters: {
114
- /** @description Schedule ID */
115
- id: string;
116
- /** @description Get responses by page */
117
- page: string;
118
- /** @description Get responses by pagesize */
119
- pagesize: string;
120
- /** @description Get responses that match search param value */
121
- search: string;
122
- /** @description Get ordered responses */
123
- order: string;
124
- };
125
55
  }
126
-
127
- export interface operations {
128
- /** Returns all schedules for the authenticated user. */
129
- getSchedules: {
130
- parameters: {
131
- query: {
132
- /** Get responses by page */
133
- page?: string;
134
- /** Get responses by pagesize */
135
- pagesize?: string;
136
- /** Get responses that match search param value */
137
- search?: string;
138
- /** Get ordered responses */
139
- order?: string;
140
- };
141
- };
142
- responses: {
143
- /** Schedules response */
144
- 200: {
145
- content: {
146
- "application/json": {
147
- /** @description Current page number (zero-based). */
148
- page: number;
149
- /** @description Number of schedules per page. */
150
- page_size: number;
151
- /** @description Total number of schedules across all pages. */
152
- total_count: number;
153
- /** @description The schedules of the schedulepage. */
154
- schedules: {
155
- /**
156
- * Format: uuid
157
- * @description Unique identifier for the schedule.
158
- */
159
- id?: string;
160
- /** @description Human-readable name for the schedule. */
161
- name: string;
162
- /**
163
- * Format: uuid
164
- * @description UUID of the user who owns this schedule.
165
- */
166
- user_id: string;
167
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
168
- cron_expression: string;
169
- /**
170
- * Format: date-time
171
- * @description Timestamp when the resource was created.
172
- */
173
- created_at?: string;
174
- /**
175
- * Format: date-time
176
- * @description Timestamp when the resource was updated.
177
- */
178
- updated_at?: string;
179
- }[];
180
- };
181
- };
182
- };
183
- /** Expired JWT token used or insufficient privilege */
184
- 401: {
185
- content: {
186
- "text/plain": string;
187
- };
188
- };
189
- /** Internal server error */
190
- 500: {
191
- content: {
192
- "text/plain": string;
193
- };
194
- };
195
- };
196
- };
197
- /** Creates or updates a schedule for the authenticated user. */
198
- upsertSchedule: {
199
- responses: {
200
- /** Schedule upserted */
201
- 200: {
202
- content: {
203
- "application/json": {
56
+ export type webhooks = Record<string, never>;
57
+ export interface components {
58
+ schemas: {
59
+ /** @description A schedule defines a recurring cron-based trigger for performance tests or other automated tasks. */
60
+ Schedule: {
204
61
  /**
205
62
  * Format: uuid
206
63
  * @description Unique identifier for the schedule.
@@ -225,150 +82,403 @@ export interface operations {
225
82
  * @description Timestamp when the resource was updated.
226
83
  */
227
84
  updated_at?: string;
228
- };
229
85
  };
230
- };
231
- /** Invalid request body or request param */
232
- 400: {
233
- content: {
234
- "text/plain": string;
86
+ /** @description A paginated list of schedules. */
87
+ SchedulePage: {
88
+ /** @description Current page number (zero-based). */
89
+ page: number;
90
+ /** @description Number of schedules per page. */
91
+ page_size: number;
92
+ /** @description Total number of schedules across all pages. */
93
+ total_count: number;
94
+ /** @description The schedules of the schedulepage. */
95
+ schedules: {
96
+ /**
97
+ * Format: uuid
98
+ * @description Unique identifier for the schedule.
99
+ */
100
+ id?: string;
101
+ /** @description Human-readable name for the schedule. */
102
+ name: string;
103
+ /**
104
+ * Format: uuid
105
+ * @description UUID of the user who owns this schedule.
106
+ */
107
+ user_id: string;
108
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
109
+ cron_expression: string;
110
+ /**
111
+ * Format: date-time
112
+ * @description Timestamp when the resource was created.
113
+ */
114
+ created_at?: string;
115
+ /**
116
+ * Format: date-time
117
+ * @description Timestamp when the resource was updated.
118
+ */
119
+ updated_at?: string;
120
+ }[];
121
+ };
122
+ };
123
+ responses: {
124
+ /** @description Invalid request body or request param */
125
+ 400: {
126
+ headers: {
127
+ [name: string]: unknown;
128
+ };
129
+ content: {
130
+ "text/plain": string;
131
+ };
235
132
  };
236
- };
237
- /** Expired JWT token used or insufficient privilege */
238
- 401: {
239
- content: {
240
- "text/plain": string;
133
+ /** @description Expired JWT token used or insufficient privilege */
134
+ 401: {
135
+ headers: {
136
+ [name: string]: unknown;
137
+ };
138
+ content: {
139
+ "text/plain": string;
140
+ };
241
141
  };
242
- };
243
- /** Internal server error */
244
- 500: {
245
- content: {
246
- "text/plain": string;
142
+ /** @description Result not found */
143
+ 404: {
144
+ headers: {
145
+ [name: string]: unknown;
146
+ };
147
+ content: {
148
+ "text/plain": string;
149
+ };
247
150
  };
248
- };
249
- };
250
- requestBody: {
251
- content: {
252
- "application/json": {
253
- /**
254
- * Format: uuid
255
- * @description Unique identifier for the schedule.
256
- */
257
- id?: string;
258
- /** @description Human-readable name for the schedule. */
259
- name: string;
260
- /**
261
- * Format: uuid
262
- * @description UUID of the user who owns this schedule.
263
- */
264
- user_id: string;
265
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
266
- cron_expression: string;
267
- /**
268
- * Format: date-time
269
- * @description Timestamp when the resource was created.
270
- */
271
- created_at?: string;
272
- /**
273
- * Format: date-time
274
- * @description Timestamp when the resource was updated.
275
- */
276
- updated_at?: string;
151
+ /** @description Internal server error */
152
+ 500: {
153
+ headers: {
154
+ [name: string]: unknown;
155
+ };
156
+ content: {
157
+ "text/plain": string;
158
+ };
277
159
  };
278
- };
279
160
  };
280
- };
281
- /** Returns a specific schedule by its ID. */
282
- getSchedule: {
283
161
  parameters: {
284
- path: {
285
- /** Schedule ID */
162
+ /** @description Schedule ID */
286
163
  id: string;
287
- };
164
+ /** @description Get responses by page */
165
+ page: string;
166
+ /** @description Get responses by pagesize */
167
+ pagesize: string;
168
+ /** @description Get responses that match search param value */
169
+ search: string;
170
+ /** @description Get ordered responses */
171
+ order: string;
288
172
  };
289
- responses: {
290
- /** Schedule response */
291
- 200: {
292
- content: {
293
- "application/json": {
294
- /**
295
- * Format: uuid
296
- * @description Unique identifier for the schedule.
297
- */
298
- id?: string;
299
- /** @description Human-readable name for the schedule. */
300
- name: string;
301
- /**
302
- * Format: uuid
303
- * @description UUID of the user who owns this schedule.
304
- */
305
- user_id: string;
306
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
307
- cron_expression: string;
308
- /**
309
- * Format: date-time
310
- * @description Timestamp when the resource was created.
311
- */
312
- created_at?: string;
313
- /**
314
- * Format: date-time
315
- * @description Timestamp when the resource was updated.
316
- */
317
- updated_at?: string;
318
- };
173
+ requestBodies: never;
174
+ headers: never;
175
+ pathItems: never;
176
+ }
177
+ export type $defs = Record<string, never>;
178
+ export interface operations {
179
+ getSchedules: {
180
+ parameters: {
181
+ query?: {
182
+ /** @description Get responses by page */
183
+ page?: string;
184
+ /** @description Get responses by pagesize */
185
+ pagesize?: string;
186
+ /** @description Get responses that match search param value */
187
+ search?: string;
188
+ /** @description Get ordered responses */
189
+ order?: string;
190
+ };
191
+ header?: never;
192
+ path?: never;
193
+ cookie?: never;
319
194
  };
320
- };
321
- /** Expired JWT token used or insufficient privilege */
322
- 401: {
323
- content: {
324
- "text/plain": string;
195
+ requestBody?: never;
196
+ responses: {
197
+ /** @description Schedules response */
198
+ 200: {
199
+ headers: {
200
+ [name: string]: unknown;
201
+ };
202
+ content: {
203
+ "application/json": {
204
+ /** @description Current page number (zero-based). */
205
+ page: number;
206
+ /** @description Number of schedules per page. */
207
+ page_size: number;
208
+ /** @description Total number of schedules across all pages. */
209
+ total_count: number;
210
+ /** @description The schedules of the schedulepage. */
211
+ schedules: {
212
+ /**
213
+ * Format: uuid
214
+ * @description Unique identifier for the schedule.
215
+ */
216
+ id?: string;
217
+ /** @description Human-readable name for the schedule. */
218
+ name: string;
219
+ /**
220
+ * Format: uuid
221
+ * @description UUID of the user who owns this schedule.
222
+ */
223
+ user_id: string;
224
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
225
+ cron_expression: string;
226
+ /**
227
+ * Format: date-time
228
+ * @description Timestamp when the resource was created.
229
+ */
230
+ created_at?: string;
231
+ /**
232
+ * Format: date-time
233
+ * @description Timestamp when the resource was updated.
234
+ */
235
+ updated_at?: string;
236
+ }[];
237
+ };
238
+ };
239
+ };
240
+ /** @description Expired JWT token used or insufficient privilege */
241
+ 401: {
242
+ headers: {
243
+ [name: string]: unknown;
244
+ };
245
+ content: {
246
+ "text/plain": string;
247
+ };
248
+ };
249
+ /** @description Internal server error */
250
+ 500: {
251
+ headers: {
252
+ [name: string]: unknown;
253
+ };
254
+ content: {
255
+ "text/plain": string;
256
+ };
257
+ };
325
258
  };
326
- };
327
- /** Result not found */
328
- 404: {
329
- content: {
330
- "text/plain": string;
259
+ };
260
+ upsertSchedule: {
261
+ parameters: {
262
+ query?: never;
263
+ header?: never;
264
+ path?: never;
265
+ cookie?: never;
331
266
  };
332
- };
333
- /** Internal server error */
334
- 500: {
335
- content: {
336
- "text/plain": string;
267
+ requestBody: {
268
+ content: {
269
+ "application/json": {
270
+ /**
271
+ * Format: uuid
272
+ * @description Unique identifier for the schedule.
273
+ */
274
+ id?: string;
275
+ /** @description Human-readable name for the schedule. */
276
+ name: string;
277
+ /**
278
+ * Format: uuid
279
+ * @description UUID of the user who owns this schedule.
280
+ */
281
+ user_id: string;
282
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
283
+ cron_expression: string;
284
+ /**
285
+ * Format: date-time
286
+ * @description Timestamp when the resource was created.
287
+ */
288
+ created_at?: string;
289
+ /**
290
+ * Format: date-time
291
+ * @description Timestamp when the resource was updated.
292
+ */
293
+ updated_at?: string;
294
+ };
295
+ };
296
+ };
297
+ responses: {
298
+ /** @description Schedule upserted */
299
+ 200: {
300
+ headers: {
301
+ [name: string]: unknown;
302
+ };
303
+ content: {
304
+ "application/json": {
305
+ /**
306
+ * Format: uuid
307
+ * @description Unique identifier for the schedule.
308
+ */
309
+ id?: string;
310
+ /** @description Human-readable name for the schedule. */
311
+ name: string;
312
+ /**
313
+ * Format: uuid
314
+ * @description UUID of the user who owns this schedule.
315
+ */
316
+ user_id: string;
317
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
318
+ cron_expression: string;
319
+ /**
320
+ * Format: date-time
321
+ * @description Timestamp when the resource was created.
322
+ */
323
+ created_at?: string;
324
+ /**
325
+ * Format: date-time
326
+ * @description Timestamp when the resource was updated.
327
+ */
328
+ updated_at?: string;
329
+ };
330
+ };
331
+ };
332
+ /** @description Invalid request body or request param */
333
+ 400: {
334
+ headers: {
335
+ [name: string]: unknown;
336
+ };
337
+ content: {
338
+ "text/plain": string;
339
+ };
340
+ };
341
+ /** @description Expired JWT token used or insufficient privilege */
342
+ 401: {
343
+ headers: {
344
+ [name: string]: unknown;
345
+ };
346
+ content: {
347
+ "text/plain": string;
348
+ };
349
+ };
350
+ /** @description Internal server error */
351
+ 500: {
352
+ headers: {
353
+ [name: string]: unknown;
354
+ };
355
+ content: {
356
+ "text/plain": string;
357
+ };
358
+ };
337
359
  };
338
- };
339
- };
340
- };
341
- /** Deletes a schedule by its ID. */
342
- deleteSchedule: {
343
- parameters: {
344
- path: {
345
- /** Schedule ID */
346
- id: string;
347
- };
348
360
  };
349
- responses: {
350
- /** Schedule deleted */
351
- 204: never;
352
- /** Expired JWT token used or insufficient privilege */
353
- 401: {
354
- content: {
355
- "text/plain": string;
361
+ getSchedule: {
362
+ parameters: {
363
+ query?: never;
364
+ header?: never;
365
+ path: {
366
+ /** @description Schedule ID */
367
+ id: string;
368
+ };
369
+ cookie?: never;
356
370
  };
357
- };
358
- /** Result not found */
359
- 404: {
360
- content: {
361
- "text/plain": string;
371
+ requestBody?: never;
372
+ responses: {
373
+ /** @description Schedule response */
374
+ 200: {
375
+ headers: {
376
+ [name: string]: unknown;
377
+ };
378
+ content: {
379
+ "application/json": {
380
+ /**
381
+ * Format: uuid
382
+ * @description Unique identifier for the schedule.
383
+ */
384
+ id?: string;
385
+ /** @description Human-readable name for the schedule. */
386
+ name: string;
387
+ /**
388
+ * Format: uuid
389
+ * @description UUID of the user who owns this schedule.
390
+ */
391
+ user_id: string;
392
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
393
+ cron_expression: string;
394
+ /**
395
+ * Format: date-time
396
+ * @description Timestamp when the resource was created.
397
+ */
398
+ created_at?: string;
399
+ /**
400
+ * Format: date-time
401
+ * @description Timestamp when the resource was updated.
402
+ */
403
+ updated_at?: string;
404
+ };
405
+ };
406
+ };
407
+ /** @description Expired JWT token used or insufficient privilege */
408
+ 401: {
409
+ headers: {
410
+ [name: string]: unknown;
411
+ };
412
+ content: {
413
+ "text/plain": string;
414
+ };
415
+ };
416
+ /** @description Result not found */
417
+ 404: {
418
+ headers: {
419
+ [name: string]: unknown;
420
+ };
421
+ content: {
422
+ "text/plain": string;
423
+ };
424
+ };
425
+ /** @description Internal server error */
426
+ 500: {
427
+ headers: {
428
+ [name: string]: unknown;
429
+ };
430
+ content: {
431
+ "text/plain": string;
432
+ };
433
+ };
362
434
  };
363
- };
364
- /** Internal server error */
365
- 500: {
366
- content: {
367
- "text/plain": string;
435
+ };
436
+ deleteSchedule: {
437
+ parameters: {
438
+ query?: never;
439
+ header?: never;
440
+ path: {
441
+ /** @description Schedule ID */
442
+ id: string;
443
+ };
444
+ cookie?: never;
445
+ };
446
+ requestBody?: never;
447
+ responses: {
448
+ /** @description Schedule deleted */
449
+ 204: {
450
+ headers: {
451
+ [name: string]: unknown;
452
+ };
453
+ content?: never;
454
+ };
455
+ /** @description Expired JWT token used or insufficient privilege */
456
+ 401: {
457
+ headers: {
458
+ [name: string]: unknown;
459
+ };
460
+ content: {
461
+ "text/plain": string;
462
+ };
463
+ };
464
+ /** @description Result not found */
465
+ 404: {
466
+ headers: {
467
+ [name: string]: unknown;
468
+ };
469
+ content: {
470
+ "text/plain": string;
471
+ };
472
+ };
473
+ /** @description Internal server error */
474
+ 500: {
475
+ headers: {
476
+ [name: string]: unknown;
477
+ };
478
+ content: {
479
+ "text/plain": string;
480
+ };
481
+ };
368
482
  };
369
- };
370
483
  };
371
- };
372
484
  }
373
-
374
- export interface external {}