cyberdesk 2.2.36 → 2.2.38

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 (34) hide show
  1. package/dist/client/client/client.gen.d.ts +2 -0
  2. package/dist/client/client/client.gen.js +217 -0
  3. package/dist/client/client/index.d.ts +8 -0
  4. package/dist/client/client/index.js +17 -0
  5. package/dist/client/client/types.gen.d.ts +117 -0
  6. package/dist/client/client/types.gen.js +3 -0
  7. package/dist/client/client/utils.gen.d.ts +33 -0
  8. package/dist/client/client/utils.gen.js +247 -0
  9. package/dist/client/client.gen.d.ts +4 -4
  10. package/dist/client/client.gen.js +2 -4
  11. package/dist/client/core/auth.gen.d.ts +18 -0
  12. package/dist/client/core/auth.gen.js +27 -0
  13. package/dist/client/core/bodySerializer.gen.d.ts +25 -0
  14. package/dist/client/core/bodySerializer.gen.js +60 -0
  15. package/dist/client/core/params.gen.d.ts +43 -0
  16. package/dist/client/core/params.gen.js +104 -0
  17. package/dist/client/core/pathSerializer.gen.d.ts +33 -0
  18. package/dist/client/core/pathSerializer.gen.js +115 -0
  19. package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
  20. package/dist/client/core/queryKeySerializer.gen.js +98 -0
  21. package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
  22. package/dist/client/core/serverSentEvents.gen.js +160 -0
  23. package/dist/client/core/types.gen.d.ts +78 -0
  24. package/dist/client/core/types.gen.js +3 -0
  25. package/dist/client/core/utils.gen.d.ts +19 -0
  26. package/dist/client/core/utils.gen.js +93 -0
  27. package/dist/client/index.d.ts +2 -2
  28. package/dist/client/index.js +113 -17
  29. package/dist/client/sdk.gen.d.ts +217 -141
  30. package/dist/client/sdk.gen.js +217 -665
  31. package/dist/client/types.gen.d.ts +2588 -132
  32. package/dist/index.d.ts +217 -249
  33. package/dist/index.js +18 -43
  34. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@
25
25
  * });
26
26
  * ```
27
27
  */
28
- import { type MachineResponse, type MachinePoolUpdate, type PoolResponse, type PoolCreate, type PoolUpdate, type PoolWithMachines, type MachinePoolAssignment, type WorkflowModelMetadata, type WorkflowResponse, type ComputerTaskAcceptedResponse, type ComputerTaskObjectRequest, type RunResponse, type ConnectionResponse, type TrajectoryResponse, type PaginatedResponseWithIncludesMachineResponse, type PaginatedResponseWithIncludesPoolResponse, type PaginatedResponseWorkflowResponse, type PaginatedResponseWithIncludesRunResponse, type PaginatedResponseConnectionResponse, type PaginatedResponseWithIncludesTrajectoryResponse, type MachineStatus, type RunStatus, type RunKind, type ConnectionStatus, type MachineCreate, type WorkflowCreate, type RunCreate, type RunBulkCreate, type RunBulkCreateResponse, type WorkflowChainCreate, type WorkflowChainResponse, type FileInput, type ConnectionCreate, type TrajectoryCreate, type MachineUpdate, type WorkflowUpdate, type RunUpdate, type TrajectoryUpdate, type RunAttachmentCreate, type RunAttachmentUpdate, type RunAttachmentResponse, type RunAttachmentDownloadUrlResponse, type AttachmentType, type IncludedResource, type PaginatedResponseRunAttachmentResponse, type RunRetry, type RunField, type RunListSortMode, type ModelConfigurationCreate, type ModelConfigurationUpdate, type ModelConfigurationResponse, type UsageAggregateResponse, type UsageMode, type WorkflowTagCreate, type WorkflowTagUpdate, type WorkflowTagResponse, type WorkflowTagGroupCreate, type WorkflowTagGroupUpdate, type WorkflowTagGroupResponse, type ReorderRequest, type AddTagsRequest, type BulkAddTagsRequest, type WorkflowDuplicateRequest } from './client/types.gen';
28
+ import { type MachineResponse, type MachinePoolUpdate, type PoolResponse, type PoolCreate, type PoolUpdate, type PoolWithMachines, type MachinePoolAssignment, type WorkflowModelMetadata, type WorkflowResponse, type WorkflowPostRunCheckResponse, type WorkflowPostRunCheckUpsert, type RunPostRunCheckSnapshot, type PostRunCheckType, type PostRunCheckStatus, type PostRunCheckFileTargetMode, type RunResponseOutput as RunResponse, type ConnectionResponse, type TrajectoryResponse, type PaginatedResponseWithIncludesMachineResponse, type PaginatedResponseWithIncludesPoolResponse, type PaginatedResponseWithIncludesWorkflowResponse as PaginatedResponseWorkflowResponse, type PaginatedResponseWithIncludesRunResponse, type PaginatedResponseConnectionResponse, type PaginatedResponseWithIncludesTrajectoryResponse, type MachineStatus, type RunStatus, type ConnectionStatus, type MachineCreate, type WorkflowCreate, type RunCreate, type RunBulkCreate, type RunBulkCreateResponse, type WorkflowChainCreate, type WorkflowChainResponse, type FileInput, type ConnectionCreate, type TrajectoryCreate, type MachineUpdate, type WorkflowUpdate, type RunUpdate, type TrajectoryUpdate, type RunAttachmentCreate, type RunAttachmentUpdate, type RunAttachmentResponse, type RunAttachmentDownloadUrlResponse, type AttachmentType, type IncludedResource, type PaginatedResponseRunAttachmentResponse, type RunRetry, type RunField, type RunListSortMode, type ModelConfigurationCreate, type ModelConfigurationUpdate, type ModelConfigurationResponse, type UsageAggregateResponse, type UsageMode, type WorkflowTagCreate, type WorkflowTagUpdate, type WorkflowTagResponse, type WorkflowTagGroupCreate, type WorkflowTagGroupUpdate, type WorkflowTagGroupResponse, type ReorderRequest, type AddTagsRequest, type BulkAddTagsRequest, type WorkflowDuplicateRequest } from './client/types.gen';
29
29
  export * from './client/types.gen';
30
30
  export * from './client/sdk.gen';
31
31
  export * from './client/client.gen';
@@ -159,11 +159,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
159
159
  * @returns Created machine details
160
160
  */
161
161
  create: (data: MachineCreate) => Promise<({
162
- data: undefined;
163
- error: import("./client/types.gen").HttpValidationError;
164
- } | {
165
162
  data: MachineResponse;
166
163
  error: undefined;
164
+ } | {
165
+ data: undefined;
166
+ error: import("./client/types.gen").HttpValidationError;
167
167
  }) & {
168
168
  request: Request;
169
169
  response: Response;
@@ -186,11 +186,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
186
186
  get: (machineId: string, params?: {
187
187
  include?: string[];
188
188
  }) => Promise<({
189
- data: undefined;
190
- error: import("./client/types.gen").HttpValidationError;
191
- } | {
192
189
  data: import("./client/types.gen").MachineResponseWithIncludes;
193
190
  error: undefined;
191
+ } | {
192
+ data: undefined;
193
+ error: import("./client/types.gen").HttpValidationError;
194
194
  }) & {
195
195
  request: Request;
196
196
  response: Response;
@@ -249,11 +249,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
249
249
  * @param machineId - The ID of the machine
250
250
  */
251
251
  clearSession: (machineId: string) => Promise<({
252
- data: undefined;
253
- error: import("./client/types.gen").HttpValidationError;
254
- } | {
255
252
  data: MachineResponse;
256
253
  error: undefined;
254
+ } | {
255
+ data: undefined;
256
+ error: import("./client/types.gen").HttpValidationError;
257
257
  }) & {
258
258
  request: Request;
259
259
  response: Response;
@@ -270,11 +270,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
270
270
  * @param machineId - The ID of the machine to delete
271
271
  */
272
272
  delete: (machineId: string) => Promise<({
273
- data: undefined;
274
- error: import("./client/types.gen").HttpValidationError;
275
- } | {
276
273
  data: void;
277
274
  error: undefined;
275
+ } | {
276
+ data: undefined;
277
+ error: import("./client/types.gen").HttpValidationError;
278
278
  }) & {
279
279
  request: Request;
280
280
  response: Response;
@@ -286,11 +286,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
286
286
  * @returns List of pools the machine belongs to
287
287
  */
288
288
  getPools: (machineId: string) => Promise<({
289
- data: undefined;
290
- error: import("./client/types.gen").HttpValidationError;
291
- } | {
292
289
  data: PoolResponse[];
293
290
  error: undefined;
291
+ } | {
292
+ data: undefined;
293
+ error: import("./client/types.gen").HttpValidationError;
294
294
  }) & {
295
295
  request: Request;
296
296
  response: Response;
@@ -305,11 +305,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
305
305
  * @returns Updated machine details
306
306
  */
307
307
  updatePools: (machineId: string, data: MachinePoolUpdate) => Promise<({
308
- data: undefined;
309
- error: import("./client/types.gen").HttpValidationError;
310
- } | {
311
308
  data: MachineResponse;
312
309
  error: undefined;
310
+ } | {
311
+ data: undefined;
312
+ error: import("./client/types.gen").HttpValidationError;
313
313
  }) & {
314
314
  request: Request;
315
315
  response: Response;
@@ -331,11 +331,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
331
331
  limit?: number;
332
332
  include?: string[];
333
333
  }) => Promise<({
334
- data: undefined;
335
- error: import("./client/types.gen").HttpValidationError;
336
- } | {
337
334
  data: PaginatedResponseWithIncludesPoolResponse;
338
335
  error: undefined;
336
+ } | {
337
+ data: undefined;
338
+ error: import("./client/types.gen").HttpValidationError;
339
339
  }) & {
340
340
  request: Request;
341
341
  response: Response;
@@ -355,11 +355,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
355
355
  * ```
