@blaxel/core 0.2.33 → 0.2.34
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/sdk.gen.d.ts +55 -31
- package/dist/client/sdk.gen.js +216 -112
- package/dist/client/types.gen.d.ts +367 -213
- package/dist/common/settings.d.ts +2 -0
- package/dist/common/settings.js +74 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/mcp/client.d.ts +8 -1
- package/dist/mcp/client.js +35 -13
- package/dist/sandbox/action.js +4 -2
- package/dist/sandbox/client/types.gen.js +0 -1
- package/dist/sandbox/process/process.js +5 -5
- package/dist/sandbox/sandbox.d.ts +6 -3
- package/dist/sandbox/sandbox.js +50 -50
- package/dist/sandbox/session.js +4 -1
- package/dist/sandbox/types.d.ts +14 -1
- package/dist/sandbox/types.js +29 -0
- package/dist/tools/mcpTool.js +19 -4
- package/dist/volume/index.d.ts +23 -0
- package/dist/volume/index.js +113 -0
- package/package.json +6 -2
|
@@ -51,24 +51,7 @@ export type AgentSpec = CoreSpec & {
|
|
|
51
51
|
* Description, small description computed from the prompt
|
|
52
52
|
*/
|
|
53
53
|
description?: string;
|
|
54
|
-
functions?: FunctionsList;
|
|
55
|
-
/**
|
|
56
|
-
* Knowledgebase Name
|
|
57
|
-
*/
|
|
58
|
-
knowledgebase?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Model name
|
|
61
|
-
*/
|
|
62
|
-
model?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Prompt, describe what your agent does
|
|
65
|
-
*/
|
|
66
|
-
prompt?: string;
|
|
67
54
|
repository?: Repository;
|
|
68
|
-
/**
|
|
69
|
-
* Store id
|
|
70
|
-
*/
|
|
71
|
-
storeId?: string;
|
|
72
55
|
triggers?: Triggers;
|
|
73
56
|
};
|
|
74
57
|
/**
|
|
@@ -214,6 +197,61 @@ export type Country = {
|
|
|
214
197
|
*/
|
|
215
198
|
name?: string;
|
|
216
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* Custom domain for preview deployments
|
|
202
|
+
* The custom domain represents a base domain (e.g., example.com) that will be used
|
|
203
|
+
* to serve preview deployments. Each preview will be accessible at a subdomain:
|
|
204
|
+
* <preview-id>.preview.<base-domain> (e.g., abc123.preview.example.com)
|
|
205
|
+
*/
|
|
206
|
+
export type CustomDomain = {
|
|
207
|
+
metadata?: CustomDomainMetadata;
|
|
208
|
+
spec?: CustomDomainSpec;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Custom domain metadata
|
|
212
|
+
*/
|
|
213
|
+
export type CustomDomainMetadata = TimeFields & OwnerFields & {
|
|
214
|
+
/**
|
|
215
|
+
* Display name for the custom domain
|
|
216
|
+
*/
|
|
217
|
+
displayName?: string;
|
|
218
|
+
labels?: MetadataLabels;
|
|
219
|
+
/**
|
|
220
|
+
* Domain name (e.g., "example.com")
|
|
221
|
+
*/
|
|
222
|
+
name?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Workspace name
|
|
225
|
+
*/
|
|
226
|
+
workspace?: string;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* Custom domain specification
|
|
230
|
+
*/
|
|
231
|
+
export type CustomDomainSpec = {
|
|
232
|
+
/**
|
|
233
|
+
* CNAME target for the domain
|
|
234
|
+
*/
|
|
235
|
+
cnameRecords?: string;
|
|
236
|
+
/**
|
|
237
|
+
* Last verification attempt timestamp
|
|
238
|
+
*/
|
|
239
|
+
lastVerifiedAt?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Current status of the domain (pending, verified, failed)
|
|
242
|
+
*/
|
|
243
|
+
status?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Map of TXT record names to values for domain verification
|
|
246
|
+
*/
|
|
247
|
+
txtRecords?: {
|
|
248
|
+
[key: string]: string;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Error message if verification failed
|
|
252
|
+
*/
|
|
253
|
+
verificationError?: string;
|
|
254
|
+
};
|
|
217
255
|
/**
|
|
218
256
|
* Entrypoint of the artifact
|
|
219
257
|
*/
|
|
@@ -393,7 +431,6 @@ export type FunctionSpec = CoreSpec & {
|
|
|
393
431
|
kit?: Array<FunctionKit>;
|
|
394
432
|
schema?: FunctionSchema;
|
|
395
433
|
};
|
|
396
|
-
export type FunctionsList = Array<string>;
|
|
397
434
|
/**
|
|
398
435
|
* Histogram bucket
|
|
399
436
|
*/
|
|
@@ -736,13 +773,6 @@ export type JobMetrics = {
|
|
|
736
773
|
export type JobSpec = CoreSpec & {
|
|
737
774
|
triggers?: Triggers;
|
|
738
775
|
};
|
|
739
|
-
/**
|
|
740
|
-
* Jobs chart
|
|
741
|
-
*/
|
|
742
|
-
export type JobsChart = {
|
|
743
|
-
failed?: JobsChartValue;
|
|
744
|
-
success?: JobsChartValue;
|
|
745
|
-
};
|
|
746
776
|
/**
|
|
747
777
|
* Jobs CPU usage
|
|
748
778
|
*/
|
|
@@ -756,27 +786,6 @@ export type JobsChartValue = {
|
|
|
756
786
|
*/
|
|
757
787
|
value?: number;
|
|
758
788
|
};
|
|
759
|
-
/**
|
|
760
|
-
* Jobs executions
|
|
761
|
-
*/
|
|
762
|
-
export type JobsExecutions = {
|
|
763
|
-
/**
|
|
764
|
-
* Failed executions
|
|
765
|
-
*/
|
|
766
|
-
failed?: number;
|
|
767
|
-
/**
|
|
768
|
-
* Running executions
|
|
769
|
-
*/
|
|
770
|
-
running?: number;
|
|
771
|
-
/**
|
|
772
|
-
* Success executions
|
|
773
|
-
*/
|
|
774
|
-
success?: number;
|
|
775
|
-
/**
|
|
776
|
-
* Total executions
|
|
777
|
-
*/
|
|
778
|
-
total?: number;
|
|
779
|
-
};
|
|
780
789
|
/**
|
|
781
790
|
* Jobs chart
|
|
782
791
|
*/
|
|
@@ -797,27 +806,6 @@ export type JobsSuccessFailedChart = {
|
|
|
797
806
|
timestamp?: string;
|
|
798
807
|
total?: JobsChartValue;
|
|
799
808
|
};
|
|
800
|
-
/**
|
|
801
|
-
* Jobs tasks
|
|
802
|
-
*/
|
|
803
|
-
export type JobsTasks = {
|
|
804
|
-
/**
|
|
805
|
-
* Failed executions
|
|
806
|
-
*/
|
|
807
|
-
failed?: number;
|
|
808
|
-
/**
|
|
809
|
-
* Running executions
|
|
810
|
-
*/
|
|
811
|
-
running?: number;
|
|
812
|
-
/**
|
|
813
|
-
* Success executions
|
|
814
|
-
*/
|
|
815
|
-
success?: number;
|
|
816
|
-
/**
|
|
817
|
-
* Total executions
|
|
818
|
-
*/
|
|
819
|
-
total?: number;
|
|
820
|
-
};
|
|
821
809
|
/**
|
|
822
810
|
* Jobs executions
|
|
823
811
|
*/
|
|
@@ -843,53 +831,6 @@ export type JobsTotal = {
|
|
|
843
831
|
*/
|
|
844
832
|
total?: number;
|
|
845
833
|
};
|
|
846
|
-
/**
|
|
847
|
-
* Knowledgebase
|
|
848
|
-
*/
|
|
849
|
-
export type Knowledgebase = {
|
|
850
|
-
events?: CoreEvents;
|
|
851
|
-
metadata?: Metadata;
|
|
852
|
-
spec?: KnowledgebaseSpec;
|
|
853
|
-
/**
|
|
854
|
-
* Knowledgebase status
|
|
855
|
-
*/
|
|
856
|
-
status?: string;
|
|
857
|
-
};
|
|
858
|
-
/**
|
|
859
|
-
* Knowledgebase specification
|
|
860
|
-
*/
|
|
861
|
-
export type KnowledgebaseSpec = {
|
|
862
|
-
/**
|
|
863
|
-
* Collection name
|
|
864
|
-
*/
|
|
865
|
-
collectionName?: string;
|
|
866
|
-
/**
|
|
867
|
-
* Embedding model
|
|
868
|
-
*/
|
|
869
|
-
embeddingModel?: string;
|
|
870
|
-
/**
|
|
871
|
-
* Embedding model type
|
|
872
|
-
*/
|
|
873
|
-
embeddingModelType?: string;
|
|
874
|
-
/**
|
|
875
|
-
* Enable or disable the agent
|
|
876
|
-
*/
|
|
877
|
-
enabled?: boolean;
|
|
878
|
-
integrationConnections?: IntegrationConnectionsList;
|
|
879
|
-
/**
|
|
880
|
-
* Options specific to the knowledge base
|
|
881
|
-
*/
|
|
882
|
-
options?: {
|
|
883
|
-
[key: string]: string;
|
|
884
|
-
};
|
|
885
|
-
policies?: PoliciesList;
|
|
886
|
-
revision?: RevisionConfiguration;
|
|
887
|
-
/**
|
|
888
|
-
* Sandbox mode
|
|
889
|
-
*/
|
|
890
|
-
sandbox?: boolean;
|
|
891
|
-
};
|
|
892
|
-
export type KnowledgebasesList = Array<string>;
|
|
893
834
|
/**
|
|
894
835
|
* Last N requests
|
|
895
836
|
*/
|
|
@@ -1469,6 +1410,14 @@ export type PreviewMetadata = TimeFields & OwnerFields & {
|
|
|
1469
1410
|
* Preview of a Resource
|
|
1470
1411
|
*/
|
|
1471
1412
|
export type PreviewSpec = {
|
|
1413
|
+
/**
|
|
1414
|
+
* Custom domain bound to this preview
|
|
1415
|
+
*/
|
|
1416
|
+
customDomain?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* The expiration date for the preview in ISO 8601 format - 2024-12-31T23:59:59Z
|
|
1419
|
+
*/
|
|
1420
|
+
expires?: string;
|
|
1472
1421
|
/**
|
|
1473
1422
|
* Port of the preview
|
|
1474
1423
|
*/
|
|
@@ -1493,6 +1442,10 @@ export type PreviewSpec = {
|
|
|
1493
1442
|
responseHeaders?: {
|
|
1494
1443
|
[key: string]: string;
|
|
1495
1444
|
};
|
|
1445
|
+
/**
|
|
1446
|
+
* Time to live for the preview (e.g., "1h", "24h", "7d"). After this duration, the preview will be automatically deleted.
|
|
1447
|
+
*/
|
|
1448
|
+
ttl?: string;
|
|
1496
1449
|
/**
|
|
1497
1450
|
* URL of the preview
|
|
1498
1451
|
*/
|
|
@@ -1601,6 +1554,23 @@ export type PrivateLocation = {
|
|
|
1601
1554
|
*/
|
|
1602
1555
|
name?: string;
|
|
1603
1556
|
};
|
|
1557
|
+
export type PublicIp = {
|
|
1558
|
+
/**
|
|
1559
|
+
* Description of the region/location
|
|
1560
|
+
*/
|
|
1561
|
+
description?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* List of public ipv4 addresses
|
|
1564
|
+
*/
|
|
1565
|
+
ipv4Cidrs?: Array<string>;
|
|
1566
|
+
/**
|
|
1567
|
+
* List of public ipv6 addresses
|
|
1568
|
+
*/
|
|
1569
|
+
ipv6Cidrs?: Array<string>;
|
|
1570
|
+
};
|
|
1571
|
+
export type PublicIps = {
|
|
1572
|
+
[key: string]: PublicIp;
|
|
1573
|
+
};
|
|
1604
1574
|
/**
|
|
1605
1575
|
* Repository
|
|
1606
1576
|
*/
|
|
@@ -1984,6 +1954,10 @@ export type Runtime = {
|
|
|
1984
1954
|
* The env variables to set in the deployment. Should be a list of Kubernetes EnvVar types
|
|
1985
1955
|
*/
|
|
1986
1956
|
envs?: Array<unknown>;
|
|
1957
|
+
/**
|
|
1958
|
+
* The expiration date for the deployment in ISO 8601 format - 2024-12-31T23:59:59Z
|
|
1959
|
+
*/
|
|
1960
|
+
expires?: string;
|
|
1987
1961
|
/**
|
|
1988
1962
|
* The generation of the deployment
|
|
1989
1963
|
*/
|
|
@@ -2035,6 +2009,10 @@ export type Runtime = {
|
|
|
2035
2009
|
* The timeout for the deployment in seconds
|
|
2036
2010
|
*/
|
|
2037
2011
|
timeout?: number;
|
|
2012
|
+
/**
|
|
2013
|
+
* The TTL for the deployment in seconds - 30m, 24h, 7d
|
|
2014
|
+
*/
|
|
2015
|
+
ttl?: string;
|
|
2038
2016
|
/**
|
|
2039
2017
|
* The type of origin for the deployment (hf_private_endpoint, hf_public_endpoint)
|
|
2040
2018
|
*/
|
|
@@ -2051,6 +2029,10 @@ export type Sandbox = {
|
|
|
2051
2029
|
* Sandbox status
|
|
2052
2030
|
*/
|
|
2053
2031
|
status?: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* TTL timestamp for automatic deletion (optional, nil means no auto-deletion)
|
|
2034
|
+
*/
|
|
2035
|
+
ttl?: number;
|
|
2054
2036
|
};
|
|
2055
2037
|
/**
|
|
2056
2038
|
* Sandbox definition for admin store operations
|
|
@@ -2105,7 +2087,9 @@ export type SandboxDefinition = {
|
|
|
2105
2087
|
/**
|
|
2106
2088
|
* Sandbox specification
|
|
2107
2089
|
*/
|
|
2108
|
-
export type SandboxSpec = CoreSpec &
|
|
2090
|
+
export type SandboxSpec = CoreSpec & {
|
|
2091
|
+
volumes?: VolumeAttachments;
|
|
2092
|
+
};
|
|
2109
2093
|
/**
|
|
2110
2094
|
* Name of a Sandbox definition
|
|
2111
2095
|
*/
|
|
@@ -2471,11 +2455,78 @@ export type TriggerConfiguration = {
|
|
|
2471
2455
|
* The schedule of the trigger, cron expression * * * * *
|
|
2472
2456
|
*/
|
|
2473
2457
|
schedule?: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* The tasks configuration of the cronjob
|
|
2460
|
+
*/
|
|
2461
|
+
tasks?: Array<TriggerConfigurationTask>;
|
|
2462
|
+
};
|
|
2463
|
+
/**
|
|
2464
|
+
* The tasks configuration of the cronjob
|
|
2465
|
+
*/
|
|
2466
|
+
export type TriggerConfigurationTask = {
|
|
2467
|
+
[key: string]: unknown;
|
|
2474
2468
|
};
|
|
2475
2469
|
/**
|
|
2476
2470
|
* Triggers to use your agent
|
|
2477
2471
|
*/
|
|
2478
2472
|
export type Triggers = Array<Trigger>;
|
|
2473
|
+
/**
|
|
2474
|
+
* Volume resource for persistent storage
|
|
2475
|
+
*/
|
|
2476
|
+
export type Volume = {
|
|
2477
|
+
events?: CoreEvents;
|
|
2478
|
+
metadata?: Metadata;
|
|
2479
|
+
spec?: VolumeSpec;
|
|
2480
|
+
state?: VolumeState;
|
|
2481
|
+
/**
|
|
2482
|
+
* Volume status computed from events
|
|
2483
|
+
*/
|
|
2484
|
+
status?: string;
|
|
2485
|
+
/**
|
|
2486
|
+
* Timestamp when the volume was marked for termination
|
|
2487
|
+
*/
|
|
2488
|
+
terminatedAt?: string;
|
|
2489
|
+
};
|
|
2490
|
+
/**
|
|
2491
|
+
* Volume attachment configuration for sandbox
|
|
2492
|
+
*/
|
|
2493
|
+
export type VolumeAttachment = {
|
|
2494
|
+
/**
|
|
2495
|
+
* Mount path in the container
|
|
2496
|
+
*/
|
|
2497
|
+
mountPath?: string;
|
|
2498
|
+
/**
|
|
2499
|
+
* Name of the volume to attach
|
|
2500
|
+
*/
|
|
2501
|
+
name?: string;
|
|
2502
|
+
/**
|
|
2503
|
+
* Whether the volume is mounted as read-only
|
|
2504
|
+
*/
|
|
2505
|
+
readOnly?: boolean;
|
|
2506
|
+
};
|
|
2507
|
+
export type VolumeAttachments = Array<VolumeAttachment>;
|
|
2508
|
+
/**
|
|
2509
|
+
* Volume specification - immutable configuration
|
|
2510
|
+
*/
|
|
2511
|
+
export type VolumeSpec = {
|
|
2512
|
+
/**
|
|
2513
|
+
* AWS region where the volume should be created (e.g. us-west-2, eu-west-1)
|
|
2514
|
+
*/
|
|
2515
|
+
region?: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* Size of the volume in MB
|
|
2518
|
+
*/
|
|
2519
|
+
size?: number;
|
|
2520
|
+
};
|
|
2521
|
+
/**
|
|
2522
|
+
* Volume state - mutable runtime state
|
|
2523
|
+
*/
|
|
2524
|
+
export type VolumeState = {
|
|
2525
|
+
/**
|
|
2526
|
+
* Resource this volume is attached to (e.g. "sandbox:my-sandbox", "model:my-model")
|
|
2527
|
+
*/
|
|
2528
|
+
attachedTo?: string;
|
|
2529
|
+
};
|
|
2479
2530
|
/**
|
|
2480
2531
|
* WebSocket connection details
|
|
2481
2532
|
*/
|
|
@@ -2522,6 +2573,10 @@ export type Workspace = TimeFields & OwnerFields & {
|
|
|
2522
2573
|
* Workspace display name
|
|
2523
2574
|
*/
|
|
2524
2575
|
displayName?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* Autogenerated unique workspace id
|
|
2578
|
+
*/
|
|
2579
|
+
id?: string;
|
|
2525
2580
|
/**
|
|
2526
2581
|
* Workspace labels
|
|
2527
2582
|
*/
|
|
@@ -2691,6 +2746,104 @@ export type GetConfigurationResponses = {
|
|
|
2691
2746
|
200: Configuration;
|
|
2692
2747
|
};
|
|
2693
2748
|
export type GetConfigurationResponse = GetConfigurationResponses[keyof GetConfigurationResponses];
|
|
2749
|
+
export type ListCustomDomainsData = {
|
|
2750
|
+
body?: never;
|
|
2751
|
+
path?: never;
|
|
2752
|
+
query?: never;
|
|
2753
|
+
url: '/customdomains';
|
|
2754
|
+
};
|
|
2755
|
+
export type ListCustomDomainsResponses = {
|
|
2756
|
+
/**
|
|
2757
|
+
* successful operation
|
|
2758
|
+
*/
|
|
2759
|
+
200: Array<CustomDomain>;
|
|
2760
|
+
};
|
|
2761
|
+
export type ListCustomDomainsResponse = ListCustomDomainsResponses[keyof ListCustomDomainsResponses];
|
|
2762
|
+
export type CreateCustomDomainData = {
|
|
2763
|
+
body: CustomDomain;
|
|
2764
|
+
path?: never;
|
|
2765
|
+
query?: never;
|
|
2766
|
+
url: '/customdomains';
|
|
2767
|
+
};
|
|
2768
|
+
export type CreateCustomDomainResponses = {
|
|
2769
|
+
/**
|
|
2770
|
+
* successful operation
|
|
2771
|
+
*/
|
|
2772
|
+
200: CustomDomain;
|
|
2773
|
+
};
|
|
2774
|
+
export type CreateCustomDomainResponse = CreateCustomDomainResponses[keyof CreateCustomDomainResponses];
|
|
2775
|
+
export type DeleteCustomDomainData = {
|
|
2776
|
+
body?: never;
|
|
2777
|
+
path: {
|
|
2778
|
+
/**
|
|
2779
|
+
* Name of the custom domain
|
|
2780
|
+
*/
|
|
2781
|
+
domainName: string;
|
|
2782
|
+
};
|
|
2783
|
+
query?: never;
|
|
2784
|
+
url: '/customdomains/{domainName}';
|
|
2785
|
+
};
|
|
2786
|
+
export type DeleteCustomDomainResponses = {
|
|
2787
|
+
/**
|
|
2788
|
+
* successful operation
|
|
2789
|
+
*/
|
|
2790
|
+
200: CustomDomain;
|
|
2791
|
+
};
|
|
2792
|
+
export type DeleteCustomDomainResponse = DeleteCustomDomainResponses[keyof DeleteCustomDomainResponses];
|
|
2793
|
+
export type GetCustomDomainData = {
|
|
2794
|
+
body?: never;
|
|
2795
|
+
path: {
|
|
2796
|
+
/**
|
|
2797
|
+
* Name of the custom domain
|
|
2798
|
+
*/
|
|
2799
|
+
domainName: string;
|
|
2800
|
+
};
|
|
2801
|
+
query?: never;
|
|
2802
|
+
url: '/customdomains/{domainName}';
|
|
2803
|
+
};
|
|
2804
|
+
export type GetCustomDomainResponses = {
|
|
2805
|
+
/**
|
|
2806
|
+
* successful operation
|
|
2807
|
+
*/
|
|
2808
|
+
200: CustomDomain;
|
|
2809
|
+
};
|
|
2810
|
+
export type GetCustomDomainResponse = GetCustomDomainResponses[keyof GetCustomDomainResponses];
|
|
2811
|
+
export type UpdateCustomDomainData = {
|
|
2812
|
+
body: CustomDomain;
|
|
2813
|
+
path: {
|
|
2814
|
+
/**
|
|
2815
|
+
* Name of the custom domain
|
|
2816
|
+
*/
|
|
2817
|
+
domainName: string;
|
|
2818
|
+
};
|
|
2819
|
+
query?: never;
|
|
2820
|
+
url: '/customdomains/{domainName}';
|
|
2821
|
+
};
|
|
2822
|
+
export type UpdateCustomDomainResponses = {
|
|
2823
|
+
/**
|
|
2824
|
+
* successful operation
|
|
2825
|
+
*/
|
|
2826
|
+
200: CustomDomain;
|
|
2827
|
+
};
|
|
2828
|
+
export type UpdateCustomDomainResponse = UpdateCustomDomainResponses[keyof UpdateCustomDomainResponses];
|
|
2829
|
+
export type VerifyCustomDomainData = {
|
|
2830
|
+
body?: never;
|
|
2831
|
+
path: {
|
|
2832
|
+
/**
|
|
2833
|
+
* Name of the custom domain
|
|
2834
|
+
*/
|
|
2835
|
+
domainName: string;
|
|
2836
|
+
};
|
|
2837
|
+
query?: never;
|
|
2838
|
+
url: '/customdomains/{domainName}/verify';
|
|
2839
|
+
};
|
|
2840
|
+
export type VerifyCustomDomainResponses = {
|
|
2841
|
+
/**
|
|
2842
|
+
* successful operation
|
|
2843
|
+
*/
|
|
2844
|
+
200: CustomDomain;
|
|
2845
|
+
};
|
|
2846
|
+
export type VerifyCustomDomainResponse = VerifyCustomDomainResponses[keyof VerifyCustomDomainResponses];
|
|
2694
2847
|
export type ListFunctionsData = {
|
|
2695
2848
|
body?: never;
|
|
2696
2849
|
path?: never;
|
|
@@ -3040,104 +3193,6 @@ export type ListJobRevisionsResponses = {
|
|
|
3040
3193
|
200: Array<RevisionMetadata>;
|
|
3041
3194
|
};
|
|
3042
3195
|
export type ListJobRevisionsResponse = ListJobRevisionsResponses[keyof ListJobRevisionsResponses];
|
|
3043
|
-
export type ListKnowledgebasesData = {
|
|
3044
|
-
body?: never;
|
|
3045
|
-
path?: never;
|
|
3046
|
-
query?: never;
|
|
3047
|
-
url: '/knowledgebases';
|
|
3048
|
-
};
|
|
3049
|
-
export type ListKnowledgebasesResponses = {
|
|
3050
|
-
/**
|
|
3051
|
-
* successful operation
|
|
3052
|
-
*/
|
|
3053
|
-
200: Array<Knowledgebase>;
|
|
3054
|
-
};
|
|
3055
|
-
export type ListKnowledgebasesResponse = ListKnowledgebasesResponses[keyof ListKnowledgebasesResponses];
|
|
3056
|
-
export type CreateKnowledgebaseData = {
|
|
3057
|
-
body: Knowledgebase;
|
|
3058
|
-
path?: never;
|
|
3059
|
-
query?: never;
|
|
3060
|
-
url: '/knowledgebases';
|
|
3061
|
-
};
|
|
3062
|
-
export type CreateKnowledgebaseResponses = {
|
|
3063
|
-
/**
|
|
3064
|
-
* successful operation
|
|
3065
|
-
*/
|
|
3066
|
-
200: Knowledgebase;
|
|
3067
|
-
};
|
|
3068
|
-
export type CreateKnowledgebaseResponse = CreateKnowledgebaseResponses[keyof CreateKnowledgebaseResponses];
|
|
3069
|
-
export type DeleteKnowledgebaseData = {
|
|
3070
|
-
body?: never;
|
|
3071
|
-
path: {
|
|
3072
|
-
/**
|
|
3073
|
-
* Name of the knowledgebase
|
|
3074
|
-
*/
|
|
3075
|
-
knowledgebaseName: string;
|
|
3076
|
-
};
|
|
3077
|
-
query?: never;
|
|
3078
|
-
url: '/knowledgebases/{knowledgebaseName}';
|
|
3079
|
-
};
|
|
3080
|
-
export type DeleteKnowledgebaseResponses = {
|
|
3081
|
-
/**
|
|
3082
|
-
* successful operation
|
|
3083
|
-
*/
|
|
3084
|
-
200: Knowledgebase;
|
|
3085
|
-
};
|
|
3086
|
-
export type DeleteKnowledgebaseResponse = DeleteKnowledgebaseResponses[keyof DeleteKnowledgebaseResponses];
|
|
3087
|
-
export type GetKnowledgebaseData = {
|
|
3088
|
-
body?: never;
|
|
3089
|
-
path: {
|
|
3090
|
-
/**
|
|
3091
|
-
* Name of the knowledgebase
|
|
3092
|
-
*/
|
|
3093
|
-
knowledgebaseName: string;
|
|
3094
|
-
};
|
|
3095
|
-
query?: never;
|
|
3096
|
-
url: '/knowledgebases/{knowledgebaseName}';
|
|
3097
|
-
};
|
|
3098
|
-
export type GetKnowledgebaseResponses = {
|
|
3099
|
-
/**
|
|
3100
|
-
* successful operation
|
|
3101
|
-
*/
|
|
3102
|
-
200: Knowledgebase;
|
|
3103
|
-
};
|
|
3104
|
-
export type GetKnowledgebaseResponse = GetKnowledgebaseResponses[keyof GetKnowledgebaseResponses];
|
|
3105
|
-
export type UpdateKnowledgebaseData = {
|
|
3106
|
-
body: Knowledgebase;
|
|
3107
|
-
path: {
|
|
3108
|
-
/**
|
|
3109
|
-
* Name of the knowledgebase
|
|
3110
|
-
*/
|
|
3111
|
-
knowledgebaseName: string;
|
|
3112
|
-
};
|
|
3113
|
-
query?: never;
|
|
3114
|
-
url: '/knowledgebases/{knowledgebaseName}';
|
|
3115
|
-
};
|
|
3116
|
-
export type UpdateKnowledgebaseResponses = {
|
|
3117
|
-
/**
|
|
3118
|
-
* successful operation
|
|
3119
|
-
*/
|
|
3120
|
-
200: Knowledgebase;
|
|
3121
|
-
};
|
|
3122
|
-
export type UpdateKnowledgebaseResponse = UpdateKnowledgebaseResponses[keyof UpdateKnowledgebaseResponses];
|
|
3123
|
-
export type ListKnowledgebaseRevisionsData = {
|
|
3124
|
-
body?: never;
|
|
3125
|
-
path: {
|
|
3126
|
-
/**
|
|
3127
|
-
* Name of the knowledgebase
|
|
3128
|
-
*/
|
|
3129
|
-
knowledgebaseName: string;
|
|
3130
|
-
};
|
|
3131
|
-
query?: never;
|
|
3132
|
-
url: '/knowledgebases/{knowledgebaseName}/revisions';
|
|
3133
|
-
};
|
|
3134
|
-
export type ListKnowledgebaseRevisionsResponses = {
|
|
3135
|
-
/**
|
|
3136
|
-
* successful operation
|
|
3137
|
-
*/
|
|
3138
|
-
200: Array<RevisionMetadata>;
|
|
3139
|
-
};
|
|
3140
|
-
export type ListKnowledgebaseRevisionsResponse = ListKnowledgebaseRevisionsResponses[keyof ListKnowledgebaseRevisionsResponses];
|
|
3141
3196
|
export type ListLocationsData = {
|
|
3142
3197
|
body?: never;
|
|
3143
3198
|
path?: never;
|
|
@@ -3553,6 +3608,19 @@ export type ListAllPendingInvitationsResponses = {
|
|
|
3553
3608
|
200: Array<PendingInvitationRender>;
|
|
3554
3609
|
};
|
|
3555
3610
|
export type ListAllPendingInvitationsResponse = ListAllPendingInvitationsResponses[keyof ListAllPendingInvitationsResponses];
|
|
3611
|
+
export type ListPublicIpsData = {
|
|
3612
|
+
body?: never;
|
|
3613
|
+
path?: never;
|
|
3614
|
+
query?: never;
|
|
3615
|
+
url: '/publicIps';
|
|
3616
|
+
};
|
|
3617
|
+
export type ListPublicIpsResponses = {
|
|
3618
|
+
/**
|
|
3619
|
+
* successful operation
|
|
3620
|
+
*/
|
|
3621
|
+
200: PublicIps;
|
|
3622
|
+
};
|
|
3623
|
+
export type ListPublicIpsResponse = ListPublicIpsResponses[keyof ListPublicIpsResponses];
|
|
3556
3624
|
export type ListSandboxHubDefinitionsData = {
|
|
3557
3625
|
body?: never;
|
|
3558
3626
|
path?: never;
|
|
@@ -4233,6 +4301,92 @@ export type UpdateWorkspaceUserRoleResponses = {
|
|
|
4233
4301
|
200: WorkspaceUser;
|
|
4234
4302
|
};
|
|
4235
4303
|
export type UpdateWorkspaceUserRoleResponse = UpdateWorkspaceUserRoleResponses[keyof UpdateWorkspaceUserRoleResponses];
|
|
4304
|
+
export type ListVolumesData = {
|
|
4305
|
+
body?: never;
|
|
4306
|
+
path?: never;
|
|
4307
|
+
query?: never;
|
|
4308
|
+
url: '/volumes';
|
|
4309
|
+
};
|
|
4310
|
+
export type ListVolumesResponses = {
|
|
4311
|
+
/**
|
|
4312
|
+
* successful operation
|
|
4313
|
+
*/
|
|
4314
|
+
200: Array<Volume>;
|
|
4315
|
+
};
|
|
4316
|
+
export type ListVolumesResponse = ListVolumesResponses[keyof ListVolumesResponses];
|
|
4317
|
+
export type CreateVolumeData = {
|
|
4318
|
+
body: Volume;
|
|
4319
|
+
path?: never;
|
|
4320
|
+
query?: never;
|
|
4321
|
+
url: '/volumes';
|
|
4322
|
+
};
|
|
4323
|
+
export type CreateVolumeResponses = {
|
|
4324
|
+
/**
|
|
4325
|
+
* successful operation
|
|
4326
|
+
*/
|
|
4327
|
+
200: Volume;
|
|
4328
|
+
};
|
|
4329
|
+
export type CreateVolumeResponse = CreateVolumeResponses[keyof CreateVolumeResponses];
|
|
4330
|
+
export type DeleteVolumeData = {
|
|
4331
|
+
body?: never;
|
|
4332
|
+
path: {
|
|
4333
|
+
/**
|
|
4334
|
+
* Name of the volume
|
|
4335
|
+
*/
|
|
4336
|
+
volumeName: string;
|
|
4337
|
+
};
|
|
4338
|
+
query?: never;
|
|
4339
|
+
url: '/volumes/{volumeName}';
|
|
4340
|
+
};
|
|
4341
|
+
export type DeleteVolumeResponses = {
|
|
4342
|
+
/**
|
|
4343
|
+
* successful operation
|
|
4344
|
+
*/
|
|
4345
|
+
200: Volume;
|
|
4346
|
+
};
|
|
4347
|
+
export type DeleteVolumeResponse = DeleteVolumeResponses[keyof DeleteVolumeResponses];
|
|
4348
|
+
export type GetVolumeData = {
|
|
4349
|
+
body?: never;
|
|
4350
|
+
path: {
|
|
4351
|
+
/**
|
|
4352
|
+
* Name of the volume
|
|
4353
|
+
*/
|
|
4354
|
+
volumeName: string;
|
|
4355
|
+
};
|
|
4356
|
+
query?: never;
|
|
4357
|
+
url: '/volumes/{volumeName}';
|
|
4358
|
+
};
|
|
4359
|
+
export type GetVolumeResponses = {
|
|
4360
|
+
/**
|
|
4361
|
+
* successful operation
|
|
4362
|
+
*/
|
|
4363
|
+
200: Volume;
|
|
4364
|
+
};
|
|
4365
|
+
export type GetVolumeResponse = GetVolumeResponses[keyof GetVolumeResponses];
|
|
4366
|
+
export type UpdateVolumeData = {
|
|
4367
|
+
body: Volume;
|
|
4368
|
+
path: {
|
|
4369
|
+
/**
|
|
4370
|
+
* Name of the volume
|
|
4371
|
+
*/
|
|
4372
|
+
volumeName: string;
|
|
4373
|
+
};
|
|
4374
|
+
query?: never;
|
|
4375
|
+
url: '/volumes/{volumeName}';
|
|
4376
|
+
};
|
|
4377
|
+
export type UpdateVolumeErrors = {
|
|
4378
|
+
/**
|
|
4379
|
+
* Method not allowed - volume updates are not supported
|
|
4380
|
+
*/
|
|
4381
|
+
405: unknown;
|
|
4382
|
+
};
|
|
4383
|
+
export type UpdateVolumeResponses = {
|
|
4384
|
+
/**
|
|
4385
|
+
* successful operation
|
|
4386
|
+
*/
|
|
4387
|
+
200: Volume;
|
|
4388
|
+
};
|
|
4389
|
+
export type UpdateVolumeResponse = UpdateVolumeResponses[keyof UpdateVolumeResponses];
|
|
4236
4390
|
export type ListWorkspacesData = {
|
|
4237
4391
|
body?: never;
|
|
4238
4392
|
path?: never;
|
|
@@ -7,6 +7,7 @@ export type Config = {
|
|
|
7
7
|
declare class Settings {
|
|
8
8
|
credentials: Credentials;
|
|
9
9
|
config: Config;
|
|
10
|
+
private _version;
|
|
10
11
|
constructor();
|
|
11
12
|
setConfig(config: Config): void;
|
|
12
13
|
get env(): string;
|
|
@@ -15,6 +16,7 @@ declare class Settings {
|
|
|
15
16
|
get workspace(): string;
|
|
16
17
|
get authorization(): string;
|
|
17
18
|
get token(): string;
|
|
19
|
+
get version(): string;
|
|
18
20
|
get headers(): Record<string, string>;
|
|
19
21
|
get name(): string;
|
|
20
22
|
get type(): string;
|