@figulus/schema 0.5.0-alpha-dev-2 → 0.5.0-alpha-dev-4

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 (141) hide show
  1. package/.openapi-meta/generator/generation-mode.ts +41 -0
  2. package/.openapi-meta/generator/output/cleaned-src-dir.ts +40 -0
  3. package/{scripts/fix-openapi-3.1.ts → .openapi-meta/generator/output/lib/fix-generated-openapi.ts} +3 -84
  4. package/.openapi-meta/generator/output/openapi-file.ts +141 -0
  5. package/.openapi-meta/generator/output/openapi-meta-dir.ts +214 -0
  6. package/.openapi-meta/generator/output/output-dir.ts +16 -0
  7. package/.openapi-meta/generator/output/output-file.ts +33 -0
  8. package/.openapi-meta/generator/src-file.ts +239 -0
  9. package/.openapi-meta/index.ts +3 -3
  10. package/dist/core/entities/figspec.d.ts.map +1 -1
  11. package/dist/core/entities/figspec.js +9 -11
  12. package/dist/core/entities/figspec.js.map +1 -1
  13. package/dist/core/entities/figstack.d.ts.map +1 -1
  14. package/dist/core/entities/figstack.js +12 -14
  15. package/dist/core/entities/figstack.js.map +1 -1
  16. package/dist/core/execute.d.ts.map +1 -1
  17. package/dist/core/execute.js +10 -12
  18. package/dist/core/execute.js.map +1 -1
  19. package/dist/core/generic.d.ts.map +1 -1
  20. package/dist/core/generic.js +11 -13
  21. package/dist/core/generic.js.map +1 -1
  22. package/dist/core/primitives.d.ts.map +1 -1
  23. package/dist/core/primitives.js +1 -7
  24. package/dist/core/primitives.js.map +1 -1
  25. package/dist/core/volumes.d.ts.map +1 -1
  26. package/dist/core/volumes.js +21 -23
  27. package/dist/core/volumes.js.map +1 -1
  28. package/dist/engine/deprecated/run-request.d.ts.map +1 -1
  29. package/dist/engine/deprecated/run-request.js +14 -16
  30. package/dist/engine/deprecated/run-request.js.map +1 -1
  31. package/dist/engine/dry-run.d.ts.map +1 -1
  32. package/dist/engine/dry-run.js +1 -3
  33. package/dist/engine/dry-run.js.map +1 -1
  34. package/dist/engine/health.d.ts.map +1 -1
  35. package/dist/engine/health.js +3 -5
  36. package/dist/engine/health.js.map +1 -1
  37. package/dist/engine/images.d.ts.map +1 -1
  38. package/dist/engine/images.js +17 -19
  39. package/dist/engine/images.js.map +1 -1
  40. package/dist/engine/paths/containers.d.ts +410 -7
  41. package/dist/engine/paths/containers.d.ts.map +1 -1
  42. package/dist/engine/paths/containers.js +0 -2
  43. package/dist/engine/paths/containers.js.map +1 -1
  44. package/dist/engine/paths/dry-run.d.ts +86 -2
  45. package/dist/engine/paths/dry-run.d.ts.map +1 -1
  46. package/dist/engine/paths/dry-run.js.map +1 -1
  47. package/dist/engine/paths/health.d.ts +48 -2
  48. package/dist/engine/paths/health.d.ts.map +1 -1
  49. package/dist/engine/paths/health.js.map +1 -1
  50. package/dist/engine/paths/images.d.ts +170 -4
  51. package/dist/engine/paths/images.d.ts.map +1 -1
  52. package/dist/engine/paths/images.js +0 -2
  53. package/dist/engine/paths/images.js.map +1 -1
  54. package/dist/engine/paths/sessions.d.ts +728 -9
  55. package/dist/engine/paths/sessions.d.ts.map +1 -1
  56. package/dist/engine/paths/sessions.js +0 -2
  57. package/dist/engine/paths/sessions.js.map +1 -1
  58. package/dist/engine/paths/stacks.d.ts +275 -5
  59. package/dist/engine/paths/stacks.d.ts.map +1 -1
  60. package/dist/engine/paths/stacks.js.map +1 -1
  61. package/dist/engine/paths/volumes.d.ts +203 -5
  62. package/dist/engine/paths/volumes.d.ts.map +1 -1
  63. package/dist/engine/paths/volumes.js.map +1 -1
  64. package/dist/engine/response.d.ts.map +1 -1
  65. package/dist/engine/response.js +4 -6
  66. package/dist/engine/response.js.map +1 -1
  67. package/dist/engine/sessions.d.ts.map +1 -1
  68. package/dist/engine/sessions.js +41 -43
  69. package/dist/engine/sessions.js.map +1 -1
  70. package/dist/engine/volumes.d.ts.map +1 -1
  71. package/dist/engine/volumes.js +11 -13
  72. package/dist/engine/volumes.js.map +1 -1
  73. package/dist/registry/json-schema.d.ts +3 -3
  74. package/dist/registry/json-schema.d.ts.map +1 -1
  75. package/dist/registry/json-schema.js.map +1 -1
  76. package/dist/registry/metadata.d.ts.map +1 -1
  77. package/dist/registry/metadata.js +10 -13
  78. package/dist/registry/metadata.js.map +1 -1
  79. package/package.json +10 -6
  80. package/scripts/generator.ts +92 -0
  81. package/{src → src-raw}/core/primitives.ts +1 -4
  82. package/{src → src-raw}/registry/metadata.ts +1 -2
  83. package/tsconfig.build.json +1 -1
  84. package/tsconfig.json +1 -1
  85. package/dist/core/entities/index.d.ts +0 -3
  86. package/dist/core/entities/index.d.ts.map +0 -1
  87. package/dist/core/entities/index.js +0 -3
  88. package/dist/core/entities/index.js.map +0 -1
  89. package/dist/core/index.d.ts +0 -6
  90. package/dist/core/index.d.ts.map +0 -1
  91. package/dist/core/index.js +0 -6
  92. package/dist/core/index.js.map +0 -1
  93. package/dist/engine/deprecated/index.d.ts +0 -2
  94. package/dist/engine/deprecated/index.d.ts.map +0 -1
  95. package/dist/engine/deprecated/index.js +0 -2
  96. package/dist/engine/deprecated/index.js.map +0 -1
  97. package/dist/engine/index.d.ts +0 -9
  98. package/dist/engine/index.d.ts.map +0 -1
  99. package/dist/engine/index.js +0 -9
  100. package/dist/engine/index.js.map +0 -1
  101. package/dist/engine/paths/index.d.ts +0 -8
  102. package/dist/engine/paths/index.d.ts.map +0 -1
  103. package/dist/engine/paths/index.js +0 -8
  104. package/dist/engine/paths/index.js.map +0 -1
  105. package/dist/index.d.ts +0 -3
  106. package/dist/index.d.ts.map +0 -1
  107. package/dist/index.js +0 -3
  108. package/dist/index.js.map +0 -1
  109. package/dist/registry/index.d.ts +0 -3
  110. package/dist/registry/index.d.ts.map +0 -1
  111. package/dist/registry/index.js +0 -3
  112. package/dist/registry/index.js.map +0 -1
  113. package/scripts/generate-openapi-data.ts +0 -51
  114. package/scripts/generate-openapi-meta.ts +0 -540
  115. /package/{src → src-raw}/core/entities/figspec.ts +0 -0
  116. /package/{src → src-raw}/core/entities/figstack.ts +0 -0
  117. /package/{src → src-raw}/core/entities/index.ts +0 -0
  118. /package/{src → src-raw}/core/execute.ts +0 -0
  119. /package/{src → src-raw}/core/generic.ts +0 -0
  120. /package/{src → src-raw}/core/index.ts +0 -0
  121. /package/{src → src-raw}/core/volumes.ts +0 -0
  122. /package/{src → src-raw}/engine/deprecated/index.ts +0 -0
  123. /package/{src → src-raw}/engine/deprecated/run-request.ts +0 -0
  124. /package/{src → src-raw}/engine/dry-run.ts +0 -0
  125. /package/{src → src-raw}/engine/health.ts +0 -0
  126. /package/{src → src-raw}/engine/images.ts +0 -0
  127. /package/{src → src-raw}/engine/index.ts +0 -0
  128. /package/{src → src-raw}/engine/paths/containers.ts +0 -0
  129. /package/{src → src-raw}/engine/paths/dry-run.ts +0 -0
  130. /package/{src → src-raw}/engine/paths/health.ts +0 -0
  131. /package/{src → src-raw}/engine/paths/images.ts +0 -0
  132. /package/{src → src-raw}/engine/paths/index.ts +0 -0
  133. /package/{src → src-raw}/engine/paths/sessions.ts +0 -0
  134. /package/{src → src-raw}/engine/paths/stacks.ts +0 -0
  135. /package/{src → src-raw}/engine/paths/volumes.ts +0 -0
  136. /package/{src → src-raw}/engine/response.ts +0 -0
  137. /package/{src → src-raw}/engine/sessions.ts +0 -0
  138. /package/{src → src-raw}/engine/volumes.ts +0 -0
  139. /package/{src → src-raw}/index.ts +0 -0
  140. /package/{src → src-raw}/registry/index.ts +0 -0
  141. /package/{src → src-raw}/registry/json-schema.ts +0 -0
