@blaxel/core 0.2.43 → 0.2.44-dev.201

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 (51) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/agents/index.js +2 -2
  3. package/dist/cjs/client/sdk.gen.js +98 -77
  4. package/dist/cjs/client/types.gen.js +0 -1
  5. package/dist/cjs/common/internal.js +40 -0
  6. package/dist/cjs/common/settings.js +5 -2
  7. package/dist/cjs/jobs/jobs.js +2 -2
  8. package/dist/cjs/sandbox/action.js +1 -2
  9. package/dist/cjs/tools/mcpTool.js +2 -2
  10. package/dist/cjs/types/client/sdk.gen.d.ts +27 -22
  11. package/dist/cjs/types/client/types.gen.d.ts +250 -419
  12. package/dist/cjs/types/common/internal.d.ts +2 -0
  13. package/dist/cjs/types/common/settings.d.ts +1 -0
  14. package/dist/cjs/types/volume/index.d.ts +1 -0
  15. package/dist/cjs/volume/index.js +2 -1
  16. package/dist/cjs-browser/.tsbuildinfo +1 -1
  17. package/dist/cjs-browser/agents/index.js +2 -2
  18. package/dist/cjs-browser/client/sdk.gen.js +98 -77
  19. package/dist/cjs-browser/client/types.gen.js +0 -1
  20. package/dist/cjs-browser/common/internal.js +40 -0
  21. package/dist/cjs-browser/common/settings.js +5 -2
  22. package/dist/cjs-browser/jobs/jobs.js +2 -2
  23. package/dist/cjs-browser/sandbox/action.js +1 -2
  24. package/dist/cjs-browser/tools/mcpTool.js +2 -2
  25. package/dist/cjs-browser/types/client/sdk.gen.d.ts +27 -22
  26. package/dist/cjs-browser/types/client/types.gen.d.ts +250 -419
  27. package/dist/cjs-browser/types/common/internal.d.ts +2 -0
  28. package/dist/cjs-browser/types/common/settings.d.ts +1 -0
  29. package/dist/cjs-browser/types/volume/index.d.ts +1 -0
  30. package/dist/cjs-browser/volume/index.js +2 -1
  31. package/dist/esm/.tsbuildinfo +1 -1
  32. package/dist/esm/agents/index.js +3 -3
  33. package/dist/esm/client/sdk.gen.js +89 -69
  34. package/dist/esm/client/types.gen.js +0 -1
  35. package/dist/esm/common/internal.js +38 -0
  36. package/dist/esm/common/settings.js +5 -2
  37. package/dist/esm/jobs/jobs.js +3 -3
  38. package/dist/esm/sandbox/action.js +2 -3
  39. package/dist/esm/tools/mcpTool.js +3 -3
  40. package/dist/esm/volume/index.js +2 -1
  41. package/dist/esm-browser/.tsbuildinfo +1 -1
  42. package/dist/esm-browser/agents/index.js +3 -3
  43. package/dist/esm-browser/client/sdk.gen.js +89 -69
  44. package/dist/esm-browser/client/types.gen.js +0 -1
  45. package/dist/esm-browser/common/internal.js +38 -0
  46. package/dist/esm-browser/common/settings.js +5 -2
  47. package/dist/esm-browser/jobs/jobs.js +3 -3
  48. package/dist/esm-browser/sandbox/action.js +2 -3
  49. package/dist/esm-browser/tools/mcpTool.js +3 -3
  50. package/dist/esm-browser/volume/index.js +2 -1
  51. package/package.json +2 -2