356
356
  */
357
357
  create: (data: PoolCreate) => Promise<({
358
- data: undefined;
359
- error: import("./client/types.gen").HttpValidationError;
360
- } | {
361
358
  data: PoolResponse;
362
359
  error: undefined;
360
+ } | {
361
+ data: undefined;
362
+ error: import("./client/types.gen").HttpValidationError;
363
363
  }) & {
364
364
  request: Request;
365
365
  response: Response;
@@ -385,11 +385,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
385
385
  includeMachines?: boolean;
386
386
  include?: string[];
387
387
  }) => Promise<({
388
- data: undefined;
389
- error: import("./client/types.gen").HttpValidationError;
390
- } | {
391
388
  data: import("./client/types.gen").PoolResponseWithIncludes;
392
389
  error: undefined;
390
+ } | {
391
+ data: undefined;
392
+ error: import("./client/types.gen").HttpValidationError;
393
393
  }) & {
394
394
  request: Request;
395
395
  response: Response;
@@ -402,11 +402,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
402
402
  * @returns Updated pool details
403
403
  */
404
404
  update: (poolId: string, data: PoolUpdate) => Promise<({
405
- data: undefined;
406
- error: import("./client/types.gen").HttpValidationError;
407
- } | {
408
405
  data: PoolResponse;
409
406
  error: undefined;
407
+ } | {
408
+ data: undefined;
409
+ error: import("./client/types.gen").HttpValidationError;
410
410
  }) & {
411
411
  request: Request;
412
412
  response: Response;
@@ -419,11 +419,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
419
419
  * @param poolId - The ID of the pool to delete
420
420
  */
421
421
  delete: (poolId: string) => Promise<({
422
- data: undefined;
423
- error: import("./client/types.gen").HttpValidationError;
424
- } | {
425
422
  data: void;
426
423
  error: undefined;
424
+ } | {
425
+ data: undefined;
426
+ error: import("./client/types.gen").HttpValidationError;
427
427
  }) & {
428
428
  request: Request;
429
429
  response: Response;
@@ -443,11 +443,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
443
443
  * ```
444
444
  */
445
445
  addMachines: (poolId: string, data: MachinePoolAssignment) => Promise<({
446
- data: undefined;
447
- error: import("./client/types.gen").HttpValidationError;
448
- } | {
449
446
  data: PoolWithMachines;
450
447
  error: undefined;
448
+ } | {
449
+ data: undefined;
450
+ error: import("./client/types.gen").HttpValidationError;
451
451
  }) & {
452
452
  request: Request;
453
453
  response: Response;
@@ -466,11 +466,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
466
466
  * ```
467
467
  */
468
468
  removeMachines: (poolId: string, data: MachinePoolAssignment) => Promise<({
469
- data: undefined;
470
- error: import("./client/types.gen").HttpValidationError;
471
- } | {
472
469
  data: void;
473
470
  error: undefined;
471
+ } | {
472
+ data: undefined;
473
+ error: import("./client/types.gen").HttpValidationError;
474
474
  }) & {
475
475
  request: Request;
476
476
  response: Response;
@@ -485,7 +485,9 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
485
485
  * @param params.limit - Maximum number of items to return
486
486
  * @param params.search - Search workflows by name (case-insensitive substring match)
487
487
  * @param params.tag_ids - Comma-separated list of tag UUIDs. Returns workflows with ALL specified tags (AND logic)
488
- * @param params.include_tags - Include tags in the response
488
+ * @param params.include_tags - Legacy flag to include tags in the response
489
+ * @param params.include - Related resources to include. Use `["tags"]`, `["post_run_checks"]`,
490
+ * or both. When provided, this overrides `include_tags`.
489
491
  * @returns Paginated list of workflows
490
492
  */
491
493
  list: (params?: {
@@ -498,12 +500,13 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
498
500
  updated_at_to?: string | Date;
499
501
  tag_ids?: string;
500
502
  include_tags?: boolean;
503
+ include?: string[];
501
504
  }) => Promise<({
502
- data: undefined;
503
- error: import("./client/types.gen").HttpValidationError;
504
- } | {
505
505
  data: PaginatedResponseWorkflowResponse;
506
506
  error: undefined;
507
+ } | {
508
+ data: undefined;
509
+ error: import("./client/types.gen").HttpValidationError;
507
510
  }) & {
508
511
  request: Request;
509
512
  response: Response;
@@ -524,11 +527,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
524
527
  * ```
525
528
  */
526
529
  create: (data: WorkflowCreate) => Promise<({
527
- data: undefined;
528
- error: import("./client/types.gen").HttpValidationError;
529
- } | {
530
530
  data: WorkflowResponse;
531
531
  error: undefined;
532
+ } | {
533
+ data: undefined;
534
+ error: import("./client/types.gen").HttpValidationError;
532
535
  }) & {
533
536
  request: Request;
534
537
  response: Response;
@@ -537,14 +540,20 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
537
540
  * Get a specific workflow by ID
538
541
  *
539
542
  * @param workflowId - The ID of the workflow
543
+ * @param params - Optional parameters
544
+ * @param params.include - Related resources to include. Allowed values:
545
+ * `["tags"]`, `["post_run_checks"]`. When omitted,
546
+ * the backend currently defaults to both.
540
547
  * @returns Workflow details
541
548
  */
542
- get: (workflowId: string) => Promise<({
549
+ get: (workflowId: string, params?: {
550
+ include?: string[];
551
+ }) => Promise<({
552
+ data: import("./client/types.gen").WorkflowResponseWithIncludes;
553
+ error: undefined;
554
+ } | {
543
555
  data: undefined;
544
556
  error: import("./client/types.gen").HttpValidationError;
545
- } | {
546
- data: WorkflowResponse;
547
- error: undefined;
548
557
  }) & {
549
558
  request: Request;
550
559
  response: Response;
@@ -557,11 +566,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
557
566
  * @returns Updated workflow details
558
567
  */
559
568
  update: (workflowId: string, data: WorkflowUpdate) => Promise<({
560
- data: undefined;
561
- error: import("./client/types.gen").HttpValidationError;
562
- } | {
563
569
  data: WorkflowResponse;
564
570
  error: undefined;
571
+ } | {
572
+ data: undefined;
573
+ error: import("./client/types.gen").HttpValidationError;
565
574
  }) & {
566
575
  request: Request;
567
576
  response: Response;
@@ -572,11 +581,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
572
581
  * @param workflowId - The ID of the workflow to delete
573
582
  */
574
583
  delete: (workflowId: string) => Promise<({
575
- data: undefined;
576
- error: import("./client/types.gen").HttpValidationError;
577
- } | {
578
584
  data: void;
579
585
  error: undefined;
586
+ } | {
587
+ data: undefined;
588
+ error: import("./client/types.gen").HttpValidationError;
580
589
  }) & {
581
590
  request: Request;
582
591
  response: Response;
@@ -589,11 +598,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
589
598
  * @returns Duplicated workflow details
590
599
  */
591
600
  duplicate: (workflowId: string, data?: WorkflowDuplicateRequest) => Promise<({
592
- data: undefined;
593
- error: import("./client/types.gen").HttpValidationError;
594
- } | {
595
601
  data: WorkflowResponse;
596
602
  error: undefined;
603
+ } | {
604
+ data: undefined;
605
+ error: import("./client/types.gen").HttpValidationError;
597
606
  }) & {
598
607
  request: Request;
599
608
  response: Response;
@@ -609,11 +618,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
609
618
  target_workflow_id: string;
610
619
  copy_trajectories?: boolean;
611
620
  }) => Promise<({
612
- data: undefined;
613
- error: import("./client/types.gen").HttpValidationError;
614
- } | {
615
621
  data: WorkflowResponse;
616
622
  error: undefined;
623
+ } | {
624
+ data: undefined;
625
+ error: import("./client/types.gen").HttpValidationError;
617
626
  }) & {
618
627
  request: Request;
619
628
  response: Response;
@@ -634,11 +643,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
634
643
  * ```
635
644
  */
636
645
  list: () => Promise<({
637
- data: WorkflowTagGroupResponse[];
638
- error: undefined;
639
- } | {
640
646
  data: undefined;
641
647
  error: unknown;
648
+ } | {
649
+ data: WorkflowTagGroupResponse[];
650
+ error: undefined;
642
651
  }) & {
643
652
  request: Request;
644
653
  response: Response;
@@ -663,11 +672,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
663
672
  * ```
664
673
  */
665
674
  create: (data: WorkflowTagGroupCreate) => Promise<({
666
- data: undefined;
667
- error: import("./client/types.gen").HttpValidationError;
668
- } | {
669
675
  data: WorkflowTagGroupResponse;
670
676
  error: undefined;
677
+ } | {
678
+ data: undefined;
679
+ error: import("./client/types.gen").HttpValidationError;
671
680
  }) & {
672
681
  request: Request;
673
682
  response: Response;
@@ -679,11 +688,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
679
688
  * @returns WorkflowTagGroupResponse
680
689
  */
681
690
  get: (groupId: string) => Promise<({
682
- data: undefined;
683
- error: import("./client/types.gen").HttpValidationError;
684
- } | {
685
691
  data: WorkflowTagGroupResponse;
686
692
  error: undefined;
693
+ } | {
694
+ data: undefined;
695
+ error: import("./client/types.gen").HttpValidationError;
687
696
  }) & {
688
697
  request: Request;
689
698
  response: Response;
@@ -696,11 +705,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
696
705
  * @returns Updated WorkflowTagGroupResponse
697
706
  */
698
707
  update: (groupId: string, data: WorkflowTagGroupUpdate) => Promise<({
699
- data: undefined;
700
- error: import("./client/types.gen").HttpValidationError;
701
- } | {
702
708
  data: WorkflowTagGroupResponse;
703
709
  error: undefined;
710
+ } | {
711
+ data: undefined;
712
+ error: import("./client/types.gen").HttpValidationError;
704
713
  }) & {
705
714
  request: Request;
706
715
  response: Response;
@@ -713,11 +722,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
713
722
  * @param groupId - The group ID to delete
714
723
  */
715
724
  delete: (groupId: string) => Promise<({
716
- data: undefined;
717
- error: import("./client/types.gen").HttpValidationError;
718
- } | {
719
725
  data: void;
720
726
  error: undefined;
727
+ } | {
728
+ data: undefined;
729
+ error: import("./client/types.gen").HttpValidationError;
721
730
  }) & {
722
731
  request: Request;
723
732
  response: Response;
@@ -733,11 +742,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
733
742
  * ```
734
743
  */
735
744
  reorder: (groupIds: string[]) => Promise<({
736
- data: undefined;
737
- error: import("./client/types.gen").HttpValidationError;
738
- } | {
739
745
  data: void;
740
746
  error: undefined;
747
+ } | {
748
+ data: undefined;
749
+ error: import("./client/types.gen").HttpValidationError;
741
750
  }) & {
742
751
  request: Request;
743
752
  response: Response;
@@ -760,11 +769,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
760
769
  list: (params?: {
761
770
  include_archived?: boolean;
762
771
  }) => Promise<({
763
- data: undefined;
764
- error: import("./client/types.gen").HttpValidationError;
765
- } | {
766
772
  data: WorkflowTagResponse[];
767
773
  error: undefined;
774
+ } | {
775
+ data: undefined;
776
+ error: import("./client/types.gen").HttpValidationError;
768
777
  }) & {
769
778
  request: Request;
770
779
  response: Response;
@@ -798,11 +807,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
798
807
  * ```
799
808
  */
800
809
  create: (data: WorkflowTagCreate) => Promise<({
801
- data: undefined;
802
- error: import("./client/types.gen").HttpValidationError;
803
- } | {
804
810
  data: WorkflowTagResponse;
805
811
  error: undefined;
812
+ } | {
813
+ data: undefined;
814
+ error: import("./client/types.gen").HttpValidationError;
806
815
  }) & {
807
816
  request: Request;
808
817
  response: Response;
@@ -814,11 +823,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
814
823
  * @returns WorkflowTagResponse
815
824
  */
816
825
  get: (tagId: string) => Promise<({
817
- data: undefined;
818
- error: import("./client/types.gen").HttpValidationError;
819
- } | {
820
826
  data: WorkflowTagResponse;
821
827
  error: undefined;
828
+ } | {
829
+ data: undefined;
830
+ error: import("./client/types.gen").HttpValidationError;
822
831
  }) & {
823
832
  request: Request;
824
833
  response: Response;
@@ -831,11 +840,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
831
840
  * @returns Updated WorkflowTagResponse
832
841
  */
833
842
  update: (tagId: string, data: WorkflowTagUpdate) => Promise<({
834
- data: undefined;
835
- error: import("./client/types.gen").HttpValidationError;
836
- } | {
837
843
  data: WorkflowTagResponse;
838
844
  error: undefined;
845
+ } | {
846
+ data: undefined;
847
+ error: import("./client/types.gen").HttpValidationError;
839
848
  }) & {
840
849
  request: Request;
841
850
  response: Response;
@@ -849,11 +858,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
849
858
  * @param tagId - The tag ID to delete
850
859
  */
851
860
  delete: (tagId: string) => Promise<({
852
- data: undefined;
853
- error: import("./client/types.gen").HttpValidationError;
854
- } | {
855
861
  data: void;
856
862
  error: undefined;
863
+ } | {
864
+ data: undefined;
865
+ error: import("./client/types.gen").HttpValidationError;
857
866
  }) & {
858
867
  request: Request;
859
868
  response: Response;
@@ -868,11 +877,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
868
877
  * @returns Archived WorkflowTagResponse
869
878
  */
870
879
  archive: (tagId: string) => Promise<({
871
- data: undefined;
872
- error: import("./client/types.gen").HttpValidationError;
873
- } | {
874
880
  data: WorkflowTagResponse;
875
881
  error: undefined;
882
+ } | {
883
+ data: undefined;
884
+ error: import("./client/types.gen").HttpValidationError;
876
885
  }) & {
877
886
  request: Request;
878
887
  response: Response;
@@ -886,11 +895,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
886
895
  * @returns Unarchived WorkflowTagResponse
887
896
  */
888
897
  unarchive: (tagId: string) => Promise<({
889
- data: undefined;
890
- error: import("./client/types.gen").HttpValidationError;
891
- } | {
892
898
  data: WorkflowTagResponse;
893
899
  error: undefined;
900
+ } | {
901
+ data: undefined;
902
+ error: import("./client/types.gen").HttpValidationError;
894
903
  }) & {
895
904
  request: Request;
896
905
  response: Response;
@@ -906,11 +915,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
906
915
  * ```
907
916
  */
908
917
  reorder: (tagIds: string[]) => Promise<({
909
- data: undefined;
910
- error: import("./client/types.gen").HttpValidationError;
911
- } | {
912
918
  data: void;
913
919
  error: undefined;
920
+ } | {
921
+ data: undefined;
922
+ error: import("./client/types.gen").HttpValidationError;
914
923
  }) & {
915
924
  request: Request;
916
925
  response: Response;
@@ -934,11 +943,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
934
943
  * ```
935
944
  */
936
945
  addToWorkflow: (workflowId: string, tagIds: string[]) => Promise<({
937
- data: undefined;
938
- error: import("./client/types.gen").HttpValidationError;
939
- } | {
940
946
  data: WorkflowTagResponse[];
941
947
  error: undefined;
948
+ } | {
949
+ data: undefined;
950
+ error: import("./client/types.gen").HttpValidationError;
942
951
  }) & {
943
952
  request: Request;
944
953
  response: Response;
@@ -950,11 +959,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
950
959
  * @param tagId - The tag ID to remove
951
960
  */
952
961
  removeFromWorkflow: (workflowId: string, tagId: string) => Promise<({
953
- data: undefined;
954
- error: import("./client/types.gen").HttpValidationError;
955
- } | {
956
962
  data: void;
957
963
  error: undefined;
964
+ } | {
965
+ data: undefined;
966
+ error: import("./client/types.gen").HttpValidationError;
958
967
  }) & {
959
968
  request: Request;
960
969
  response: Response;
@@ -966,11 +975,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
966
975
  * @returns List of WorkflowTagResponse objects
967
976
  */
968
977
  getForWorkflow: (workflowId: string) => Promise<({
969
- data: undefined;
970
- error: import("./client/types.gen").HttpValidationError;
971
- } | {
972
978
  data: WorkflowTagResponse[];
973
979
  error: undefined;
980
+ } | {
981
+ data: undefined;
982
+ error: import("./client/types.gen").HttpValidationError;
974
983
  }) & {
975
984
  request: Request;
976
985
  response: Response;
@@ -992,50 +1001,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
992
1001
  * ```
993
1002
  */
994
1003
  bulkAddToWorkflows: (workflowIds: string[], tagIds: string[]) => Promise<({
995
- data: undefined;
996
- error: import("./client/types.gen").HttpValidationError;
997
- } | {
998
1004
  data: void;
999
1005
  error: undefined;
1000
- }) & {
1001
- request: Request;
1002
- response: Response;
1003
- }>;
1004
- };
1005
- computer: {
1006
- /**
1007
- * Create an ad hoc computer task for a connected machine.
1008
- *
1009
- * Accepts either the current desktop-compatible raw JSON string task body
1010
- * or the forward-compatible object form `{ task: string }`.
1011
- */
1012
- createAdHocTask: (machineId: string, task: string | ComputerTaskObjectRequest, params?: {
1013
- idempotencyKey?: string;
1014
- }) => Promise<({
1015
- data: undefined;
1016
- error: import("./client/types.gen").HttpValidationError;
1017
1006
  } | {
1018
- data: ComputerTaskAcceptedResponse;
1019
- error: undefined;
1020
- }) & {
1021
- request: Request;
1022
- response: Response;
1023
- }>;
1024
- /**
1025
- * Notify Cyberdriver that a task has completed.
1026
- *
1027
- * This is primarily useful for lower-level integrations and testing.
1028
- */
1029
- notifyTaskDone: (machineId: string, params?: {
1030
- idempotencyKey?: string;
1031
- }) => Promise<({
1032
1007
  data: undefined;
1033
1008
  error: import("./client/types.gen").HttpValidationError;
1034
- } | {
1035
- data: {
1036
- [key: string]: unknown;
1037
- };
1038
- error: undefined;
1039
1009
  }) & {
1040
1010
  request: Request;
1041
1011
  response: Response;
@@ -1053,7 +1023,6 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1053
1023
  * @param params.limit - Maximum number of items to return
1054
1024
  * @param params.status - Filter by run status (scheduling, running, success, cancelled, error)
1055
1025
  * @param params.workflow_id - Filter by workflow ID
1056
- * @param params.run_kind - Filter by run kind ("workflow" or "ad_hoc")
1057
1026
  * @param params.machine_id - Filter by machine ID
1058
1027
  * @param params.session_id - Filter by session ID
1059
1028
  * @param params.search - Search runs by input_values, output_data, error, session_alias (case-insensitive)
@@ -1074,7 +1043,6 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1074
1043
  limit?: number;
1075
1044
  status?: RunStatus;
1076
1045
  workflow_id?: string;
1077
- run_kind?: RunKind;
1078
1046
  machine_id?: string;
1079
1047
  session_id?: string;
1080
1048
  search?: string;
@@ -1085,11 +1053,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1085
1053
  fields?: RunField[];
1086
1054
  include?: string[];
1087
1055
  }) => Promise<({
1088
- data: undefined;
1089
- error: import("./client/types.gen").HttpValidationError;
1090
- } | {
1091
1056
  data: PaginatedResponseWithIncludesRunResponse;
1092
1057
  error: undefined;
1058
+ } | {
1059
+ data: undefined;
1060
+ error: import("./client/types.gen").HttpValidationError;
1093
1061
  }) & {
1094
1062
  request: Request;
1095
1063
  response: Response;
@@ -1126,11 +1094,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1126
1094
  * ```
1127
1095
  */
1128
1096
  create: (data: RunCreate) => Promise<({
1129
- data: undefined;
1130
- error: import("./client/types.gen").HttpValidationError;
1131
- } | {
1132
1097
  data: RunResponse;
1133
1098
  error: undefined;
1099
+ } | {
1100
+ data: undefined;
1101
+ error: import("./client/types.gen").HttpValidationError;
1134
1102
  }) & {
1135
1103
  request: Request;
1136
1104
  response: Response;
@@ -1177,11 +1145,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1177
1145
  * ```
1178
1146
  */
1179
1147
  bulkCreate: (data: RunBulkCreate) => Promise<({
1180
- data: undefined;
1181
- error: import("./client/types.gen").HttpValidationError;
1182
- } | {
1183
1148
  data: RunBulkCreateResponse;
1184
1149
  error: undefined;
1150
+ } | {
1151
+ data: undefined;
1152
+ error: import("./client/types.gen").HttpValidationError;
1185
1153
  }) & {
1186
1154
  request: Request;
1187
1155
  response: Response;
@@ -1195,11 +1163,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1195
1163
  * @returns WorkflowChainResponse containing session_id and run_ids
1196
1164
  */
1197
1165
  chain: (data: WorkflowChainCreate) => Promise<({
1198
- data: undefined;
1199
- error: import("./client/types.gen").HttpValidationError;
1200
- } | {
1201
1166
  data: WorkflowChainResponse;
1202
1167
  error: undefined;
1168
+ } | {
1169
+ data: undefined;
1170
+ error: import("./client/types.gen").HttpValidationError;
1203
1171
  }) & {
1204
1172
  request: Request;
1205
1173
  response: Response;
@@ -1220,11 +1188,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1220
1188
  get: (runId: string, params?: {
1221
1189
  include?: string[];
1222
1190
  }) => Promise<({
1223
- data: undefined;
1224
- error: import("./client/types.gen").HttpValidationError;
1225
- } | {
1226
1191
  data: import("./client/types.gen").RunResponseWithIncludes;
1227
1192
  error: undefined;
1193
+ } | {
1194
+ data: undefined;
1195
+ error: import("./client/types.gen").HttpValidationError;
1228
1196
  }) & {
1229
1197
  request: Request;
1230
1198
  response: Response;
@@ -1238,11 +1206,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1238
1206
  * @param runId - The ID of the run
1239
1207
  */
1240
1208
  getTrajectory: (runId: string) => Promise<({
1241
- data: undefined;
1242
- error: import("./client/types.gen").HttpValidationError;
1243
- } | {
1244
1209
  data: TrajectoryResponse;
1245
1210
  error: undefined;
1211
+ } | {
1212
+ data: undefined;
1213
+ error: import("./client/types.gen").HttpValidationError;
1246
1214
  }) & {
1247
1215
  request: Request;
1248
1216
  response: Response;
@@ -1256,11 +1224,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1256
1224
  generateTrajectory: (runId: string, params?: {
1257
1225
  idempotencyKey?: string;
1258
1226
  }) => Promise<({
1259
- data: undefined;
1260
- error: import("./client/types.gen").HttpValidationError;
1261
- } | {
1262
1227
  data: TrajectoryResponse;
1263
1228
  error: undefined;
1229
+ } | {
1230
+ data: undefined;
1231
+ error: import("./client/types.gen").HttpValidationError;
1264
1232
  }) & {
1265
1233
  request: Request;
1266
1234
  response: Response;
@@ -1273,11 +1241,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1273
1241
  * @returns Updated run details
1274
1242
  */
1275
1243
  update: (runId: string, data: RunUpdate) => Promise<({
1276
- data: undefined;
1277
- error: import("./client/types.gen").HttpValidationError;
1278
- } | {
1279
1244
  data: RunResponse;
1280
1245
  error: undefined;
1246
+ } | {
1247
+ data: undefined;
1248
+ error: import("./client/types.gen").HttpValidationError;
1281
1249
  }) & {
1282
1250
  request: Request;
1283
1251
  response: Response;
@@ -1288,11 +1256,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1288
1256
  * @param runId - The ID of the run to delete
1289
1257
  */
1290
1258
  delete: (runId: string) => Promise<({
1291
- data: undefined;
1292
- error: import("./client/types.gen").HttpValidationError;
1293
- } | {
1294
1259
  data: void;
1295
1260
  error: undefined;
1261
+ } | {
1262
+ data: undefined;
1263
+ error: import("./client/types.gen").HttpValidationError;
1296
1264
  }) & {
1297
1265
  request: Request;
1298
1266
  response: Response;
@@ -1307,11 +1275,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1307
1275
  * @param data - Retry options (input overrides, sensitive inputs, file inputs, etc.)
1308
1276
  */
1309
1277
  retry: (runId: string, data: RunRetry) => Promise<({
1310
- data: undefined;
1311
- error: import("./client/types.gen").HttpValidationError;
1312
- } | {
1313
1278
  data: RunResponse;
1314
1279
  error: undefined;
1280
+ } | {
1281
+ data: undefined;
1282
+ error: import("./client/types.gen").HttpValidationError;
1315
1283
  }) & {
1316
1284
  request: Request;
1317
1285
  response: Response;
@@ -1334,11 +1302,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1334
1302
  machine_id?: string;
1335
1303
  status?: ConnectionStatus;
1336
1304
  }) => Promise<({
1337
- data: undefined;
1338
- error: import("./client/types.gen").HttpValidationError;
1339
- } | {
1340
1305
  data: PaginatedResponseConnectionResponse;
1341
1306
  error: undefined;
1307
+ } | {
1308
+ data: undefined;
1309
+ error: import("./client/types.gen").HttpValidationError;
1342
1310
  }) & {
1343
1311
  request: Request;
1344
1312
  response: Response;
@@ -1350,11 +1318,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1350
1318
  * @returns Created connection details
1351
1319
  */
1352
1320
  create: (data: ConnectionCreate) => Promise<({
1353
- data: undefined;
1354
- error: import("./client/types.gen").HttpValidationError;
1355
- } | {
1356
1321
  data: ConnectionResponse;
1357
1322
  error: undefined;
1323
+ } | {
1324
+ data: undefined;
1325
+ error: import("./client/types.gen").HttpValidationError;
1358
1326
  }) & {
1359
1327
  request: Request;
1360
1328
  response: Response;
@@ -1399,11 +1367,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1399
1367
  updated_at_to?: string | Date;
1400
1368
  include?: string[];
1401
1369
  }) => Promise<({
1402
- data: undefined;
1403
- error: import("./client/types.gen").HttpValidationError;
1404
- } | {
1405
1370
  data: PaginatedResponseWithIncludesTrajectoryResponse;
1406
1371
  error: undefined;
1372
+ } | {
1373
+ data: undefined;
1374
+ error: import("./client/types.gen").HttpValidationError;
1407
1375
  }) & {
1408
1376
  request: Request;
1409
1377
  response: Response;
@@ -1425,11 +1393,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1425
1393
  * You must explicitly approve them before they can be used during workflow execution.
1426
1394
  */
1427
1395
  create: (data: TrajectoryCreate) => Promise<({
1428
- data: undefined;
1429
- error: import("./client/types.gen").HttpValidationError;
1430
- } | {
1431
1396
  data: TrajectoryResponse;
1432
1397
  error: undefined;
1398
+ } | {
1399
+ data: undefined;
1400
+ error: import("./client/types.gen").HttpValidationError;
1433
1401
  }) & {
1434
1402
  request: Request;
1435
1403
  response: Response;
@@ -1446,11 +1414,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1446
1414
  get: (trajectoryId: string, params?: {
1447
1415
  include?: string[];
1448
1416
  }) => Promise<({
1449
- data: undefined;
1450
- error: import("./client/types.gen").HttpValidationError;
1451
- } | {
1452
1417
  data: import("./client/types.gen").TrajectoryResponseWithIncludes;
1453
1418
  error: undefined;
1419
+ } | {
1420
+ data: undefined;
1421
+ error: import("./client/types.gen").HttpValidationError;
1454
1422
  }) & {
1455
1423
  request: Request;
1456
1424
  response: Response;
@@ -1467,11 +1435,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1467
1435
  * Only approved trajectories are used during workflow execution.
1468
1436
  */
1469
1437
  update: (trajectoryId: string, data: TrajectoryUpdate) => Promise<({
1470
- data: undefined;
1471
- error: import("./client/types.gen").HttpValidationError;
1472
- } | {
1473
1438
  data: TrajectoryResponse;
1474
1439
  error: undefined;
1440
+ } | {
1441
+ data: undefined;
1442
+ error: import("./client/types.gen").HttpValidationError;
1475
1443
  }) & {
1476
1444
  request: Request;
1477
1445
  response: Response;
@@ -1482,11 +1450,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1482
1450
  * @param trajectoryId - The ID of the trajectory to delete
1483
1451
  */
1484
1452
  delete: (trajectoryId: string) => Promise<({
1485
- data: undefined;
1486
- error: import("./client/types.gen").HttpValidationError;
1487
- } | {
1488
1453
  data: void;
1489
1454
  error: undefined;
1455
+ } | {
1456
+ data: undefined;
1457
+ error: import("./client/types.gen").HttpValidationError;
1490
1458
  }) & {
1491
1459
  request: Request;
1492
1460
  response: Response;
@@ -1501,11 +1469,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1501
1469
  * @returns Latest trajectory for the workflow, or null if none exists
1502
1470
  */
1503
1471
  getLatestForWorkflow: (workflowId: string) => Promise<({
1504
- data: undefined;
1505
- error: import("./client/types.gen").HttpValidationError;
1506
- } | {
1507
1472
  data: TrajectoryResponse;
1508
1473
  error: undefined;
1474
+ } | {
1475
+ data: undefined;
1476
+ error: import("./client/types.gen").HttpValidationError;
1509
1477
  }) & {
1510
1478
  request: Request;
1511
1479
  response: Response;
@@ -1521,11 +1489,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1521
1489
  * @returns Duplicated trajectory details
1522
1490
  */
1523
1491
  duplicate: (trajectoryId: string) => Promise<({
1524
- data: undefined;
1525
- error: import("./client/types.gen").HttpValidationError;
1526
- } | {
1527
1492
  data: TrajectoryResponse;
1528
1493
  error: undefined;
1494
+ } | {
1495
+ data: undefined;
1496
+ error: import("./client/types.gen").HttpValidationError;
1529
1497
  }) & {
1530
1498
  request: Request;
1531
1499
  response: Response;
@@ -1548,11 +1516,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1548
1516
  run_id?: string;
1549
1517
  attachment_type?: AttachmentType;
1550
1518
  }) => Promise<({
1551
- data: undefined;
1552
- error: import("./client/types.gen").HttpValidationError;
1553
- } | {
1554
1519
  data: PaginatedResponseRunAttachmentResponse;
1555
1520
  error: undefined;
1521
+ } | {
1522
+ data: undefined;
1523
+ error: import("./client/types.gen").HttpValidationError;
1556
1524
  }) & {
1557
1525
  request: Request;
1558
1526
  response: Response;
@@ -1564,11 +1532,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1564
1532
  * @returns Created attachment details
1565
1533
  */
1566
1534
  create: (data: RunAttachmentCreate) => Promise<({
1567
- data: undefined;
1568
- error: import("./client/types.gen").HttpValidationError;
1569
- } | {
1570
1535
  data: RunAttachmentResponse;
1571
1536
  error: undefined;
1537
+ } | {
1538
+ data: undefined;
1539
+ error: import("./client/types.gen").HttpValidationError;
1572
1540
  }) & {
1573
1541
  request: Request;
1574
1542
  response: Response;
@@ -1580,11 +1548,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1580
1548
  * @returns Attachment metadata
1581
1549
  */
1582
1550
  get: (attachmentId: string) => Promise<({
1583
- data: undefined;
1584
- error: import("./client/types.gen").HttpValidationError;
1585
- } | {
1586
1551
  data: RunAttachmentResponse;
1587
1552
  error: undefined;
1553
+ } | {
1554
+ data: undefined;
1555
+ error: import("./client/types.gen").HttpValidationError;
1588
1556
  }) & {
1589
1557
  request: Request;
1590
1558
  response: Response;
@@ -1608,11 +1576,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1608
1576
  * ```
1609
1577
  */
1610
1578
  getDownloadUrl: (attachmentId: string, expiresIn?: number) => Promise<({
1611
- data: undefined;
1612
- error: import("./client/types.gen").HttpValidationError;
1613
- } | {
1614
1579
  data: RunAttachmentDownloadUrlResponse;
1615
1580
  error: undefined;
1581
+ } | {
1582
+ data: undefined;
1583
+ error: import("./client/types.gen").HttpValidationError;
1616
1584
  }) & {
1617
1585
  request: Request;
1618
1586
  response: Response;
@@ -1636,11 +1604,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1636
1604
  * ```
1637
1605
  */
1638
1606
  download: (attachmentId: string) => Promise<({
1639
- data: undefined;
1640
- error: import("./client/types.gen").HttpValidationError;
1641
- } | {
1642
1607
  data: Blob | File;
1643
1608
  error: undefined;
1609
+ } | {
1610
+ data: undefined;
1611
+ error: import("./client/types.gen").HttpValidationError;
1644
1612
  }) & {
1645
1613
  request: Request;
1646
1614
  response: Response;
@@ -1653,11 +1621,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1653
1621
  * @returns Updated attachment details
1654
1622
  */
1655
1623
  update: (attachmentId: string, data: RunAttachmentUpdate) => Promise<({
1656
- data: undefined;
1657
- error: import("./client/types.gen").HttpValidationError;
1658
- } | {
1659
1624
  data: RunAttachmentResponse;
1660
1625
  error: undefined;
1626
+ } | {
1627
+ data: undefined;
1628
+ error: import("./client/types.gen").HttpValidationError;
1661
1629
  }) & {
1662
1630
  request: Request;
1663
1631
  response: Response;
@@ -1668,11 +1636,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1668
1636
  * @param attachmentId - The ID of the attachment to delete
1669
1637
  */
1670
1638
  delete: (attachmentId: string) => Promise<({
1671
- data: undefined;
1672
- error: import("./client/types.gen").HttpValidationError;
1673
- } | {
1674
1639
  data: void;
1675
1640
  error: undefined;
1641
+ } | {
1642
+ data: undefined;
1643
+ error: import("./client/types.gen").HttpValidationError;
1676
1644
  }) & {
1677
1645
  request: Request;
1678
1646
  response: Response;
@@ -1710,11 +1678,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1710
1678
  * @returns Created model configuration
1711
1679
  */
1712
1680
  create: (data: ModelConfigurationCreate) => Promise<({
1713
- data: undefined;
1714
- error: import("./client/types.gen").HttpValidationError;
1715
- } | {
1716
1681
  data: ModelConfigurationResponse;
1717
1682
  error: undefined;
1683
+ } | {
1684
+ data: undefined;
1685
+ error: import("./client/types.gen").HttpValidationError;
1718
1686
  }) & {
1719
1687
  request: Request;
1720
1688
  response: Response;
@@ -1726,11 +1694,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1726
1694
  * @returns Model configuration details
1727
1695
  */
1728
1696
  get: (modelConfigurationId: string) => Promise<({
1729
- data: undefined;
1730
- error: import("./client/types.gen").HttpValidationError;
1731
- } | {
1732
1697
  data: ModelConfigurationResponse;
1733
1698
  error: undefined;
1699
+ } | {
1700
+ data: undefined;
1701
+ error: import("./client/types.gen").HttpValidationError;
1734
1702
  }) & {
1735
1703
  request: Request;
1736
1704
  response: Response;
@@ -1746,11 +1714,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1746
1714
  * @returns Updated model configuration
1747
1715
  */
1748
1716
  update: (modelConfigurationId: string, data: ModelConfigurationUpdate) => Promise<({
1749
- data: undefined;
1750
- error: import("./client/types.gen").HttpValidationError;
1751
- } | {
1752
1717
  data: ModelConfigurationResponse;
1753
1718
  error: undefined;
1719
+ } | {
1720
+ data: undefined;
1721
+ error: import("./client/types.gen").HttpValidationError;
1754
1722
  }) & {
1755
1723
  request: Request;
1756
1724
  response: Response;
@@ -1763,11 +1731,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1763
1731
  * @param modelConfigurationId - The ID of the model configuration to delete
1764
1732
  */
1765
1733
  delete: (modelConfigurationId: string) => Promise<({
1766
- data: undefined;
1767
- error: import("./client/types.gen").HttpValidationError;
1768
- } | {
1769
1734
  data: void;
1770
1735
  error: undefined;
1736
+ } | {
1737
+ data: undefined;
1738
+ error: import("./client/types.gen").HttpValidationError;
1771
1739
  }) & {
1772
1740
  request: Request;
1773
1741
  response: Response;
@@ -1816,15 +1784,15 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
1816
1784
  to_date: string | Date;
1817
1785
  mode?: UsageMode;
1818
1786
  }) => Promise<({
1819
- data: undefined;
1820
- error: import("./client/types.gen").HttpValidationError;
1821
- } | {
1822
1787
  data: UsageAggregateResponse;
1823
1788
  error: undefined;
1789
+ } | {
1790
+ data: undefined;
1791
+ error: import("./client/types.gen").HttpValidationError;
1824
1792
  }) & {
1825
1793
  request: Request;
1826
1794
  response: Response;
1827
1795
  }>;
1828
1796
  };
1829
1797
  };
1830
- export type { MachineResponse, MachinePoolUpdate, PoolResponse, PoolCreate, PoolUpdate, PoolWithMachines, MachinePoolAssignment, WorkflowModelMetadata, WorkflowResponse, RunResponse, RunBulkCreate, RunBulkCreateResponse, ConnectionResponse, TrajectoryResponse, RunAttachmentResponse, RunAttachmentDownloadUrlResponse, FileInput, AttachmentType, IncludedResource, PaginatedResponseWithIncludesMachineResponse, PaginatedResponseWithIncludesPoolResponse, PaginatedResponseWorkflowResponse, PaginatedResponseWithIncludesRunResponse, PaginatedResponseConnectionResponse, PaginatedResponseWithIncludesTrajectoryResponse, PaginatedResponseRunAttachmentResponse, ModelConfigurationCreate, ModelConfigurationUpdate, ModelConfigurationResponse, UsageAggregateResponse, UsageMode, WorkflowTagCreate, WorkflowTagUpdate, WorkflowTagResponse, WorkflowTagGroupCreate, WorkflowTagGroupUpdate, WorkflowTagGroupResponse, ReorderRequest, AddTagsRequest, BulkAddTagsRequest, };
1798
+ export type { MachineResponse, MachinePoolUpdate, PoolResponse, PoolCreate, PoolUpdate, PoolWithMachines, MachinePoolAssignment, WorkflowModelMetadata, WorkflowPostRunCheckResponse, WorkflowPostRunCheckUpsert, RunPostRunCheckSnapshot, PostRunCheckType, PostRunCheckStatus, PostRunCheckFileTargetMode, WorkflowResponse, RunResponse, RunBulkCreate, RunBulkCreateResponse, ConnectionResponse, TrajectoryResponse, RunAttachmentResponse, RunAttachmentDownloadUrlResponse, FileInput, AttachmentType, IncludedResource, PaginatedResponseWithIncludesMachineResponse, PaginatedResponseWithIncludesPoolResponse, PaginatedResponseWorkflowResponse, PaginatedResponseWithIncludesRunResponse, PaginatedResponseConnectionResponse, PaginatedResponseWithIncludesTrajectoryResponse, PaginatedResponseRunAttachmentResponse, ModelConfigurationCreate, ModelConfigurationUpdate, ModelConfigurationResponse, UsageAggregateResponse, UsageMode, WorkflowTagCreate, WorkflowTagUpdate, WorkflowTagResponse, WorkflowTagGroupCreate, WorkflowTagGroupUpdate, WorkflowTagGroupResponse, ReorderRequest, AddTagsRequest, BulkAddTagsRequest, };