@sixb/server 0.1.18 → 0.1.20

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 (93) hide show
  1. package/README.md +15 -24
  2. package/dist/actions/serialize.d.ts +7 -0
  3. package/dist/actions/serialize.d.ts.map +1 -0
  4. package/dist/auth/browser-origin.d.ts +4 -26
  5. package/dist/auth/browser-origin.d.ts.map +1 -1
  6. package/dist/auth/experience.d.ts +0 -3
  7. package/dist/auth/experience.d.ts.map +1 -1
  8. package/dist/auth/guard.d.ts +1 -1
  9. package/dist/auth/guard.d.ts.map +1 -1
  10. package/dist/auth/public-routes.d.ts +0 -5
  11. package/dist/auth/public-routes.d.ts.map +1 -1
  12. package/dist/auth/responses.d.ts +0 -2
  13. package/dist/auth/responses.d.ts.map +1 -1
  14. package/dist/auth/session-cookies.d.ts.map +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +681 -935
  18. package/dist/index.js.map +24 -24
  19. package/dist/routes/action-runs.d.ts +11 -15
  20. package/dist/routes/action-runs.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +44 -13
  22. package/dist/routes/actions.d.ts.map +1 -1
  23. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  24. package/dist/routes/agents.d.ts +20 -22
  25. package/dist/routes/agents.d.ts.map +1 -1
  26. package/dist/routes/auth.d.ts +8 -17
  27. package/dist/routes/auth.d.ts.map +1 -1
  28. package/dist/routes/connector-connection-runs.d.ts +21 -21
  29. package/dist/routes/connector-connections.d.ts +8 -8
  30. package/dist/routes/connectors.d.ts +2 -2
  31. package/dist/routes/datasets.d.ts +5 -5
  32. package/dist/routes/events.d.ts +4 -4
  33. package/dist/routes/files.d.ts +15 -12
  34. package/dist/routes/files.d.ts.map +1 -1
  35. package/dist/routes/objects.d.ts +0 -2
  36. package/dist/routes/objects.d.ts.map +1 -1
  37. package/dist/routes/ontology.d.ts +6 -6
  38. package/dist/routes/pipelines.d.ts +16 -16
  39. package/dist/routes/projections.d.ts +49 -49
  40. package/dist/routes/syncs.d.ts +10 -10
  41. package/dist/routes/webhook-runs.d.ts +2 -2
  42. package/dist/routes/workflows.d.ts +48 -52
  43. package/dist/routes/workflows.d.ts.map +1 -1
  44. package/dist/routes/ws/events.d.ts +6 -9
  45. package/dist/routes/ws/events.d.ts.map +1 -1
  46. package/dist/schemas/actions.d.ts +100 -84
  47. package/dist/schemas/actions.d.ts.map +1 -1
  48. package/dist/schemas/agents.d.ts +20 -20
  49. package/dist/schemas/ai-limits.d.ts +10 -10
  50. package/dist/schemas/auth.d.ts +28 -63
  51. package/dist/schemas/auth.d.ts.map +1 -1
  52. package/dist/schemas/connectors.d.ts +8 -8
  53. package/dist/schemas/datasets.d.ts +40 -40
  54. package/dist/schemas/events.d.ts +24 -24
  55. package/dist/schemas/events.d.ts.map +1 -1
  56. package/dist/schemas/files.d.ts +4 -7
  57. package/dist/schemas/files.d.ts.map +1 -1
  58. package/dist/schemas/ontology.d.ts +40 -40
  59. package/dist/schemas/pipelines.d.ts +92 -92
  60. package/dist/schemas/projections.d.ts +290 -290
  61. package/dist/schemas/syncs.d.ts +34 -34
  62. package/dist/schemas/webhook-runs.d.ts +8 -8
  63. package/dist/schemas/workflows.d.ts +160 -160
  64. package/dist/server.d.ts +2 -2
  65. package/dist/server.d.ts.map +1 -1
  66. package/dist/utils/http.d.ts.map +1 -1
  67. package/dist/utils/request-body.d.ts +20 -6
  68. package/dist/utils/request-body.d.ts.map +1 -1
  69. package/package.json +7 -7
  70. package/src/actions/serialize.ts +55 -0
  71. package/src/auth/browser-origin.ts +30 -240
  72. package/src/auth/experience.ts +1 -4
  73. package/src/auth/guard.ts +4 -32
  74. package/src/auth/public-routes.ts +1 -10
  75. package/src/auth/responses.ts +0 -5
  76. package/src/auth/session-cookies.ts +1 -3
  77. package/src/auth/shared-access.ts +1 -1
  78. package/src/index.ts +1 -1
  79. package/src/routes/action-runs.ts +1 -54
  80. package/src/routes/actions.ts +26 -8
  81. package/src/routes/agent-api-gateway.ts +18 -42
  82. package/src/routes/auth.ts +32 -111
  83. package/src/routes/files.ts +15 -63
  84. package/src/routes/ws/events.ts +2 -12
  85. package/src/schemas/actions.ts +21 -18
  86. package/src/schemas/auth.ts +2 -15
  87. package/src/schemas/files.ts +0 -6
  88. package/src/server.ts +23 -18
  89. package/src/utils/http.ts +2 -0
  90. package/src/utils/request-body.ts +55 -6
  91. package/dist/auth/application-access.d.ts +0 -4
  92. package/dist/auth/application-access.d.ts.map +0 -1
  93. package/src/auth/application-access.ts +0 -15
