@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,60 +4,250 @@
4
4
  */
5
5
 
6
6
  export interface paths {
7
- "/user/schedules": {
8
- parameters: {
9
- query?: never;
10
- header?: never;
11
- path?: never;
12
- cookie?: never;
13
- };
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/{scheduleId}": {
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
+ userId: string;
37
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
38
+ cronExpression: string;
39
+ /**
40
+ * Format: date-time
41
+ * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
42
+ */
43
+ lastRun?: string;
44
+ /**
45
+ * Format: date-time
46
+ * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
47
+ */
48
+ nextRun?: string;
49
+ /**
50
+ * Format: date-time
51
+ * @description Timestamp when the schedule was created.
52
+ */
53
+ createdAt?: string;
54
+ /**
55
+ * Format: date-time
56
+ * @description Timestamp when the schedule was last updated.
57
+ */
58
+ updatedAt?: string;
59
+ };
60
+ /** @description Payload for upserting a schedule. Includes only client-settable fields. */
61
+ SchedulePayload: {
62
+ /**
63
+ * Format: uuid
64
+ * @description Existing schedule ID for updates; omit on create.
65
+ */
66
+ id?: string;
67
+ /** @description Human-readable name for the schedule. */
68
+ name: string;
69
+ /**
70
+ * Format: uuid
71
+ * @description Owner user ID; inferred from the authenticated user when omitted.
72
+ */
73
+ userId?: string;
74
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
75
+ cronExpression: string;
76
+ };
77
+ /** @description A paginated list of schedules. */
78
+ SchedulePage: {
79
+ /** @description Current page number (zero-based). */
80
+ page: number;
81
+ /** @description Number of schedules per page. */
82
+ pageSize: number;
83
+ /** @description Total number of schedules across all pages. */
84
+ totalCount: number;
85
+ /** @description The schedules of the schedulepage. */
86
+ schedules: {
14
87
  /**
15
- * Get schedules
16
- * @description Returns all schedules for the authenticated user.
88
+ * Format: uuid
89
+ * @description Unique identifier for the schedule.
17
90
  */
18
- get: operations["getSchedules"];
19
- put?: never;
91
+ id?: string;
92
+ /** @description Human-readable name for the schedule. */
93
+ name: string;
20
94
  /**
21
- * Create or update schedule
22
- * @description Creates or updates a schedule for the authenticated user.
95
+ * Format: uuid
96
+ * @description UUID of the user who owns this schedule.
23
97
  */
24
- post: operations["upsertSchedule"];
25
- delete?: never;
26
- options?: never;
27
- head?: never;
28
- patch?: never;
29
- trace?: never;
30
- };
31
- "/user/schedules/{scheduleId}": {
32
- parameters: {
33
- query?: never;
34
- header?: never;
35
- path?: never;
36
- cookie?: never;
37
- };
98
+ userId: string;
99
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
100
+ cronExpression: string;
101
+ /**
102
+ * Format: date-time
103
+ * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
104
+ */
105
+ lastRun?: string;
106
+ /**
107
+ * Format: date-time
108
+ * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
109
+ */
110
+ nextRun?: string;
38
111
  /**
39
- * Get schedule by ID
40
- * @description Returns a specific schedule by its ID.
112
+ * Format: date-time
113
+ * @description Timestamp when the schedule was created.
41
114
  */
42
- get: operations["getSchedule"];
43
- put?: never;
44
- post?: never;
115
+ createdAt?: string;
45
116
  /**
46
- * Delete schedule
47
- * @description Deletes a schedule by its ID.
117
+ * Format: date-time
118
+ * @description Timestamp when the schedule was last updated.
48
119
  */
49
- delete: operations["deleteSchedule"];
50
- options?: never;
51
- head?: never;
52
- patch?: never;
53
- trace?: never;
120
+ updatedAt?: string;
121
+ }[];
54
122
  };
123
+ };
124
+ responses: {
125
+ /** Invalid request body or request param */
126
+ 400: {
127
+ content: {
128
+ "text/plain": string;
129
+ };
130
+ };
131
+ /** Expired JWT token used or insufficient privilege */
132
+ 401: {
133
+ content: {
134
+ "text/plain": string;
135
+ };
136
+ };
137
+ /** Result not found */
138
+ 404: {
139
+ content: {
140
+ "text/plain": string;
141
+ };
142
+ };
143
+ /** Internal server error */
144
+ 500: {
145
+ content: {
146
+ "text/plain": string;
147
+ };
148
+ };
149
+ };
150
+ parameters: {
151
+ /** @description Schedule ID */
152
+ scheduleId: string;
153
+ /** @description Get responses by page */
154
+ page: string;
155
+ /** @description Get responses by page size */
156
+ pageSize: string;
157
+ /** @description Get responses that match search param value */
158
+ search: string;
159
+ /** @description Get ordered responses */
160
+ order: string;
161
+ };
55
162
  }
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: {
163
+
164
+ export interface operations {
165
+ /** Returns all schedules for the authenticated user. */
166
+ getSchedules: {
167
+ parameters: {
168
+ query: {
169
+ /** Get responses by page */
170
+ page?: string;
171
+ /** Get responses by page size */
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
+ /** Schedules response */
181
+ 200: {
182
+ content: {
183
+ "application/json": {
184
+ /** @description Current page number (zero-based). */
185
+ page: number;
186
+ /** @description Number of schedules per page. */
187
+ pageSize: number;
188
+ /** @description Total number of schedules across all pages. */
189
+ totalCount: number;
190
+ /** @description The schedules of the schedulepage. */
191
+ schedules: {
192
+ /**
193
+ * Format: uuid
194
+ * @description Unique identifier for the schedule.
195
+ */
196
+ id?: string;
197
+ /** @description Human-readable name for the schedule. */
198
+ name: string;
199
+ /**
200
+ * Format: uuid
201
+ * @description UUID of the user who owns this schedule.
202
+ */
203
+ userId: string;
204
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
205
+ cronExpression: string;
206
+ /**
207
+ * Format: date-time
208
+ * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
209
+ */
210
+ lastRun?: string;
211
+ /**
212
+ * Format: date-time
213
+ * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
214
+ */
215
+ nextRun?: string;
216
+ /**
217
+ * Format: date-time
218
+ * @description Timestamp when the schedule was created.
219
+ */
220
+ createdAt?: string;
221
+ /**
222
+ * Format: date-time
223
+ * @description Timestamp when the schedule was last updated.
224
+ */
225
+ updatedAt?: string;
226
+ }[];
227
+ };
228
+ };
229
+ };
230
+ /** Expired JWT token used or insufficient privilege */
231
+ 401: {
232
+ content: {
233
+ "text/plain": string;
234
+ };
235
+ };
236
+ /** Internal server error */
237
+ 500: {
238
+ content: {
239
+ "text/plain": string;
240
+ };
241
+ };
242
+ };
243
+ };
244
+ /** Creates or updates a schedule for the authenticated user. */
245
+ upsertSchedule: {
246
+ responses: {
247
+ /** Schedule upserted */
248
+ 200: {
249
+ content: {
250
+ "application/json": {
61
251
  /**
62
252
  * Format: uuid
63
253
  * @description Unique identifier for the schedule.
@@ -92,450 +282,150 @@ export interface components {
92
282
  * @description Timestamp when the schedule was last updated.
93
283
  */
94
284
  updatedAt?: string;
285
+ };
95
286
  };
96
- /** @description Payload for upserting a schedule. Includes only client-settable fields. */
97
- SchedulePayload: {
287
+ };
288
+ /** Invalid request body or request param */
289
+ 400: {
290
+ content: {
291
+ "text/plain": string;
292
+ };
293
+ };
294
+ /** Expired JWT token used or insufficient privilege */
295
+ 401: {
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 schedule ID for updates; omit on create.
313
+ */
314
+ id?: string;
315
+ /** @description Human-readable name for the schedule. */
316
+ name: string;
317
+ /**
318
+ * Format: uuid
319
+ * @description Owner user ID; inferred from the authenticated user when omitted.
320
+ */
321
+ userId?: string;
322
+ /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
323
+ cronExpression: string;
324
+ };
325
+ };
326
+ };
327
+ };
328
+ /** Returns a specific schedule by its ID. */
329
+ getSchedule: {
330
+ parameters: {
331
+ path: {
332
+ /** Schedule ID */
333
+ scheduleId: string;
334
+ };
335
+ };
336
+ responses: {
337
+ /** Schedule response */
338
+ 200: {
339
+ content: {
340
+ "application/json": {
98
341
  /**
99
342
  * Format: uuid
100
- * @description Existing schedule ID for updates; omit on create.
343
+ * @description Unique identifier for the schedule.
101
344
  */
102
345
  id?: string;
103
346
  /** @description Human-readable name for the schedule. */
104
347
  name: string;
105
348
  /**
106
349
  * Format: uuid
107
- * @description Owner user ID; inferred from the authenticated user when omitted.
350
+ * @description UUID of the user who owns this schedule.
108
351
  */
109
- userId?: string;
352
+ userId: string;
110
353
  /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
111
354
  cronExpression: string;
355
+ /**
356
+ * Format: date-time
357
+ * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
358
+ */
359
+ lastRun?: string;
360
+ /**
361
+ * Format: date-time
362
+ * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
363
+ */
364
+ nextRun?: string;
365
+ /**
366
+ * Format: date-time
367
+ * @description Timestamp when the schedule was created.
368
+ */
369
+ createdAt?: string;
370
+ /**
371
+ * Format: date-time
372
+ * @description Timestamp when the schedule was last updated.
373
+ */
374
+ updatedAt?: string;
375
+ };
112
376
  };
113
- /** @description A paginated list of schedules. */
114
- SchedulePage: {
115
- /** @description Current page number (zero-based). */
116
- page: number;
117
- /** @description Number of schedules per page. */
118
- pageSize: number;
119
- /** @description Total number of schedules across all pages. */
120
- totalCount: number;
121
- /** @description The schedules of the schedulepage. */
122
- schedules: {
123
- /**
124
- * Format: uuid
125
- * @description Unique identifier for the schedule.
126
- */
127
- id?: string;
128
- /** @description Human-readable name for the schedule. */
129
- name: string;
130
- /**
131
- * Format: uuid
132
- * @description UUID of the user who owns this schedule.
133
- */
134
- userId: string;
135
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
136
- cronExpression: string;
137
- /**
138
- * Format: date-time
139
- * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
140
- */
141
- lastRun?: string;
142
- /**
143
- * Format: date-time
144
- * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
145
- */
146
- nextRun?: string;
147
- /**
148
- * Format: date-time
149
- * @description Timestamp when the schedule was created.
150
- */
151
- createdAt?: string;
152
- /**
153
- * Format: date-time
154
- * @description Timestamp when the schedule was last updated.
155
- */
156
- updatedAt?: string;
157
- }[];
158
- };
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
- };
169
- };
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
- };
377
+ };
378
+ /** Expired JWT token used or insufficient privilege */
379
+ 401: {
380
+ content: {
381
+ "text/plain": string;
178
382
  };
179
- /** @description Result not found */
180
- 404: {
181
- headers: {
182
- [name: string]: unknown;
183
- };
184
- content: {
185
- "text/plain": string;
186
- };
383
+ };
384
+ /** Result not found */
385
+ 404: {
386
+ content: {
387
+ "text/plain": string;
187
388
  };
188
- /** @description Internal server error */
189
- 500: {
190
- headers: {
191
- [name: string]: unknown;
192
- };
193
- content: {
194
- "text/plain": string;
195
- };
389
+ };
390
+ /** Internal server error */
391
+ 500: {
392
+ content: {
393
+ "text/plain": string;
196
394
  };
395
+ };
197
396
  };
397
+ };
398
+ /** Deletes a schedule by its ID. */
399
+ deleteSchedule: {
198
400
  parameters: {
199
- /** @description Schedule ID */
401
+ path: {
402
+ /** Schedule ID */
200
403
  scheduleId: string;
201
- /** @description Get responses by page */
202
- page: string;
203
- /** @description Get responses by page size */
204
- pageSize: string;
205
- /** @description Get responses that match search param value */
206
- search: string;
207
- /** @description Get ordered responses */
208
- order: string;
404
+ };
209
405
  };
210
- requestBodies: never;
211
- headers: never;
212
- pathItems: never;
213
- }
214
- export type $defs = Record<string, never>;
215
- export interface operations {
216
- getSchedules: {
217
- parameters: {
218
- query?: {
219
- /** @description Get responses by page */
220
- page?: string;
221
- /** @description Get responses by page size */
222
- pageSize?: string;
223
- /** @description Get responses that match search param value */
224
- search?: string;
225
- /** @description Get ordered responses */
226
- order?: string;
227
- };
228
- header?: never;
229
- path?: never;
230
- cookie?: never;
231
- };
232
- requestBody?: never;
233
- responses: {
234
- /** @description Schedules response */
235
- 200: {
236
- headers: {
237
- [name: string]: unknown;
238
- };
239
- content: {
240
- "application/json": {
241
- /** @description Current page number (zero-based). */
242
- page: number;
243
- /** @description Number of schedules per page. */
244
- pageSize: number;
245
- /** @description Total number of schedules across all pages. */
246
- totalCount: number;
247
- /** @description The schedules of the schedulepage. */
248
- schedules: {
249
- /**
250
- * Format: uuid
251
- * @description Unique identifier for the schedule.
252
- */
253
- id?: string;
254
- /** @description Human-readable name for the schedule. */
255
- name: string;
256
- /**
257
- * Format: uuid
258
- * @description UUID of the user who owns this schedule.
259
- */
260
- userId: string;
261
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
262
- cronExpression: string;
263
- /**
264
- * Format: date-time
265
- * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
266
- */
267
- lastRun?: string;
268
- /**
269
- * Format: date-time
270
- * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
271
- */
272
- nextRun?: string;
273
- /**
274
- * Format: date-time
275
- * @description Timestamp when the schedule was created.
276
- */
277
- createdAt?: string;
278
- /**
279
- * Format: date-time
280
- * @description Timestamp when the schedule was last updated.
281
- */
282
- updatedAt?: string;
283
- }[];
284
- };
285
- };
286
- };
287
- /** @description Expired JWT token used or insufficient privilege */
288
- 401: {
289
- headers: {
290
- [name: string]: unknown;
291
- };
292
- content: {
293
- "text/plain": string;
294
- };
295
- };
296
- /** @description Internal server error */
297
- 500: {
298
- headers: {
299
- [name: string]: unknown;
300
- };
301
- content: {
302
- "text/plain": string;
303
- };
304
- };
305
- };
306
- };
307
- upsertSchedule: {
308
- parameters: {
309
- query?: never;
310
- header?: never;
311
- path?: never;
312
- cookie?: never;
313
- };
314
- requestBody: {
315
- content: {
316
- "application/json": {
317
- /**
318
- * Format: uuid
319
- * @description Existing schedule ID for updates; omit on create.
320
- */
321
- id?: string;
322
- /** @description Human-readable name for the schedule. */
323
- name: string;
324
- /**
325
- * Format: uuid
326
- * @description Owner user ID; inferred from the authenticated user when omitted.
327
- */
328
- userId?: string;
329
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
330
- cronExpression: string;
331
- };
332
- };
333
- };
334
- responses: {
335
- /** @description Schedule upserted */
336
- 200: {
337
- headers: {
338
- [name: string]: unknown;
339
- };
340
- content: {
341
- "application/json": {
342
- /**
343
- * Format: uuid
344
- * @description Unique identifier for the schedule.
345
- */
346
- id?: string;
347
- /** @description Human-readable name for the schedule. */
348
- name: string;
349
- /**
350
- * Format: uuid
351
- * @description UUID of the user who owns this schedule.
352
- */
353
- userId: string;
354
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
355
- cronExpression: string;
356
- /**
357
- * Format: date-time
358
- * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
359
- */
360
- lastRun?: string;
361
- /**
362
- * Format: date-time
363
- * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
364
- */
365
- nextRun?: string;
366
- /**
367
- * Format: date-time
368
- * @description Timestamp when the schedule was created.
369
- */
370
- createdAt?: string;
371
- /**
372
- * Format: date-time
373
- * @description Timestamp when the schedule was last updated.
374
- */
375
- updatedAt?: string;
376
- };
377
- };
378
- };
379
- /** @description Invalid request body or request param */
380
- 400: {
381
- headers: {
382
- [name: string]: unknown;
383
- };
384
- content: {
385
- "text/plain": string;
386
- };
387
- };
388
- /** @description Expired JWT token used or insufficient privilege */
389
- 401: {
390
- headers: {
391
- [name: string]: unknown;
392
- };
393
- content: {
394
- "text/plain": string;
395
- };
396
- };
397
- /** @description Internal server error */
398
- 500: {
399
- headers: {
400
- [name: string]: unknown;
401
- };
402
- content: {
403
- "text/plain": string;
404
- };
405
- };
406
- };
407
- };
408
- getSchedule: {
409
- parameters: {
410
- query?: never;
411
- header?: never;
412
- path: {
413
- /** @description Schedule ID */
414
- scheduleId: string;
415
- };
416
- cookie?: never;
406
+ responses: {
407
+ /** Schedule deleted */
408
+ 204: never;
409
+ /** Expired JWT token used or insufficient privilege */
410
+ 401: {
411
+ content: {
412
+ "text/plain": string;
417
413
  };
418
- requestBody?: never;
419
- responses: {
420
- /** @description Schedule response */
421
- 200: {
422
- headers: {
423
- [name: string]: unknown;
424
- };
425
- content: {
426
- "application/json": {
427
- /**
428
- * Format: uuid
429
- * @description Unique identifier for the schedule.
430
- */
431
- id?: string;
432
- /** @description Human-readable name for the schedule. */
433
- name: string;
434
- /**
435
- * Format: uuid
436
- * @description UUID of the user who owns this schedule.
437
- */
438
- userId: string;
439
- /** @description Cron expression defining the schedule's recurrence (e.g. "0 0 * * *" for daily at midnight). */
440
- cronExpression: string;
441
- /**
442
- * Format: date-time
443
- * @description Server-computed timestamp of the schedule's most recent execution. Null until the first run completes. Server-managed; clients must not set this on create/update.
444
- */
445
- lastRun?: string;
446
- /**
447
- * Format: date-time
448
- * @description Server-computed timestamp of the schedule's next planned execution, derived from the cron expression. Server-managed; clients must not set this on create/update.
449
- */
450
- nextRun?: string;
451
- /**
452
- * Format: date-time
453
- * @description Timestamp when the schedule was created.
454
- */
455
- createdAt?: string;
456
- /**
457
- * Format: date-time
458
- * @description Timestamp when the schedule was last updated.
459
- */
460
- updatedAt?: string;
461
- };
462
- };
463
- };
464
- /** @description Expired JWT token used or insufficient privilege */
465
- 401: {
466
- headers: {
467
- [name: string]: unknown;
468
- };
469
- content: {
470
- "text/plain": string;
471
- };
472
- };
473
- /** @description Result not found */
474
- 404: {
475
- headers: {
476
- [name: string]: unknown;
477
- };
478
- content: {
479
- "text/plain": string;
480
- };
481
- };
482
- /** @description Internal server error */
483
- 500: {
484
- headers: {
485
- [name: string]: unknown;
486
- };
487
- content: {
488
- "text/plain": string;
489
- };
490
- };
414
+ };
415
+ /** Result not found */
416
+ 404: {
417
+ content: {
418
+ "text/plain": string;
491
419
  };
492
- };
493
- deleteSchedule: {
494
- parameters: {
495
- query?: never;
496
- header?: never;
497
- path: {
498
- /** @description Schedule ID */
499
- scheduleId: string;
500
- };
501
- cookie?: never;
502
- };
503
- requestBody?: never;
504
- responses: {
505
- /** @description Schedule deleted */
506
- 204: {
507
- headers: {
508
- [name: string]: unknown;
509
- };
510
- content?: never;
511
- };
512
- /** @description Expired JWT token used or insufficient privilege */
513
- 401: {
514
- headers: {
515
- [name: string]: unknown;
516
- };
517
- content: {
518
- "text/plain": string;
519
- };
520
- };
521
- /** @description Result not found */
522
- 404: {
523
- headers: {
524
- [name: string]: unknown;
525
- };
526
- content: {
527
- "text/plain": string;
528
- };
529
- };
530
- /** @description Internal server error */
531
- 500: {
532
- headers: {
533
- [name: string]: unknown;
534
- };
535
- content: {
536
- "text/plain": string;
537
- };
538
- };
420
+ };
421
+ /** Internal server error */
422
+ 500: {
423
+ content: {
424
+ "text/plain": string;
539
425
  };
426
+ };
540
427
  };
428
+ };
541
429
  }
430
+
431
+ export interface external {}