@@ -94,7 +94,7 @@ export type BillableTimeMetric = {
94
94
  /**
95
95
  * Billable time
96
96
  */
97
- billableTime?: number;
97
+ billableTime?: Array<JobsChartValue>;
98
98
  /**
99
99
  * Total memory allocation in GB-seconds
100
100
  */
@@ -107,19 +107,19 @@ export type Configuration = {
107
107
  /**
108
108
  * Continents
109
109
  */
110
- continents?: Array<unknown>;
110
+ continents?: Array<Continent>;
111
111
  /**
112
112
  * Countries
113
113
  */
114
- countries?: Array<unknown>;
114
+ countries?: Array<Country>;
115
115
  /**
116
116
  * Private locations managed with blaxel operator
117
117
  */
118
- privateLocations?: Array<unknown>;
118
+ privateLocations?: Array<PrivateLocation>;
119
119
  /**
120
120
  * Regions
121
121
  */
122
- regions?: Array<unknown>;
122
+ regions?: Array<Region>;
123
123
  };
124
124
  /**
125
125
  * Continent
@@ -201,60 +201,6 @@ export type Country = {
201
201
  */
202
202
  name?: string;
203
203
  };
204
- /**
205
- * Request to create a job execution
206
- */
207
- export type CreateJobExecutionRequest = {
208
- /**
209
- * Execution ID (optional, will be generated if not provided)
210
- */
211
- executionId?: string;
212
- /**
213
- * Unique message ID
214
- */
215
- id?: string;
216
- /**
217
- * Job ID
218
- */
219
- jobId?: string;
220
- /**
221
- * Array of task parameters for parallel execution
222
- */
223
- tasks?: Array<{
224
- [key: string]: unknown;
225
- }>;
226
- /**
227
- * Workspace ID
228
- */
229
- workspaceId?: string;
230
- };
231
- /**
232
- * Response for creating a job execution
233
- */
234
- export type CreateJobExecutionResponse = {
235
- /**
236
- * Execution ID
237
- */
238
- executionId?: string;
239
- /**
240
- * Unique message ID
241
- */
242
- id?: string;
243
- /**
244
- * Job ID
245
- */
246
- jobId?: string;
247
- /**
248
- * Array of task parameters for parallel execution
249
- */
250
- tasks?: Array<{
251
- [key: string]: unknown;
252
- }>;
253
- /**
254
- * Workspace ID
255
- */
256
- workspaceId?: string;
257
- };
258
204
  /**
259
205
  * Custom domain for preview deployments
260
206
  * The custom domain represents a base domain (e.g., example.com) that will be used
@@ -690,19 +636,6 @@ export type Job = {
690
636
  */
691
637
  status?: string;
692
638
  };
693
- /**
694
- * Job execution
695
- */
696
- export type JobExecution = {
697
- metadata?: JobExecutionMetadata;
698
- spec?: JobExecutionSpec;
699
- stats?: JobExecutionStats;
700
- status?: JobExecutionStatus;
701
- /**
702
- * List of execution tasks
703
- */
704
- tasks?: Array<JobExecutionTask>;
705
- };
706
639
  /**
707
640
  * Configuration for a job execution
708
641
  */
@@ -720,184 +653,6 @@ export type JobExecutionConfig = {
720
653
  */
721
654
  timeout?: number;
722
655
  };