@@ -18,7 +18,7 @@ export declare const SyncRunsQuerySchema: z.ZodObject<{
18
18
  offset: z.ZodOptional<z.ZodString>;
19
19
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
21
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
22
22
  startedAfter?: string | undefined;
23
23
  startedBefore?: string | undefined;
24
24
  limit?: string | undefined;
@@ -27,7 +27,7 @@ export declare const SyncRunsQuerySchema: z.ZodObject<{
27
27
  datasetId?: string | undefined;
28
28
  syncId?: string | undefined;
29
29
  }, {
30
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
30
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
31
31
  startedAfter?: string | undefined;
32
32
  startedBefore?: string | undefined;
33
33
  limit?: string | undefined;
@@ -71,13 +71,13 @@ export declare const SyncRunSchema: z.ZodObject<{
71
71
  commitMessage: z.ZodOptional<z.ZodString>;
72
72
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
73
73
  }, "strip", z.ZodTypeAny, {
74
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
74
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
75
75
  projectId: string;
76
76
  id: string;
77
77
  mode: "append" | "merge" | "snapshot";
78
- queuedAt: string;
79
78
  datasetId: string;
80
79
  syncId: string;
80
+ queuedAt: string;
81
81
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
82
82
  startedAt?: string | undefined;
83
83
  finishedAt?: string | undefined;
@@ -89,13 +89,13 @@ export declare const SyncRunSchema: z.ZodObject<{
89
89
  commitMessage?: string | undefined;
90
90
  rowsRead?: number | undefined;
91
91
  }, {
92
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
92
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
93
93
  projectId: string;
94
94
  id: string;
95
95
  mode: "append" | "merge" | "snapshot";
96
- queuedAt: string;
97
96
  datasetId: string;
98
97
  syncId: string;
98
+ queuedAt: string;
99
99
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
100
100
  startedAt?: string | undefined;
101
101
  finishedAt?: string | undefined;
@@ -135,23 +135,23 @@ export declare const SyncSchema: z.ZodObject<{
135
135
  nullable: z.ZodOptional<z.ZodBoolean>;
136
136
  }, "strip", z.ZodTypeAny, {
137
137
  name: string;
138
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
138
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
139
139
  nullable?: boolean | undefined;
140
140
  }, {
141
141
  name: string;
142
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
142
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
143
143
  nullable?: boolean | undefined;
144
144
  }>, "many">;
145
145
  }, "strip", z.ZodTypeAny, {
146
146
  columns: {
147
147
  name: string;
148
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
148
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
149
149
  nullable?: boolean | undefined;
150
150
  }[];
151
151
  }, {
152
152
  columns: {
153
153
  name: string;
154
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
154
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
155
155
  nullable?: boolean | undefined;
156
156
  }[];
157
157
  }>;
@@ -160,7 +160,7 @@ export declare const SyncSchema: z.ZodObject<{
160
160
  schema: {
161
161
  columns: {
162
162
  name: string;
163
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
163
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
164
164
  nullable?: boolean | undefined;
165
165
  }[];
166
166
  };
@@ -173,7 +173,7 @@ export declare const SyncSchema: z.ZodObject<{
173
173
  schema: {
174
174
  columns: {
175
175
  name: string;
176
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
176
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
177
177
  nullable?: boolean | undefined;
178
178
  }[];
179
179
  };
@@ -189,7 +189,7 @@ export declare const SyncSchema: z.ZodObject<{
189
189
  schema: {
190
190
  columns: {
191
191
  name: string;
192
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
192
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
193
193
  nullable?: boolean | undefined;
194
194
  }[];
195
195
  };
@@ -205,7 +205,7 @@ export declare const SyncSchema: z.ZodObject<{
205
205
  schema: {
206
206
  columns: {
207
207
  name: string;
208
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
208
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
209
209
  nullable?: boolean | undefined;
210
210
  }[];
211
211
  };
@@ -250,13 +250,13 @@ export declare const SyncSchema: z.ZodObject<{
250
250
  commitMessage: z.ZodOptional<z.ZodString>;
251
251
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
252
252
  }, "strip", z.ZodTypeAny, {
253
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
253
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
254
254
  projectId: string;
255
255
  id: string;
256
256
  mode: "append" | "merge" | "snapshot";
257
- queuedAt: string;
258
257
  datasetId: string;
259
258
  syncId: string;
259
+ queuedAt: string;
260
260
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
261
261
  startedAt?: string | undefined;
262
262
  finishedAt?: string | undefined;
@@ -268,13 +268,13 @@ export declare const SyncSchema: z.ZodObject<{
268
268
  commitMessage?: string | undefined;
269
269
  rowsRead?: number | undefined;
270
270
  }, {
271
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
271
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
272
272
  projectId: string;
273
273
  id: string;
274
274
  mode: "append" | "merge" | "snapshot";
275
- queuedAt: string;
276
275
  datasetId: string;
277
276
  syncId: string;
277
+ queuedAt: string;
278
278
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
279
279
  startedAt?: string | undefined;
280
280
  finishedAt?: string | undefined;
@@ -296,7 +296,7 @@ export declare const SyncSchema: z.ZodObject<{
296
296
  schema: {
297
297
  columns: {
298
298
  name: string;
299
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
299
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
300
300
  nullable?: boolean | undefined;
301
301
  }[];
302
302
  };
@@ -311,13 +311,13 @@ export declare const SyncSchema: z.ZodObject<{
311
311
  scheduleId: string;
312
312
  }[];
313
313
  latestRun: {
314
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
314
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
315
315
  projectId: string;
316
316
  id: string;
317
317
  mode: "append" | "merge" | "snapshot";
318
- queuedAt: string;
319
318
  datasetId: string;
320
319
  syncId: string;
320
+ queuedAt: string;
321
321
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
322
322
  startedAt?: string | undefined;
323
323
  finishedAt?: string | undefined;
@@ -343,7 +343,7 @@ export declare const SyncSchema: z.ZodObject<{
343
343
  schema: {
344
344
  columns: {
345
345
  name: string;
346
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
346
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
347
347
  nullable?: boolean | undefined;
348
348
  }[];
349
349
  };
@@ -358,13 +358,13 @@ export declare const SyncSchema: z.ZodObject<{
358
358
  scheduleId: string;
359
359
  }[];
360
360
  latestRun: {
361
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
361
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
362
362
  projectId: string;
363
363
  id: string;
364
364
  mode: "append" | "merge" | "snapshot";
365
- queuedAt: string;
366
365
  datasetId: string;
367
366
  syncId: string;
367
+ queuedAt: string;
368
368
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
369
369
  startedAt?: string | undefined;
370
370
  finishedAt?: string | undefined;
@@ -407,13 +407,13 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
407
407
  commitMessage: z.ZodOptional<z.ZodString>;
408
408
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
409
409
  }, "strip", z.ZodTypeAny, {
410
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
410
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
411
411
  projectId: string;
412
412
  id: string;
413
413
  mode: "append" | "merge" | "snapshot";
414
- queuedAt: string;
415
414
  datasetId: string;
416
415
  syncId: string;
416
+ queuedAt: string;
417
417
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
418
418
  startedAt?: string | undefined;
419
419
  finishedAt?: string | undefined;
@@ -425,13 +425,13 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
425
425
  commitMessage?: string | undefined;
426
426
  rowsRead?: number | undefined;
427
427
  }, {
428
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
428
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
429
429
  projectId: string;
430
430
  id: string;
431
431
  mode: "append" | "merge" | "snapshot";
432
- queuedAt: string;
433
432
  datasetId: string;
434
433
  syncId: string;
434
+ queuedAt: string;
435
435
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
436
436
  startedAt?: string | undefined;
437
437
  finishedAt?: string | undefined;
@@ -447,13 +447,13 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
447
447
  total: z.ZodNumber;
448
448
  }, "strip", z.ZodTypeAny, {
449
449
  runs: {
450
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
450
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
451
451
  projectId: string;
452
452
  id: string;
453
453
  mode: "append" | "merge" | "snapshot";
454
- queuedAt: string;
455
454
  datasetId: string;
456
455
  syncId: string;
456
+ queuedAt: string;
457
457
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
458
458
  startedAt?: string | undefined;
459
459
  finishedAt?: string | undefined;
@@ -469,13 +469,13 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
469
469
  total: number;
470
470
  }, {
471
471
  runs: {
472
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
472
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
473
473
  projectId: string;
474
474
  id: string;
475
475
  mode: "append" | "merge" | "snapshot";
476
- queuedAt: string;
477
476
  datasetId: string;
478
477
  syncId: string;
478
+ queuedAt: string;
479
479
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
480
480
  startedAt?: string | undefined;
481
481
  finishedAt?: string | undefined;
@@ -497,13 +497,13 @@ export declare const RequestSyncRunResponseSchema: z.ZodObject<{
497
497
  queuedAt: z.ZodString;
498
498
  }, "strip", z.ZodTypeAny, {
499
499
  runId: string;
500
- queuedAt: string;
501
500
  jobId: string;
502
501
  syncId: string;
502
+ queuedAt: string;
503
503
  }, {
504
504
  runId: string;
505
- queuedAt: string;
506
505
  jobId: string;
507
506
  syncId: string;
507
+ queuedAt: string;
508
508
  }>;
509
509
  //# sourceMappingURL=syncs.d.ts.map
@@ -12,7 +12,7 @@ export declare const WebhookRunsQuerySchema: z.ZodObject<{
12
12
  offset: z.ZodOptional<z.ZodString>;
13
13
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
14
14
  }, "strip", z.ZodTypeAny, {
15
- status?: "running" | "succeeded" | "failed" | undefined;
15
+ status?: "succeeded" | "failed" | "running" | undefined;
16
16
  startedAfter?: string | undefined;
17
17
  startedBefore?: string | undefined;
18
18
  limit?: string | undefined;
@@ -22,7 +22,7 @@ export declare const WebhookRunsQuerySchema: z.ZodObject<{
22
22
  idempotencyKey?: string | undefined;
23
23
  webhookId?: string | undefined;
24
24
  }, {
25
- status?: "running" | "succeeded" | "failed" | undefined;
25
+ status?: "succeeded" | "failed" | "running" | undefined;
26
26
  startedAfter?: string | undefined;
27
27
  startedBefore?: string | undefined;
28
28
  limit?: string | undefined;
@@ -48,7 +48,7 @@ export declare const WebhookRunSchema: z.ZodObject<{
48
48
  idempotencyKey: z.ZodOptional<z.ZodString>;
49
49
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "webhook.delivery_failed" | "webhook.delivery_rejected">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "webhook.delivery_failed" | "webhook.delivery_rejected">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- status: "running" | "succeeded" | "failed";
51
+ status: "succeeded" | "failed" | "running";
52
52
  projectId: string;
53
53
  id: string;
54
54
  startedAt: string;
@@ -63,7 +63,7 @@ export declare const WebhookRunSchema: z.ZodObject<{
63
63
  idempotencyKey?: string | undefined;
64
64
  responseStatus?: number | undefined;
65
65
  }, {
66
- status: "running" | "succeeded" | "failed";
66
+ status: "succeeded" | "failed" | "running";
67
67
  projectId: string;
68
68
  id: string;
69
69
  startedAt: string;
@@ -95,7 +95,7 @@ export declare const WebhookRunListResponseSchema: z.ZodObject<{
95
95
  idempotencyKey: z.ZodOptional<z.ZodString>;
96
96
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "webhook.delivery_failed" | "webhook.delivery_rejected">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "webhook.delivery_failed" | "webhook.delivery_rejected">>>;
97
97
  }, "strip", z.ZodTypeAny, {
98
- status: "running" | "succeeded" | "failed";
98
+ status: "succeeded" | "failed" | "running";
99
99
  projectId: string;
100
100
  id: string;
101
101
  startedAt: string;
@@ -110,7 +110,7 @@ export declare const WebhookRunListResponseSchema: z.ZodObject<{
110
110
  idempotencyKey?: string | undefined;
111
111
  responseStatus?: number | undefined;
112
112
  }, {
113
- status: "running" | "succeeded" | "failed";
113
+ status: "succeeded" | "failed" | "running";
114
114
  projectId: string;
115
115
  id: string;
116
116
  startedAt: string;
@@ -129,7 +129,7 @@ export declare const WebhookRunListResponseSchema: z.ZodObject<{
129
129
  total: z.ZodNumber;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  runs: {
132
- status: "running" | "succeeded" | "failed";
132
+ status: "succeeded" | "failed" | "running";
133
133
  projectId: string;
134
134
  id: string;
135
135
  startedAt: string;
@@ -148,7 +148,7 @@ export declare const WebhookRunListResponseSchema: z.ZodObject<{
148
148
  total: number;
149
149
  }, {
150
150
  runs: {
151
- status: "running" | "succeeded" | "failed";
151
+ status: "succeeded" | "failed" | "running";
152
152
  projectId: string;
153
153
  id: string;
154
154
  startedAt: string;