@@ -1,10 +1,729 @@
1
- import { RouteConfig } from "@asteasolutions/zod-to-openapi";
2
- export declare const listSessionsRouteSchema: RouteConfig;
3
- export declare const createSessionRouteSchema: RouteConfig;
4
- export declare const getSessionRouteSchema: RouteConfig;
5
- export declare const deleteSessionRouteSchema: RouteConfig;
6
- export declare const runInSessionRouteSchema: RouteConfig;
7
- export declare const syncFileInSessionRouteSchema: RouteConfig;
8
- export declare const listSessionRunsRouteSchema: RouteConfig;
9
- export declare const getSessionRunRouteSchema: RouteConfig;
1
+ import z from "zod";
2
+ export declare const listSessionsRouteSchema: {
3
+ method: string;
4
+ path: string;
5
+ operationId: string;
6
+ summary: string;
7
+ description: string;
8
+ tags: string[];
9
+ responses: {
10
+ 200: {
11
+ description: string;
12
+ content: {
13
+ "application/json": {
14
+ schema: z.ZodObject<{
15
+ sessions: z.ZodArray<z.ZodObject<{
16
+ session_id: z.ZodString;
17
+ container_id: z.ZodString;
18
+ image_tag: z.ZodString;
19
+ status: z.ZodEnum<{
20
+ active: "active";
21
+ idle: "idle";
22
+ expired: "expired";
23
+ }>;
24
+ created_at: z.ZodISODateTime;
25
+ last_used_at: z.ZodISODateTime;
26
+ ttl: z.ZodInt;
27
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
28
+ container: z.ZodInt;
29
+ host: z.ZodOptional<z.ZodInt>;
30
+ }, z.core.$strip>>>;
31
+ }, z.core.$strip>>;
32
+ count: z.ZodInt;
33
+ }, z.core.$strip>;
34
+ };
35
+ };
36
+ };
37
+ 503: {
38
+ description: string;
39
+ content: {
40
+ "application/json": {
41
+ schema: z.ZodObject<{
42
+ error: z.ZodString;
43
+ message: z.ZodString;
44
+ code: z.ZodInt;
45
+ }, z.core.$strip>;
46
+ };
47
+ };
48
+ };
49
+ };
50
+ };
51
+ export declare const createSessionRouteSchema: {
52
+ method: string;
53
+ path: string;
54
+ operationId: string;
55
+ summary: string;
56
+ description: string;
57
+ tags: string[];
58
+ request: {
59
+ body: {
60
+ description: undefined;
61
+ content: {
62
+ "application/json": {
63
+ schema: z.ZodObject<{
64
+ image_tag: z.ZodString;
65
+ ttl: z.ZodOptional<z.ZodInt>;
66
+ config: z.ZodOptional<z.ZodObject<{
67
+ working_dir: z.ZodOptional<z.ZodString>;
68
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
69
+ parser_script: z.ZodOptional<z.ZodString>;
70
+ volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
+ type: z.ZodOptional<z.ZodString>;
72
+ host_path: z.ZodString;
73
+ container_path: z.ZodOptional<z.ZodString>;
74
+ read_only: z.ZodBoolean;
75
+ }, z.core.$strip>>>;
76
+ named_volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
77
+ volume_name: z.ZodString;
78
+ container_path: z.ZodString;
79
+ read_only: z.ZodBoolean;
80
+ }, z.core.$strip>>>;
81
+ init_cmd: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
+ destroy_cmd: z.ZodOptional<z.ZodArray<z.ZodString>>;
83
+ execute: z.ZodOptional<z.ZodObject<{
84
+ startup: z.ZodOptional<z.ZodArray<z.ZodObject<{
85
+ cmd: z.ZodString;
86
+ async: z.ZodOptional<z.ZodBoolean>;
87
+ }, z.core.$strip>>>;
88
+ main: z.ZodObject<{
89
+ cmd: z.ZodString;
90
+ onExit: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodArray<z.ZodObject<{
91
+ cmd: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
92
+ exitCode: z.ZodInt;
93
+ }, z.core.$strip>>]>>;
94
+ parser: z.ZodOptional<z.ZodString>;
95
+ }, z.core.$strip>;
96
+ shutdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
+ cmd: z.ZodString;
98
+ }, z.core.$strip>>>;
99
+ scheduled: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
+ cmd: z.ZodString;
101
+ runAt: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
102
+ interval: z.ZodOptional<z.ZodInt>;
103
+ time: z.ZodOptional<z.ZodString>;
104
+ cron: z.ZodOptional<z.ZodString>;
105
+ }, z.core.$strip>]>;
106
+ onExit: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodArray<z.ZodObject<{
107
+ cmd: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
108
+ exitCode: z.ZodInt;
109
+ }, z.core.$strip>>]>>;
110
+ parser: z.ZodOptional<z.ZodString>;
111
+ }, z.core.$strip>>>;
112
+ }, z.core.$strip>>;
113
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ container: z.ZodInt;
115
+ host: z.ZodOptional<z.ZodInt>;
116
+ }, z.core.$strip>>>;
117
+ start_cmd: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
+ auto_cleanup: z.ZodOptional<z.ZodBoolean>;
119
+ block_until_complete: z.ZodOptional<z.ZodBoolean>;
120
+ }, z.core.$strip>>;
121
+ execute: z.ZodOptional<z.ZodObject<{
122
+ startup: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
+ cmd: z.ZodString;
124
+ async: z.ZodOptional<z.ZodBoolean>;
125
+ }, z.core.$strip>>>;
126
+ main: z.ZodObject<{
127
+ cmd: z.ZodString;
128
+ onExit: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodArray<z.ZodObject<{
129
+ cmd: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
130
+ exitCode: z.ZodInt;
131
+ }, z.core.$strip>>]>>;
132
+ parser: z.ZodOptional<z.ZodString>;
133
+ }, z.core.$strip>;
134
+ shutdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
135
+ cmd: z.ZodString;
136
+ }, z.core.$strip>>>;
137
+ scheduled: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
+ cmd: z.ZodString;
139
+ runAt: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
140
+ interval: z.ZodOptional<z.ZodInt>;
141
+ time: z.ZodOptional<z.ZodString>;
142
+ cron: z.ZodOptional<z.ZodString>;
143
+ }, z.core.$strip>]>;
144
+ onExit: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodArray<z.ZodObject<{
145
+ cmd: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
146
+ exitCode: z.ZodInt;
147
+ }, z.core.$strip>>]>>;
148
+ parser: z.ZodOptional<z.ZodString>;
149
+ }, z.core.$strip>>>;
150
+ }, z.core.$strip>>;
151
+ block_until_complete: z.ZodOptional<z.ZodBoolean>;
152
+ }, z.core.$strip>;
153
+ };
154
+ };
155
+ required: boolean;
156
+ };
157
+ };
158
+ responses: {
159
+ 201: {
160
+ description: string;
161
+ content: {
162
+ "application/json": {
163
+ schema: z.ZodObject<{
164
+ session_id: z.ZodString;
165
+ container_id: z.ZodString;
166
+ status: z.ZodEnum<{
167
+ active: "active";
168
+ idle: "idle";
169
+ expired: "expired";
170
+ }>;
171
+ created_at: z.ZodISODateTime;
172
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
173
+ container: z.ZodInt;
174
+ host: z.ZodOptional<z.ZodInt>;
175
+ }, z.core.$strip>>>;
176
+ exit_code: z.ZodOptional<z.ZodInt>;
177
+ stdout: z.ZodOptional<z.ZodString>;
178
+ stderr: z.ZodOptional<z.ZodString>;
179
+ }, z.core.$strip>;
180
+ };
181
+ };
182
+ };
183
+ 400: {
184
+ description: string;
185
+ content: {
186
+ "application/json": {
187
+ schema: z.ZodObject<{
188
+ error: z.ZodString;
189
+ message: z.ZodString;
190
+ code: z.ZodInt;
191
+ }, z.core.$strip>;
192
+ };
193
+ };
194
+ };
195
+ 500: {
196
+ description: string;
197
+ content: {
198
+ "application/json": {
199
+ schema: z.ZodObject<{
200
+ error: z.ZodString;
201
+ message: z.ZodString;
202
+ code: z.ZodInt;
203
+ }, z.core.$strip>;
204
+ };
205
+ };
206
+ };
207
+ 503: {
208
+ description: string;
209
+ content: {
210
+ "application/json": {
211
+ schema: z.ZodObject<{
212
+ error: z.ZodString;
213
+ message: z.ZodString;
214
+ code: z.ZodInt;
215
+ }, z.core.$strip>;
216
+ };
217
+ };
218
+ };
219
+ };
220
+ };
221
+ export declare const getSessionRouteSchema: {
222
+ method: string;
223
+ path: string;
224
+ operationId: string;
225
+ summary: string;
226
+ description: string;
227
+ tags: string[];
228
+ parameters: {
229
+ name: string;
230
+ in: string;
231
+ required: boolean;
232
+ schema: {
233
+ type: string;
234
+ };
235
+ example: string;
236
+ }[];
237
+ responses: {
238
+ 200: {
239
+ description: string;
240
+ content: {
241
+ "application/json": {
242
+ schema: z.ZodObject<{
243
+ session_id: z.ZodString;
244
+ container_id: z.ZodString;
245
+ image_tag: z.ZodString;
246
+ status: z.ZodEnum<{
247
+ active: "active";
248
+ idle: "idle";
249
+ expired: "expired";
250
+ }>;
251
+ created_at: z.ZodISODateTime;
252
+ last_used_at: z.ZodISODateTime;
253
+ ttl: z.ZodInt;
254
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
+ container: z.ZodInt;
256
+ host: z.ZodOptional<z.ZodInt>;
257
+ }, z.core.$strip>>>;
258
+ }, z.core.$strip>;
259
+ };
260
+ };
261
+ };
262
+ 400: {
263
+ description: string;
264
+ content: {
265
+ "application/json": {
266
+ schema: z.ZodObject<{
267
+ error: z.ZodString;
268
+ message: z.ZodString;
269
+ code: z.ZodInt;
270
+ }, z.core.$strip>;
271
+ };
272
+ };
273
+ };
274
+ 404: {
275
+ description: string;
276
+ content: {
277
+ "application/json": {
278
+ schema: z.ZodObject<{
279
+ error: z.ZodString;
280
+ message: z.ZodString;
281
+ code: z.ZodInt;
282
+ }, z.core.$strip>;
283
+ };
284
+ };
285
+ };
286
+ 503: {
287
+ description: string;
288
+ content: {
289
+ "application/json": {
290
+ schema: z.ZodObject<{
291
+ error: z.ZodString;
292
+ message: z.ZodString;
293
+ code: z.ZodInt;
294
+ }, z.core.$strip>;
295
+ };
296
+ };
297
+ };
298
+ };
299
+ };
300
+ export declare const deleteSessionRouteSchema: {
301
+ method: string;
302
+ path: string;
303
+ operationId: string;
304
+ summary: string;
305
+ description: string;
306
+ tags: string[];
307
+ parameters: {
308
+ name: string;
309
+ in: string;
310
+ required: boolean;
311
+ schema: {
312
+ type: string;
313
+ };
314
+ example: string;
315
+ }[];
316
+ responses: {
317
+ 200: {
318
+ description: string;
319
+ content: {
320
+ "application/json": {
321
+ schema: z.ZodObject<{
322
+ message: z.ZodString;
323
+ session_id: z.ZodString;
324
+ }, z.core.$strip>;
325
+ example: {
326
+ message: string;
327
+ session_id: string;
328
+ };
329
+ };
330
+ };
331
+ };
332
+ 400: {
333
+ description: string;
334
+ content: {
335
+ "application/json": {
336
+ schema: z.ZodObject<{
337
+ error: z.ZodString;
338
+ message: z.ZodString;
339
+ code: z.ZodInt;
340
+ }, z.core.$strip>;
341
+ };
342
+ };
343
+ };
344
+ 404: {
345
+ description: string;
346
+ content: {
347
+ "application/json": {
348
+ schema: z.ZodObject<{
349
+ error: z.ZodString;
350
+ message: z.ZodString;
351
+ code: z.ZodInt;
352
+ }, z.core.$strip>;
353
+ };
354
+ };
355
+ };
356
+ 503: {
357
+ description: string;
358
+ content: {
359
+ "application/json": {
360
+ schema: z.ZodObject<{
361
+ error: z.ZodString;
362
+ message: z.ZodString;
363
+ code: z.ZodInt;
364
+ }, z.core.$strip>;
365
+ };
366
+ };
367
+ };
368
+ };
369
+ };
370
+ export declare const runInSessionRouteSchema: {
371
+ method: string;
372
+ path: string;
373
+ operationId: string;
374
+ summary: string;
375
+ description: string;
376
+ tags: string[];
377
+ parameters: {
378
+ name: string;
379
+ in: string;
380
+ required: boolean;
381
+ schema: {
382
+ type: string;
383
+ };
384
+ example: string;
385
+ }[];
386
+ request: {
387
+ body: {
388
+ description: undefined;
389
+ content: {
390
+ "application/json": {
391
+ schema: z.ZodObject<{
392
+ command: z.ZodArray<z.ZodString>;
393
+ timeout: z.ZodOptional<z.ZodInt>;
394
+ parser_script: z.ZodOptional<z.ZodString>;
395
+ working_dir: z.ZodOptional<z.ZodString>;
396
+ }, z.core.$strip>;
397
+ };
398
+ };
399
+ required: boolean;
400
+ };
401
+ };
402
+ responses: {
403
+ 200: {
404
+ description: string;
405
+ content: {
406
+ "application/json": {
407
+ schema: z.ZodObject<{
408
+ run_id: z.ZodString;
409
+ exit_code: z.ZodInt;
410
+ stdout: z.ZodString;
411
+ stderr: z.ZodString;
412
+ parsed_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
413
+ duration: z.ZodNumber;
414
+ }, z.core.$strip>;
415
+ };
416
+ };
417
+ };
418
+ 400: {
419
+ description: string;
420
+ content: {
421
+ "application/json": {
422
+ schema: z.ZodObject<{
423
+ error: z.ZodString;
424
+ message: z.ZodString;
425
+ code: z.ZodInt;
426
+ }, z.core.$strip>;
427
+ };
428
+ };
429
+ };
430
+ 404: {
431
+ description: string;
432
+ content: {
433
+ "application/json": {
434
+ schema: z.ZodObject<{
435
+ error: z.ZodString;
436
+ message: z.ZodString;
437
+ code: z.ZodInt;
438
+ }, z.core.$strip>;
439
+ };
440
+ };
441
+ };
442
+ 500: {
443
+ description: string;
444
+ content: {
445
+ "application/json": {
446
+ schema: z.ZodObject<{
447
+ error: z.ZodString;
448
+ message: z.ZodString;
449
+ code: z.ZodInt;
450
+ }, z.core.$strip>;
451
+ };
452
+ };
453
+ };
454
+ 503: {
455
+ description: string;
456
+ content: {
457
+ "application/json": {
458
+ schema: z.ZodObject<{
459
+ error: z.ZodString;
460
+ message: z.ZodString;
461
+ code: z.ZodInt;
462
+ }, z.core.$strip>;
463
+ };
464
+ };
465
+ };
466
+ };
467
+ };
468
+ export declare const syncFileInSessionRouteSchema: {
469
+ method: string;
470
+ path: string;
471
+ operationId: string;
472
+ summary: string;
473
+ description: string;
474
+ tags: string[];
475
+ parameters: {
476
+ name: string;
477
+ in: string;
478
+ required: boolean;
479
+ schema: {
480
+ type: string;
481
+ };
482
+ example: string;
483
+ }[];
484
+ request: {
485
+ body: {
486
+ description: undefined;
487
+ content: {
488
+ "application/json": {
489
+ schema: z.ZodObject<{
490
+ targetPath: z.ZodString;
491
+ content: z.ZodString;
492
+ encoding: z.ZodDefault<z.ZodEnum<{
493
+ base64: "base64";
494
+ utf8: "utf8";
495
+ }>>;
496
+ }, z.core.$strip>;
497
+ };
498
+ };
499
+ required: boolean;
500
+ };
501
+ };
502
+ responses: {
503
+ 200: {
504
+ description: string;
505
+ content: {
506
+ "application/json": {
507
+ schema: z.ZodObject<{
508
+ success: z.ZodBoolean;
509
+ path: z.ZodString;
510
+ bytes_written: z.ZodInt;
511
+ message: z.ZodOptional<z.ZodString>;
512
+ }, z.core.$strip>;
513
+ };
514
+ };
515
+ };
516
+ 400: {
517
+ description: string;
518
+ content: {
519
+ "application/json": {
520
+ schema: z.ZodObject<{
521
+ error: z.ZodString;
522
+ message: z.ZodString;
523
+ code: z.ZodInt;
524
+ }, z.core.$strip>;
525
+ };
526
+ };
527
+ };
528
+ 404: {
529
+ description: string;
530
+ content: {
531
+ "application/json": {
532
+ schema: z.ZodObject<{
533
+ error: z.ZodString;
534
+ message: z.ZodString;
535
+ code: z.ZodInt;
536
+ }, z.core.$strip>;
537
+ };
538
+ };
539
+ };
540
+ 409: {
541
+ description: string;
542
+ content: {
543
+ "application/json": {
544
+ schema: z.ZodObject<{
545
+ error: z.ZodString;
546
+ message: z.ZodString;
547
+ code: z.ZodInt;
548
+ }, z.core.$strip>;
549
+ };
550
+ };
551
+ };
552
+ 500: {
553
+ description: string;
554
+ content: {
555
+ "application/json": {
556
+ schema: z.ZodObject<{
557
+ error: z.ZodString;
558
+ message: z.ZodString;
559
+ code: z.ZodInt;
560
+ }, z.core.$strip>;
561
+ };
562
+ };
563
+ };
564
+ 503: {
565
+ description: string;
566
+ content: {
567
+ "application/json": {
568
+ schema: z.ZodObject<{
569
+ error: z.ZodString;
570
+ message: z.ZodString;
571
+ code: z.ZodInt;
572
+ }, z.core.$strip>;
573
+ };
574
+ };
575
+ };
576
+ };
577
+ };
578
+ export declare const listSessionRunsRouteSchema: {
579
+ method: string;
580
+ path: string;
581
+ operationId: string;
582
+ summary: string;
583
+ description: string;
584
+ tags: string[];
585
+ parameters: {
586
+ name: string;
587
+ in: string;
588
+ required: boolean;
589
+ schema: {
590
+ type: string;
591
+ };
592
+ example: string;
593
+ }[];
594
+ responses: {
595
+ 200: {
596
+ description: string;
597
+ content: {
598
+ "application/json": {
599
+ schema: z.ZodObject<{
600
+ runs: z.ZodArray<z.ZodObject<{
601
+ run_id: z.ZodString;
602
+ session_id: z.ZodString;
603
+ command: z.ZodArray<z.ZodString>;
604
+ exit_code: z.ZodInt;
605
+ stdout: z.ZodString;
606
+ stderr: z.ZodString;
607
+ parsed_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
608
+ started_at: z.ZodISODateTime;
609
+ completed_at: z.ZodISODateTime;
610
+ duration: z.ZodNumber;
611
+ }, z.core.$strip>>;
612
+ count: z.ZodInt;
613
+ }, z.core.$strip>;
614
+ };
615
+ };
616
+ };
617
+ 400: {
618
+ description: string;
619
+ content: {
620
+ "application/json": {
621
+ schema: z.ZodObject<{
622
+ error: z.ZodString;
623
+ message: z.ZodString;
624
+ code: z.ZodInt;
625
+ }, z.core.$strip>;
626
+ };
627
+ };
628
+ };
629
+ 500: {
630
+ description: string;
631
+ content: {
632
+ "application/json": {
633
+ schema: z.ZodObject<{
634
+ error: z.ZodString;
635
+ message: z.ZodString;
636
+ code: z.ZodInt;
637
+ }, z.core.$strip>;
638
+ };
639
+ };
640
+ };
641
+ 503: {
642
+ description: string;
643
+ content: {
644
+ "application/json": {
645
+ schema: z.ZodObject<{
646
+ error: z.ZodString;
647
+ message: z.ZodString;
648
+ code: z.ZodInt;
649
+ }, z.core.$strip>;
650
+ };
651
+ };
652
+ };
653
+ };
654
+ };
655
+ export declare const getSessionRunRouteSchema: {
656
+ method: string;
657
+ path: string;
658
+ operationId: string;
659
+ summary: string;
660
+ description: string;
661
+ tags: string[];
662
+ parameters: {
663
+ name: string;
664
+ in: string;
665
+ required: boolean;
666
+ schema: {
667
+ type: string;
668
+ };
669
+ example: string;
670
+ }[];
671
+ responses: {
672
+ 200: {
673
+ description: string;
674
+ content: {
675
+ "application/json": {
676
+ schema: z.ZodObject<{
677
+ run_id: z.ZodString;
678
+ session_id: z.ZodString;
679
+ command: z.ZodArray<z.ZodString>;
680
+ exit_code: z.ZodInt;
681
+ stdout: z.ZodString;
682
+ stderr: z.ZodString;
683
+ parsed_output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
684
+ started_at: z.ZodISODateTime;
685
+ completed_at: z.ZodISODateTime;
686
+ duration: z.ZodNumber;
687
+ }, z.core.$strip>;
688
+ };
689
+ };
690
+ };
691
+ 400: {
692
+ description: string;
693
+ content: {
694
+ "application/json": {
695
+ schema: z.ZodObject<{
696
+ error: z.ZodString;
697
+ message: z.ZodString;
698
+ code: z.ZodInt;
699
+ }, z.core.$strip>;
700
+ };
701
+ };
702
+ };
703
+ 404: {
704
+ description: string;
705
+ content: {
706
+ "application/json": {
707
+ schema: z.ZodObject<{
708
+ error: z.ZodString;
709
+ message: z.ZodString;
710
+ code: z.ZodInt;
711
+ }, z.core.$strip>;
712
+ };
713
+ };
714
+ };
715
+ 503: {
716
+ description: string;
717
+ content: {
718
+ "application/json": {
719
+ schema: z.ZodObject<{
720
+ error: z.ZodString;
721
+ message: z.ZodString;
722
+ code: z.ZodInt;
723
+ }, z.core.$strip>;
724
+ };
725
+ };
726
+ };
727
+ };
728
+ };
10
729
  //# sourceMappingURL=sessions.d.ts.map