723
- /**
724
- * Job execution metadata
725
- */
726
- export type JobExecutionMetadata = {
727
- /**
728
- * Cluster ID
729
- */
730
- cluster?: string;
731
- /**
732
- * Completion timestamp
733
- */
734
- completedAt?: string;
735
- /**
736
- * Creation timestamp
737
- */
738
- createdAt?: string;
739
- /**
740
- * Deletion timestamp
741
- */
742
- deletedAt?: string;
743
- /**
744
- * Expiration timestamp
745
- */
746
- expiredAt?: string;
747
- /**
748
- * Execution ID
749
- */
750
- id?: string;
751
- /**
752
- * Job name
753
- */
754
- job?: string;
755
- /**
756
- * Start timestamp
757
- */
758
- startedAt?: string;
759
- /**
760
- * Last update timestamp
761
- */
762
- updatedAt?: string;
763
- /**
764
- * Workspace ID
765
- */
766
- workspace?: string;
767
- };
768
- /**
769
- * Job execution specification
770
- */
771
- export type JobExecutionSpec = {
772
- /**
773
- * Number of parallel tasks
774
- */
775
- parallelism?: number;
776
- /**
777
- * List of execution tasks
778
- */
779
- tasks?: Array<JobExecutionTask>;
780
- };
781
- /**
782
- * Job execution statistics
783
- */
784
- export type JobExecutionStats = {
785
- /**
786
- * Number of cancelled tasks
787
- */
788
- cancelled?: number;
789
- /**
790
- * Number of failed tasks
791
- */
792
- failure?: number;
793
- /**
794
- * Number of retried tasks
795
- */
796
- retried?: number;
797
- /**
798
- * Number of running tasks
799
- */
800
- running?: number;
801
- /**
802
- * Number of successful tasks
803
- */
804
- success?: number;
805
- /**
806
- * Total number of tasks
807
- */
808
- total?: number;
809
- };
810
- /**
811
- * Job execution status
812
- */
813
- export type JobExecutionStatus = string;
814
- /**
815
- * Job execution task
816
- */
817
- export type JobExecutionTask = {
818
- /**
819
- * Task conditions
820
- */
821
- conditions?: Array<JobExecutionTaskCondition>;
822
- metadata?: JobExecutionTaskMetadata;
823
- spec?: JobExecutionTaskSpec;
824
- status?: JobExecutionTaskStatus;
825
- };
826
- /**
827
- * Job execution task condition
828
- */
829
- export type JobExecutionTaskCondition = {
830
- /**
831
- * Execution reason
832
- */
833
- executionReason?: string;
834
- /**
835
- * Condition message
836
- */
837
- message?: string;
838
- /**
839
- * Condition reason
840
- */
841
- reason?: string;
842
- /**
843
- * Condition severity
844
- */
845
- severity?: string;
846
- /**
847
- * Condition state
848
- */
849
- state?: string;
850
- /**
851
- * Condition type
852
- */
853
- type?: string;
854
- };
855
- /**
856
- * Job execution task metadata
857
- */
858
- export type JobExecutionTaskMetadata = {
859
- /**
860
- * Completion timestamp
861
- */
862
- completedAt?: string;
863
- /**
864
- * Creation timestamp
865
- */
866
- createdAt?: string;
867
- /**
868
- * Task name
869
- */
870
- name?: string;
871
- /**
872
- * Scheduled timestamp
873
- */
874
- scheduledAt?: string;
875
- /**
876
- * Start timestamp
877
- */
878
- startedAt?: string;
879
- /**
880
- * Last update timestamp
881
- */
882
- updatedAt?: string;
883
- };
884
- /**
885
- * Job execution task specification
886
- */
887
- export type JobExecutionTaskSpec = {
888
- /**
889
- * Maximum number of retries
890
- */
891
- maxRetries?: number;
892
- /**
893
- * Task timeout duration
894
- */
895
- timeout?: string;
896
- };
897
- /**
898
- * Job execution task status
899
- */
900
- export type JobExecutionTaskStatus = string;
901
656
  /**
902
657
  * Metrics for job
903
658
  */
