cyberdesk 2.1.3 → 2.1.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.
- package/dist/client/types.gen.d.ts +33 -0
- package/package.json +1 -1
|
@@ -401,6 +401,27 @@ export type RunBulkCreateResponse = {
|
|
|
401
401
|
failed_count?: number;
|
|
402
402
|
errors?: Array<string>;
|
|
403
403
|
};
|
|
404
|
+
/**
|
|
405
|
+
* Payload sent for the run_complete webhook event.
|
|
406
|
+
*/
|
|
407
|
+
export type RunCompletedEvent = {
|
|
408
|
+
/**
|
|
409
|
+
* Unique event identifier for idempotency
|
|
410
|
+
*/
|
|
411
|
+
event_id?: string;
|
|
412
|
+
/**
|
|
413
|
+
* Event type key
|
|
414
|
+
*/
|
|
415
|
+
event_type?: string;
|
|
416
|
+
/**
|
|
417
|
+
* Time the event occurred (UTC)
|
|
418
|
+
*/
|
|
419
|
+
occurred_at?: string;
|
|
420
|
+
/**
|
|
421
|
+
* The completed run data
|
|
422
|
+
*/
|
|
423
|
+
run: RunResponse;
|
|
424
|
+
};
|
|
404
425
|
/**
|
|
405
426
|
* Schema for creating a run
|
|
406
427
|
*/
|
|
@@ -548,6 +569,10 @@ export type WorkflowCreate = {
|
|
|
548
569
|
* Enable AI-based file export detection
|
|
549
570
|
*/
|
|
550
571
|
includes_file_exports?: boolean;
|
|
572
|
+
/**
|
|
573
|
+
* Send webhook on run completion
|
|
574
|
+
*/
|
|
575
|
+
is_webhooks_enabled?: boolean;
|
|
551
576
|
};
|
|
552
577
|
/**
|
|
553
578
|
* Workflow response schema
|
|
@@ -563,6 +588,10 @@ export type WorkflowResponse = {
|
|
|
563
588
|
* Enable AI-based file export detection
|
|
564
589
|
*/
|
|
565
590
|
includes_file_exports?: boolean;
|
|
591
|
+
/**
|
|
592
|
+
* Send webhook on run completion
|
|
593
|
+
*/
|
|
594
|
+
is_webhooks_enabled?: boolean;
|
|
566
595
|
id: string;
|
|
567
596
|
user_id?: string | null;
|
|
568
597
|
organization_id?: string | null;
|
|
@@ -587,6 +616,10 @@ export type WorkflowUpdate = {
|
|
|
587
616
|
* Enable AI-based file export detection
|
|
588
617
|
*/
|
|
589
618
|
includes_file_exports?: boolean | null;
|
|
619
|
+
/**
|
|
620
|
+
* Send webhook on run completion
|
|
621
|
+
*/
|
|
622
|
+
is_webhooks_enabled?: boolean | null;
|
|
590
623
|
};
|
|
591
624
|
export type HealthCheckV1HealthGetData = {
|
|
592
625
|
body?: never;
|