@@ -905,21 +660,19 @@ export type JobMetrics = {
905
660
  /**
906
661
  * Billable time
907
662
  */
908
- billableTime?: Array<unknown>;
663
+ billableTime?: Array<JobsChartValue>;
909
664
  /**
910
665
  * CPU usage
911
666
  */
912
- cpuUsage?: Array<unknown>;
667
+ cpuUsage?: Array<JobsChartValue>;
913
668
  /**
914
669
  * Executions chart
915
670
  */
916
- executionsChart?: {
917
- [key: string]: unknown;
918
- };
671
+ executionsChart?: Array<JobsSuccessFailedChart>;
919
672
  /**
920
673
  * Executions running
921
674
  */
922
- executionsRunning?: Array<unknown>;
675
+ executionsRunning?: Array<JobsChartValue>;
923
676
  /**
924
677
  * Total executions
925
678
  */
@@ -929,17 +682,15 @@ export type JobMetrics = {
929
682
  /**
930
683
  * RAM usage
931
684
  */
932
- ramUsage?: Array<unknown>;
685
+ ramUsage?: Array<JobsChartValue>;
933
686
  /**
934
687
  * Tasks chart
935
688
  */
936
- tasksChart?: {
937
- [key: string]: unknown;
938
- };
689
+ tasksChart?: Array<JobsSuccessFailedChart>;
939
690
  /**
940
691
  * Tasks running
941
692
  */
942
- tasksRunning?: Array<unknown>;
693
+ tasksRunning?: Array<JobsChartValue>;
943
694
  /**
944
695
  * Total tasks
945
696
  */
@@ -951,10 +702,6 @@ export type JobMetrics = {
951
702
  * Job specification
952
703
  */
953
704
  export type JobSpec = CoreSpec & {
954
- /**
955
- * Region where the job should be created (e.g. us-pdx-1, eu-lon-1)
956
- */
957
- region?: string;
958
705
  triggers?: Triggers;
959
706
  };
960
707
  /**
@@ -974,8 +721,14 @@ export type JobsChartValue = {
974
721
  * Jobs chart
975
722
  */
976
723
  export type JobsNetworkChart = {
977
- received?: JobsChartValue;
978
- sent?: JobsChartValue;
724
+ /**
725
+ * Received
726
+ */
727
+ received?: Array<JobsChartValue>;
728
+ /**
729
+ * Sent
730
+ */
731
+ sent?: Array<JobsChartValue>;
979
732
  };
980
733
  /**
981
734
  * Jobs chart
@@ -1044,7 +797,10 @@ export type LastNRequestsMetric = {
1044
797
  * Latency metrics
1045
798
  */
1046
799
  export type LatencyMetric = {
1047
- globalHistogram?: HistogramBucket;
800
+ /**
801
+ * Global histogram
802
+ */
803
+ globalHistogram?: Array<HistogramBucket>;
1048
804
  globalStats?: HistogramStats;
1049
805
  histogramPerCode?: HistogramBucket;
1050
806
  statsPerCode?: HistogramStats;
@@ -1271,11 +1027,11 @@ export type Metrics = {
1271
1027
  /**
1272
1028
  * Historical requests for all resources globally
1273
1029
  */
1274
- items?: Array<unknown>;
1030
+ items?: Array<RequestTotalResponseData>;
1275
1031
  /**
1276
1032
  * Metric value
1277
1033
  */
1278
- lastNRequests?: number;
1034
+ lastNRequests?: Array<LastNRequestsMetric>;
1279
1035
  /**
1280
1036
  * Metrics for models
1281
1037
  */
@@ -1470,6 +1226,7 @@ export type PendingInvitationWorkspaceDetails = {
1470
1226
  export type PodTemplateSpec = {
1471
1227
  [key: string]: unknown;
1472
1228
  };
1229
+ export type Policies = Array<Policy>;
1473
1230
  export type PoliciesList = Array<string>;
1474
1231
  /**
1475
1232
  * Rule that controls how a deployment is made and served (e.g. location restrictions)
@@ -1842,7 +1599,10 @@ export type RequestDurationOverTimeMetric = {
1842
1599
  * Request duration over time metrics
1843
1600
  */
1844
1601
  export type RequestDurationOverTimeMetrics = {
1845
- requestDurationOverTime?: RequestDurationOverTimeMetric;
1602
+ /**
1603
+ * Request duration over time
1604
+ */
1605
+ requestDurationOverTime?: Array<RequestDurationOverTimeMetric>;
1846
1606
  };
1847
1607
  /**
1848
1608
  * Request total by origin metric
@@ -1868,7 +1628,7 @@ export type RequestTotalMetric = {
1868
1628
  /**
1869
1629
  * Historical requests for all resources globally
1870
1630
  */
1871
- items?: Array<unknown>;
1631
+ items?: Array<RequestTotalResponseData>;
1872
1632
  /**
1873
1633
  * Number of requests for all resources globally
1874
1634
  */
@@ -2026,7 +1786,10 @@ export type ResourceMetrics = {
2026
1786
  billableTime?: BillableTimeMetric;
2027
1787
  inferenceErrorsGlobal?: ArrayMetric;
2028
1788
  inferenceGlobal?: ArrayMetric;
2029
- lastNRequests?: ArrayMetric;
1789
+ /**
1790
+ * Historical requests (in last 24 hours) for the model deployment globally
1791
+ */
1792
+ lastNRequests?: Array<LastNRequestsMetric>;
2030
1793
  latency?: LatencyMetric;
2031
1794
  latencyPrevious?: LatencyMetric;
2032
1795
  memoryAllocation?: MemoryAllocationMetric;
@@ -2078,11 +1841,11 @@ export type ResourceMetrics = {
2078
1841
  /**
2079
1842
  * CPU usage over time for sandboxes
2080
1843
  */
2081
- sandboxesCpuUsage?: Array<unknown>;
1844
+ sandboxesCpuUsage?: Array<JobsChartValue>;
2082
1845
  /**
2083
1846
  * RAM usage over time for sandboxes with memory, value, and percent metrics
2084
1847
  */
2085
- sandboxesRamUsage?: Array<unknown>;
1848
+ sandboxesRamUsage?: Array<SandboxMetrics>;
2086
1849
  tokenRate?: TokenRateMetrics;
2087
1850
  tokenTotal?: TokenTotalMetric;
2088
1851
  };
@@ -2631,7 +2394,10 @@ export type TimeFields = {
2631
2394
  * Time to first token over time metrics
2632
2395
  */
2633
2396
  export type TimeToFirstTokenOverTimeMetrics = {
2634
- timeToFirstTokenOverTime?: RequestDurationOverTimeMetric;
2397
+ /**
2398
+ * Time to first token over time
2399
+ */
2400
+ timeToFirstTokenOverTime?: Array<RequestDurationOverTimeMetric>;
2635
2401
  };
2636
2402
  /**
2637
2403
  * Token rate metric
@@ -2666,9 +2432,18 @@ export type TokenRateMetric = {
2666
2432
  * Token rate metrics
2667
2433
  */
2668
2434
  export type TokenRateMetrics = {
2669
- tokenRate?: TokenRateMetric;
2670
- tokenRateInput?: TokenRateMetric;
2671
- tokenRateOutput?: TokenRateMetric;
2435
+ /**
2436
+ * Token rate
2437
+ */
2438
+ tokenRate?: Array<TokenRateMetric>;
2439
+ /**
2440
+ * Token rate input
2441
+ */
2442
+ tokenRateInput?: Array<TokenRateMetric>;
2443
+ /**
2444
+ * Token rate output
2445
+ */
2446
+ tokenRateOutput?: Array<TokenRateMetric>;
2672
2447
  };
2673
2448
  /**
2674
2449
  * Token total metric
@@ -2801,6 +2576,10 @@ export type VolumeSpec = {
2801
2576
  * Size of the volume in MB
2802
2577
  */
2803
2578
  size?: number;
2579
+ /**
2580
+ * Volume template with revision (e.g. "mytemplate:1" or "mytemplate:latest")
2581
+ */
2582
+ template?: string;
2804
2583
  };
2805
2584
  /**
2806
2585
  * Volume state - mutable runtime state
@@ -2811,6 +2590,89 @@ export type VolumeState = {
2811
2590
  */
2812
2591
  attachedTo?: string;
2813
2592
  };
2593
+ /**
2594
+ * Volume template for creating pre-configured volumes
2595
+ */
2596
+ export type VolumeTemplate = {
2597
+ metadata?: Metadata;
2598
+ spec?: VolumeTemplateSpec;
2599
+ state?: VolumeTemplateState;
2600
+ /**
2601
+ * List of versions for this template
2602
+ */
2603
+ versions?: Array<VolumeTemplateVersion>;
2604
+ };
2605
+ /**
2606
+ * Volume template specification
2607
+ */
2608
+ export type VolumeTemplateSpec = {
2609
+ /**
2610
+ * Default size of the volume in MB
2611
+ */
2612
+ defaultSize?: number;
2613
+ /**
2614
+ * Description of the volume template
2615
+ */
2616
+ description?: string;
2617
+ };
2618
+ /**
2619
+ * Volume template state
2620
+ */
2621
+ export type VolumeTemplateState = {
2622
+ /**
2623
+ * Timestamp of last version upload
2624
+ */
2625
+ lastVersionUploadedAt?: string;
2626
+ /**
2627
+ * Current/latest S3 version ID
2628
+ */
2629
+ latestVersion?: string;
2630
+ /**
2631
+ * Status of the volume template (created, ready, error)
2632
+ */
2633
+ status?: string;
2634
+ /**
2635
+ * Total number of versions for this template
2636
+ */
2637
+ versionCount?: number;
2638
+ };
2639
+ /**
2640
+ * Volume template version tracking individual versions of template content
2641
+ */
2642
+ export type VolumeTemplateVersion = {
2643
+ /**
2644
+ * S3 bucket name where this version is stored
2645
+ */
2646
+ bucket?: string;
2647
+ /**
2648
+ * Size of the template content in bytes
2649
+ */
2650
+ contentSize?: number;
2651
+ /**
2652
+ * Name of the template version
2653
+ */
2654
+ name?: string;
2655
+ /**
2656
+ * AWS region where this version is stored
2657
+ */
2658
+ region?: string;
2659
+ /**
2660
+ * Status of the version (CREATED, READY, FAILED)
2661
+ */
2662
+ status?: string;
2663
+ /**
2664
+ * Template name this version belongs to
2665
+ */
2666
+ templateName?: string;
2667
+ /**
2668
+ * S3 version ID for this template version
2669
+ */
2670
+ versionId?: string;
2671
+ /**
2672
+ * Workspace name
2673
+ */
2674
+ workspace?: string;
2675
+ };
2814
2676
  /**
2815
2677
  * WebSocket connection details
2816
2678
  */
@@ -2876,6 +2738,14 @@ export type Workspace = TimeFields & OwnerFields & {
2876
2738
  */
2877
2739
  region?: string;
2878
2740
  runtime?: WorkspaceRuntime;
2741
+ /**
2742
+ * Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)
2743
+ */
2744
+ status?: string;
2745
+ /**
2746
+ * Reason for current status (only set for error status)
2747
+ */
2748
+ statusReason?: string;
2879
2749
  };
2880
2750
  /**
2881
2751
  * Workspace runtime
@@ -3459,143 +3329,6 @@ export type UpdateJobResponses = {
3459
3329
  200: Job;
3460
3330
  };
3461
3331
  export type UpdateJobResponse = UpdateJobResponses[keyof UpdateJobResponses];
3462
- export type ListJobExecutionsData = {
3463
- body?: never;
3464
- path: {
3465
- /**
3466
- * Name of the job
3467
- */
3468
- jobId: string;
3469
- };
3470
- query?: {
3471
- /**
3472
- * Number of items per page
3473
- */
3474
- limit?: number;
3475
- /**
3476
- * Page offset
3477
- */
3478
- offset?: number;
3479
- };
3480
- url: '/jobs/{jobId}/executions';
3481
- };
3482
- export type ListJobExecutionsErrors = {
3483
- /**
3484
- * bad request
3485
- */
3486
- 400: unknown;
3487
- /**
3488
- * internal server error
3489
- */
3490
- 500: unknown;
3491
- };
3492
- export type ListJobExecutionsResponses = {
3493
- /**
3494
- * successful operation
3495
- */
3496
- 200: Array<JobExecution>;
3497
- };
3498
- export type ListJobExecutionsResponse = ListJobExecutionsResponses[keyof ListJobExecutionsResponses];
3499
- export type CreateJobExecutionData = {
3500
- body: CreateJobExecutionRequest;
3501
- path: {
3502
- /**
3503
- * Name of the job
3504
- */
3505
- jobId: string;
3506
- };
3507
- query?: never;
3508
- url: '/jobs/{jobId}/executions';
3509
- };
3510
- export type CreateJobExecutionErrors = {
3511
- /**
3512
- * bad request
3513
- */
3514
- 400: unknown;
3515
- /**
3516
- * internal server error
3517
- */
3518
- 500: unknown;
3519
- };
3520
- export type CreateJobExecutionResponses = {
3521
- /**
3522
- * successful operation
3523
- */
3524
- 200: JobExecution;
3525
- };
3526
- export type CreateJobExecutionResponse2 = CreateJobExecutionResponses[keyof CreateJobExecutionResponses];
3527
- export type DeleteJobExecutionData = {
3528
- body?: never;
3529
- path: {
3530
- /**
3531
- * Name of the job
3532
- */
3533
- jobId: string;
3534
- /**
3535
- * Id of the execution
3536
- */
3537
- executionId: string;
3538
- };
3539
- query?: never;
3540
- url: '/jobs/{jobId}/executions/{executionId}';
3541
- };
3542
- export type DeleteJobExecutionErrors = {
3543
- /**
3544
- * bad request
3545
- */
3546
- 400: unknown;
3547
- /**
3548
- * execution not found
3549
- */
3550
- 404: unknown;
3551
- /**
3552
- * internal server error
3553
- */
3554
- 500: unknown;
3555
- };
3556
- export type DeleteJobExecutionResponses = {
3557
- /**
3558
- * successful operation
3559
- */
3560
- 200: JobExecution;
3561
- };
3562
- export type DeleteJobExecutionResponse = DeleteJobExecutionResponses[keyof DeleteJobExecutionResponses];
3563
- export type GetJobExecutionData = {
3564
- body?: never;
3565
- path: {
3566
- /**
3567
- * Name of the job
3568
- */
3569
- jobId: string;
3570
- /**
3571
- * Id of the execution
3572
- */
3573
- executionId: string;
3574
- };
3575
- query?: never;
3576
- url: '/jobs/{jobId}/executions/{executionId}';
3577
- };
3578
- export type GetJobExecutionErrors = {
3579
- /**
3580
- * bad request
3581
- */
3582
- 400: unknown;
3583
- /**
3584
- * execution not found
3585
- */
3586
- 404: unknown;
3587
- /**
3588
- * internal server error
3589
- */
3590
- 500: unknown;
3591
- };
3592
- export type GetJobExecutionResponses = {
3593
- /**
3594
- * successful operation
3595
- */
3596
- 200: JobExecution;
3597
- };
3598
- export type GetJobExecutionResponse = GetJobExecutionResponses[keyof GetJobExecutionResponses];
3599
3332
  export type ListJobRevisionsData = {
3600
3333
  body?: never;
3601
3334
  path: {
@@ -4722,6 +4455,104 @@ export type UpdateWorkspaceUserRoleResponses = {
4722
4455
  200: WorkspaceUser;
4723
4456
  };
4724
4457
  export type UpdateWorkspaceUserRoleResponse = UpdateWorkspaceUserRoleResponses[keyof UpdateWorkspaceUserRoleResponses];
4458
+ export type ListVolumeTemplatesData = {
4459
+ body?: never;
4460
+ path?: never;
4461
+ query?: never;
4462
+ url: '/volume_templates';
4463
+ };
4464
+ export type ListVolumeTemplatesResponses = {
4465
+ /**
4466
+ * successful operation
4467
+ */
4468
+ 200: Array<VolumeTemplate>;
4469
+ };
4470
+ export type ListVolumeTemplatesResponse = ListVolumeTemplatesResponses[keyof ListVolumeTemplatesResponses];
4471
+ export type CreateVolumeTemplateData = {
4472
+ body: VolumeTemplate;
4473
+ path?: never;
4474
+ query?: {
4475
+ /**
4476
+ * If true, returns a presigned URL for uploading the template content
4477
+ */
4478
+ upload?: boolean;
4479
+ /**
4480
+ * Version name for the template version being created
4481
+ */
4482
+ version?: string;
4483
+ };
4484
+ url: '/volume_templates';
4485
+ };
4486
+ export type CreateVolumeTemplateResponses = {
4487
+ /**
4488
+ * successful operation
4489
+ */
4490
+ 200: VolumeTemplate;
4491
+ };
4492
+ export type CreateVolumeTemplateResponse = CreateVolumeTemplateResponses[keyof CreateVolumeTemplateResponses];
4493
+ export type DeleteVolumeTemplateData = {
4494
+ body?: never;
4495
+ path: {
4496
+ /**
4497
+ * Name of the volume template
4498
+ */
4499
+ volumeTemplateName: string;
4500
+ };
4501
+ query?: never;
4502
+ url: '/volume_templates/{volumeTemplateName}';
4503
+ };
4504
+ export type DeleteVolumeTemplateResponses = {
4505
+ /**
4506
+ * successful operation
4507
+ */
4508
+ 200: VolumeTemplate;
4509
+ };
4510
+ export type DeleteVolumeTemplateResponse = DeleteVolumeTemplateResponses[keyof DeleteVolumeTemplateResponses];
4511
+ export type GetVolumeTemplateData = {
4512
+ body?: never;
4513
+ path: {
4514
+ /**
4515
+ * Name of the volume template
4516
+ */
4517
+ volumeTemplateName: string;
4518
+ };
4519
+ query?: never;
4520
+ url: '/volume_templates/{volumeTemplateName}';
4521
+ };
4522
+ export type GetVolumeTemplateResponses = {
4523
+ /**
4524
+ * successful operation
4525
+ */
4526
+ 200: VolumeTemplate;
4527
+ };
4528
+ export type GetVolumeTemplateResponse = GetVolumeTemplateResponses[keyof GetVolumeTemplateResponses];
4529
+ export type UpdateVolumeTemplateData = {
4530
+ body: VolumeTemplate;
4531
+ path: {
4532
+ /**
4533
+ * Name of the volume template
4534
+ */
4535
+ volumeTemplateName: string;
4536
+ };
4537
+ query?: {
4538
+ /**
4539
+ * If true, returns a presigned URL for uploading the template content
4540
+ */
4541
+ upload?: boolean;
4542
+ /**
4543
+ * Version name for the template version being created
4544
+ */
4545
+ version?: string;
4546
+ };
4547
+ url: '/volume_templates/{volumeTemplateName}';
4548
+ };
4549
+ export type UpdateVolumeTemplateResponses = {
4550
+ /**
4551
+ * successful operation
4552
+ */
4553
+ 200: VolumeTemplate;
4554
+ };
4555
+ export type UpdateVolumeTemplateResponse = UpdateVolumeTemplateResponses[keyof UpdateVolumeTemplateResponses];
4725
4556
  export type ListVolumesData = {
4726
4557
  body?: never;
4727
4558
  path?: never;
@@ -4797,19 +4628,19 @@ export type ListWorkspacesResponses = {
4797
4628
  200: Array<Workspace>;
4798
4629
  };
4799
4630
  export type ListWorkspacesResponse = ListWorkspacesResponses[keyof ListWorkspacesResponses];
4800
- export type CreateWorspaceData = {
4631
+ export type CreateWorkspaceData = {
4801
4632
  body: Workspace;
4802
4633
  path?: never;
4803
4634
  query?: never;
4804
4635
  url: '/workspaces';
4805
4636
  };
4806
- export type CreateWorspaceResponses = {
4637
+ export type CreateWorkspaceResponses = {
4807
4638
  /**
4808
4639
  * successful operation
4809
4640
  */
4810
4641
  200: Workspace;
4811
4642
  };
4812
- export type CreateWorspaceResponse = CreateWorspaceResponses[keyof CreateWorspaceResponses];
4643
+ export type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
4813
4644
  export type DeleteWorkspaceData = {
4814
4645
  body?: never;
4815
4646
  path: {