@blaxel/core 0.2.23 → 0.2.24-preview.54
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 +30 -1
- package/dist/client/sdk.gen.js +123 -2
- package/dist/client/types.gen.d.ts +205 -0
- package/package.json +1 -1
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
|
|
2
|
-
import type { ListAgentsData, CreateAgentData, DeleteAgentData, GetAgentData, UpdateAgentData, ListAgentRevisionsData, GetConfigurationData, ListFunctionsData, CreateFunctionData, DeleteFunctionData, GetFunctionData, UpdateFunctionData, ListFunctionRevisionsData, GetIntegrationData, ListIntegrationConnectionsData, CreateIntegrationConnectionData, DeleteIntegrationConnectionData, GetIntegrationConnectionData, UpdateIntegrationConnectionData, GetIntegrationConnectionModelEndpointConfigurationsData, ListIntegrationConnectionModelsData, GetIntegrationConnectionModelData, ListJobsData, CreateJobData, DeleteJobData, GetJobData, UpdateJobData, ListJobRevisionsData, ListKnowledgebasesData, CreateKnowledgebaseData, DeleteKnowledgebaseData, GetKnowledgebaseData, UpdateKnowledgebaseData, ListKnowledgebaseRevisionsData, ListLocationsData, ListMcpHubDefinitionsData, ListModelsData, CreateModelData, DeleteModelData, GetModelData, UpdateModelData, ListModelRevisionsData, ListPoliciesData, CreatePolicyData, DeletePolicyData, GetPolicyData, UpdatePolicyData, ListPrivateClustersData, CreatePrivateClusterData, DeletePrivateClusterData, GetPrivateClusterData, UpdatePrivateClusterData, GetPrivateClusterHealthData, UpdatePrivateClusterHealthData, ListAllPendingInvitationsData, ListSandboxHubDefinitionsData, ListSandboxesData, CreateSandboxData, DeleteSandboxData, GetSandboxData, UpdateSandboxData, ListSandboxPreviewsData, CreateSandboxPreviewData, DeleteSandboxPreviewData, GetSandboxPreviewData, UpdateSandboxPreviewData, ListSandboxPreviewTokensData, CreateSandboxPreviewTokenData, DeleteSandboxPreviewTokenData, StartSandboxData, StopSandboxData, GetWorkspaceServiceAccountsData, CreateWorkspaceServiceAccountData, DeleteWorkspaceServiceAccountData, UpdateWorkspaceServiceAccountData, ListApiKeysForServiceAccountData, CreateApiKeyForServiceAccountData, DeleteApiKeyForServiceAccountData, ListTemplatesData, GetTemplateData, ListWorkspaceUsersData, InviteWorkspaceUserData, RemoveWorkspaceUserData, UpdateWorkspaceUserRoleData, ListWorkspacesData, CreateWorspaceData, DeleteWorkspaceData, GetWorkspaceData, UpdateWorkspaceData, DeclineWorkspaceInvitationData, AcceptWorkspaceInvitationData, LeaveWorkspaceData, CheckWorkspaceAvailabilityData } from './types.gen.js';
|
|
2
|
+
import type { ListAgentsData, CreateAgentData, DeleteAgentData, GetAgentData, UpdateAgentData, ListAgentRevisionsData, GetConfigurationData, ListCustomDomainsData, CreateCustomDomainData, DeleteCustomDomainData, GetCustomDomainData, UpdateCustomDomainData, VerifyCustomDomainData, ListFunctionsData, CreateFunctionData, DeleteFunctionData, GetFunctionData, UpdateFunctionData, ListFunctionRevisionsData, GetIntegrationData, ListIntegrationConnectionsData, CreateIntegrationConnectionData, DeleteIntegrationConnectionData, GetIntegrationConnectionData, UpdateIntegrationConnectionData, GetIntegrationConnectionModelEndpointConfigurationsData, ListIntegrationConnectionModelsData, GetIntegrationConnectionModelData, ListJobsData, CreateJobData, DeleteJobData, GetJobData, UpdateJobData, ListJobRevisionsData, ListKnowledgebasesData, CreateKnowledgebaseData, DeleteKnowledgebaseData, GetKnowledgebaseData, UpdateKnowledgebaseData, ListKnowledgebaseRevisionsData, ListLocationsData, ListMcpHubDefinitionsData, ListModelsData, CreateModelData, DeleteModelData, GetModelData, UpdateModelData, ListModelRevisionsData, ListPoliciesData, CreatePolicyData, DeletePolicyData, GetPolicyData, UpdatePolicyData, ListPrivateClustersData, CreatePrivateClusterData, DeletePrivateClusterData, GetPrivateClusterData, UpdatePrivateClusterData, GetPrivateClusterHealthData, UpdatePrivateClusterHealthData, ListAllPendingInvitationsData, ListPublicIpsData, ListSandboxHubDefinitionsData, ListSandboxesData, CreateSandboxData, DeleteSandboxData, GetSandboxData, UpdateSandboxData, ListSandboxPreviewsData, CreateSandboxPreviewData, DeleteSandboxPreviewData, GetSandboxPreviewData, UpdateSandboxPreviewData, ListSandboxPreviewTokensData, CreateSandboxPreviewTokenData, DeleteSandboxPreviewTokenData, StartSandboxData, StopSandboxData, GetWorkspaceServiceAccountsData, CreateWorkspaceServiceAccountData, DeleteWorkspaceServiceAccountData, UpdateWorkspaceServiceAccountData, ListApiKeysForServiceAccountData, CreateApiKeyForServiceAccountData, DeleteApiKeyForServiceAccountData, ListTemplatesData, GetTemplateData, ListWorkspaceUsersData, InviteWorkspaceUserData, RemoveWorkspaceUserData, UpdateWorkspaceUserRoleData, ListWorkspacesData, CreateWorspaceData, DeleteWorkspaceData, GetWorkspaceData, UpdateWorkspaceData, DeclineWorkspaceInvitationData, AcceptWorkspaceInvitationData, LeaveWorkspaceData, CheckWorkspaceAvailabilityData } from './types.gen.js';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -41,6 +41,30 @@ export declare const listAgentRevisions: <ThrowOnError extends boolean = false>(
|
|
|
41
41
|
* List all configurations
|
|
42
42
|
*/
|
|
43
43
|
export declare const getConfiguration: <ThrowOnError extends boolean = false>(options?: Options<GetConfigurationData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").Configuration, unknown, ThrowOnError>;
|
|
44
|
+
/**
|
|
45
|
+
* List all custom domains
|
|
46
|
+
*/
|
|
47
|
+
export declare const listCustomDomains: <ThrowOnError extends boolean = false>(options?: Options<ListCustomDomainsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain[], unknown, ThrowOnError>;
|
|
48
|
+
/**
|
|
49
|
+
* Create custom domain
|
|
50
|
+
*/
|
|
51
|
+
export declare const createCustomDomain: <ThrowOnError extends boolean = false>(options: Options<CreateCustomDomainData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain, unknown, ThrowOnError>;
|
|
52
|
+
/**
|
|
53
|
+
* Delete custom domain
|
|
54
|
+
*/
|
|
55
|
+
export declare const deleteCustomDomain: <ThrowOnError extends boolean = false>(options: Options<DeleteCustomDomainData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain, unknown, ThrowOnError>;
|
|
56
|
+
/**
|
|
57
|
+
* Get custom domain
|
|
58
|
+
*/
|
|
59
|
+
export declare const getCustomDomain: <ThrowOnError extends boolean = false>(options: Options<GetCustomDomainData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain, unknown, ThrowOnError>;
|
|
60
|
+
/**
|
|
61
|
+
* Update custom domain
|
|
62
|
+
*/
|
|
63
|
+
export declare const updateCustomDomain: <ThrowOnError extends boolean = false>(options: Options<UpdateCustomDomainData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain, unknown, ThrowOnError>;
|
|
64
|
+
/**
|
|
65
|
+
* Verify custom domain
|
|
66
|
+
*/
|
|
67
|
+
export declare const verifyCustomDomain: <ThrowOnError extends boolean = false>(options: Options<VerifyCustomDomainData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").CustomDomain, unknown, ThrowOnError>;
|
|
44
68
|
/**
|
|
45
69
|
* List all functions
|
|
46
70
|
*/
|
|
@@ -265,6 +289,11 @@ export declare const updatePrivateClusterHealth: <ThrowOnError extends boolean =
|
|
|
265
289
|
* Returns a list of all pending invitations in the workspace.
|
|
266
290
|
*/
|
|
267
291
|
export declare const listAllPendingInvitations: <ThrowOnError extends boolean = false>(options?: Options<ListAllPendingInvitationsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").PendingInvitationRender[], unknown, ThrowOnError>;
|
|
292
|
+
/**
|
|
293
|
+
* List public ips
|
|
294
|
+
* Returns a list of all public ips used in Blaxel..
|
|
295
|
+
*/
|
|
296
|
+
export declare const listPublicIps: <ThrowOnError extends boolean = false>(options?: Options<ListPublicIpsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").PublicIps, unknown, ThrowOnError>;
|
|
268
297
|
export declare const listSandboxHubDefinitions: <ThrowOnError extends boolean = false>(options?: Options<ListSandboxHubDefinitionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").SandboxDefinition[], unknown, ThrowOnError>;
|
|
269
298
|
/**
|
|
270
299
|
* List Sandboxes
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorspace = exports.listWorkspaces = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplate = exports.listTemplates = exports.deleteApiKeyForServiceAccount = exports.createApiKeyForServiceAccount = exports.listApiKeysForServiceAccount = exports.updateWorkspaceServiceAccount = exports.deleteWorkspaceServiceAccount = exports.createWorkspaceServiceAccount = exports.getWorkspaceServiceAccounts = exports.stopSandbox = exports.startSandbox = exports.deleteSandboxPreviewToken = exports.createSandboxPreviewToken = exports.listSandboxPreviewTokens = exports.updateSandboxPreview = exports.getSandboxPreview = exports.deleteSandboxPreview = exports.createSandboxPreview = exports.listSandboxPreviews = exports.updateSandbox = exports.getSandbox = exports.deleteSandbox = exports.createSandbox = exports.listSandboxes = exports.listSandboxHubDefinitions = exports.listAllPendingInvitations = exports.updatePrivateClusterHealth = exports.getPrivateClusterHealth = exports.updatePrivateCluster = exports.getPrivateCluster = void 0;
|
|
4
|
+
exports.createPolicy = exports.listPolicies = exports.listModelRevisions = exports.updateModel = exports.getModel = exports.deleteModel = exports.createModel = exports.listModels = exports.listMcpHubDefinitions = exports.listLocations = exports.listKnowledgebaseRevisions = exports.updateKnowledgebase = exports.getKnowledgebase = exports.deleteKnowledgebase = exports.createKnowledgebase = exports.listKnowledgebases = exports.listJobRevisions = exports.updateJob = exports.getJob = exports.deleteJob = exports.createJob = exports.listJobs = exports.getIntegrationConnectionModel = exports.listIntegrationConnectionModels = exports.getIntegrationConnectionModelEndpointConfigurations = exports.updateIntegrationConnection = exports.getIntegrationConnection = exports.deleteIntegrationConnection = exports.createIntegrationConnection = exports.listIntegrationConnections = exports.getIntegration = exports.listFunctionRevisions = exports.updateFunction = exports.getFunction = exports.deleteFunction = exports.createFunction = exports.listFunctions = exports.verifyCustomDomain = exports.updateCustomDomain = exports.getCustomDomain = exports.deleteCustomDomain = exports.createCustomDomain = exports.listCustomDomains = exports.getConfiguration = exports.listAgentRevisions = exports.updateAgent = exports.getAgent = exports.deleteAgent = exports.createAgent = exports.listAgents = void 0;
|
|
5
|
+
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorspace = exports.listWorkspaces = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplate = exports.listTemplates = exports.deleteApiKeyForServiceAccount = exports.createApiKeyForServiceAccount = exports.listApiKeysForServiceAccount = exports.updateWorkspaceServiceAccount = exports.deleteWorkspaceServiceAccount = exports.createWorkspaceServiceAccount = exports.getWorkspaceServiceAccounts = exports.stopSandbox = exports.startSandbox = exports.deleteSandboxPreviewToken = exports.createSandboxPreviewToken = exports.listSandboxPreviewTokens = exports.updateSandboxPreview = exports.getSandboxPreview = exports.deleteSandboxPreview = exports.createSandboxPreview = exports.listSandboxPreviews = exports.updateSandbox = exports.getSandbox = exports.deleteSandbox = exports.createSandbox = exports.listSandboxes = exports.listSandboxHubDefinitions = exports.listPublicIps = exports.listAllPendingInvitations = exports.updatePrivateClusterHealth = exports.getPrivateClusterHealth = exports.updatePrivateCluster = exports.getPrivateCluster = exports.deletePrivateCluster = exports.createPrivateCluster = exports.listPrivateClusters = exports.updatePolicy = exports.getPolicy = exports.deletePolicy = void 0;
|
|
6
6
|
const client_gen_1 = require("./client.gen");
|
|
7
7
|
/**
|
|
8
8
|
* List all agents
|
|
@@ -124,6 +124,110 @@ const getConfiguration = (options) => {
|
|
|
124
124
|
});
|
|
125
125
|
};
|
|
126
126
|
exports.getConfiguration = getConfiguration;
|
|
127
|
+
/**
|
|
128
|
+
* List all custom domains
|
|
129
|
+
*/
|
|
130
|
+
const listCustomDomains = (options) => {
|
|
131
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
132
|
+
security: [
|
|
133
|
+
{
|
|
134
|
+
scheme: 'bearer',
|
|
135
|
+
type: 'http'
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
url: '/customdomains',
|
|
139
|
+
...options
|
|
140
|
+
});
|
|
141
|
+
};
|
|
142
|
+
exports.listCustomDomains = listCustomDomains;
|
|
143
|
+
/**
|
|
144
|
+
* Create custom domain
|
|
145
|
+
*/
|
|
146
|
+
const createCustomDomain = (options) => {
|
|
147
|
+
return (options.client ?? client_gen_1.client).post({
|
|
148
|
+
security: [
|
|
149
|
+
{
|
|
150
|
+
scheme: 'bearer',
|
|
151
|
+
type: 'http'
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
url: '/customdomains',
|
|
155
|
+
...options,
|
|
156
|
+
headers: {
|
|
157
|
+
'Content-Type': 'application/json',
|
|
158
|
+
...options?.headers
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
};
|
|
162
|
+
exports.createCustomDomain = createCustomDomain;
|
|
163
|
+
/**
|
|
164
|
+
* Delete custom domain
|
|
165
|
+
*/
|
|
166
|
+
const deleteCustomDomain = (options) => {
|
|
167
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
168
|
+
security: [
|
|
169
|
+
{
|
|
170
|
+
scheme: 'bearer',
|
|
171
|
+
type: 'http'
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
url: '/customdomains/{domainName}',
|
|
175
|
+
...options
|
|
176
|
+
});
|
|
177
|
+
};
|
|
178
|
+
exports.deleteCustomDomain = deleteCustomDomain;
|
|
179
|
+
/**
|
|
180
|
+
* Get custom domain
|
|
181
|
+
*/
|
|
182
|
+
const getCustomDomain = (options) => {
|
|
183
|
+
return (options.client ?? client_gen_1.client).get({
|
|
184
|
+
security: [
|
|
185
|
+
{
|
|
186
|
+
scheme: 'bearer',
|
|
187
|
+
type: 'http'
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
url: '/customdomains/{domainName}',
|
|
191
|
+
...options
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
exports.getCustomDomain = getCustomDomain;
|
|
195
|
+
/**
|
|
196
|
+
* Update custom domain
|
|
197
|
+
*/
|
|
198
|
+
const updateCustomDomain = (options) => {
|
|
199
|
+
return (options.client ?? client_gen_1.client).put({
|
|
200
|
+
security: [
|
|
201
|
+
{
|
|
202
|
+
scheme: 'bearer',
|
|
203
|
+
type: 'http'
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
url: '/customdomains/{domainName}',
|
|
207
|
+
...options,
|
|
208
|
+
headers: {
|
|
209
|
+
'Content-Type': 'application/json',
|
|
210
|
+
...options?.headers
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
};
|
|
214
|
+
exports.updateCustomDomain = updateCustomDomain;
|
|
215
|
+
/**
|
|
216
|
+
* Verify custom domain
|
|
217
|
+
*/
|
|
218
|
+
const verifyCustomDomain = (options) => {
|
|
219
|
+
return (options.client ?? client_gen_1.client).post({
|
|
220
|
+
security: [
|
|
221
|
+
{
|
|
222
|
+
scheme: 'bearer',
|
|
223
|
+
type: 'http'
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
url: '/customdomains/{domainName}/verify',
|
|
227
|
+
...options
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
exports.verifyCustomDomain = verifyCustomDomain;
|
|
127
231
|
/**
|
|
128
232
|
* List all functions
|
|
129
233
|
*/
|
|
@@ -972,6 +1076,23 @@ const listAllPendingInvitations = (options) => {
|
|
|
972
1076
|
});
|
|
973
1077
|
};
|
|
974
1078
|
exports.listAllPendingInvitations = listAllPendingInvitations;
|
|
1079
|
+
/**
|
|
1080
|
+
* List public ips
|
|
1081
|
+
* Returns a list of all public ips used in Blaxel..
|
|
1082
|
+
*/
|
|
1083
|
+
const listPublicIps = (options) => {
|
|
1084
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
1085
|
+
security: [
|
|
1086
|
+
{
|
|
1087
|
+
scheme: 'bearer',
|
|
1088
|
+
type: 'http'
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
url: '/publicIps',
|
|
1092
|
+
...options
|
|
1093
|
+
});
|
|
1094
|
+
};
|
|
1095
|
+
exports.listPublicIps = listPublicIps;
|
|
975
1096
|
const listSandboxHubDefinitions = (options) => {
|
|
976
1097
|
return (options?.client ?? client_gen_1.client).get({
|
|
977
1098
|
security: [
|
|
@@ -214,6 +214,61 @@ export type Country = {
|
|
|
214
214
|
*/
|
|
215
215
|
name?: string;
|
|
216
216
|
};
|
|
217
|
+
/**
|
|
218
|
+
* Custom domain for preview deployments
|
|
219
|
+
* The custom domain represents a base domain (e.g., example.com) that will be used
|
|
220
|
+
* to serve preview deployments. Each preview will be accessible at a subdomain:
|
|
221
|
+
* <preview-id>.preview.<base-domain> (e.g., abc123.preview.example.com)
|
|
222
|
+
*/
|
|
223
|
+
export type CustomDomain = {
|
|
224
|
+
metadata?: CustomDomainMetadata;
|
|
225
|
+
spec?: CustomDomainSpec;
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Custom domain metadata
|
|
229
|
+
*/
|
|
230
|
+
export type CustomDomainMetadata = TimeFields & OwnerFields & {
|
|
231
|
+
/**
|
|
232
|
+
* Display name for the custom domain
|
|
233
|
+
*/
|
|
234
|
+
displayName?: string;
|
|
235
|
+
labels?: MetadataLabels;
|
|
236
|
+
/**
|
|
237
|
+
* Domain name (e.g., "example.com")
|
|
238
|
+
*/
|
|
239
|
+
name?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Workspace name
|
|
242
|
+
*/
|
|
243
|
+
workspace?: string;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Custom domain specification
|
|
247
|
+
*/
|
|
248
|
+
export type CustomDomainSpec = {
|
|
249
|
+
/**
|
|
250
|
+
* CNAME target for the domain
|
|
251
|
+
*/
|
|
252
|
+
cnameTarget?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Last verification attempt timestamp
|
|
255
|
+
*/
|
|
256
|
+
lastVerifiedAt?: string;
|
|
257
|
+
/**
|
|
258
|
+
* Current status of the domain (pending, verified, failed)
|
|
259
|
+
*/
|
|
260
|
+
status?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Map of TXT record names to values for domain verification
|
|
263
|
+
*/
|
|
264
|
+
txtRecords?: {
|
|
265
|
+
[key: string]: string;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Error message if verification failed
|
|
269
|
+
*/
|
|
270
|
+
verificationError?: string;
|
|
271
|
+
};
|
|
217
272
|
/**
|
|
218
273
|
* Entrypoint of the artifact
|
|
219
274
|
*/
|
|
@@ -1469,6 +1524,10 @@ export type PreviewMetadata = TimeFields & OwnerFields & {
|
|
|
1469
1524
|
* Preview of a Resource
|
|
1470
1525
|
*/
|
|
1471
1526
|
export type PreviewSpec = {
|
|
1527
|
+
/**
|
|
1528
|
+
* Custom domain bound to this preview
|
|
1529
|
+
*/
|
|
1530
|
+
customDomain?: string;
|
|
1472
1531
|
/**
|
|
1473
1532
|
* Port of the preview
|
|
1474
1533
|
*/
|
|
@@ -1601,6 +1660,23 @@ export type PrivateLocation = {
|
|
|
1601
1660
|
*/
|
|
1602
1661
|
name?: string;
|
|
1603
1662
|
};
|
|
1663
|
+
export type PublicIp = {
|
|
1664
|
+
/**
|
|
1665
|
+
* Description of the region/location
|
|
1666
|
+
*/
|
|
1667
|
+
description?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* List of public ipv4 addresses
|
|
1670
|
+
*/
|
|
1671
|
+
ipv4Cidrs?: Array<string>;
|
|
1672
|
+
/**
|
|
1673
|
+
* List of public ipv6 addresses
|
|
1674
|
+
*/
|
|
1675
|
+
ipv6Cidrs?: Array<string>;
|
|
1676
|
+
};
|
|
1677
|
+
export type PublicIps = {
|
|
1678
|
+
[key: string]: PublicIp;
|
|
1679
|
+
};
|
|
1604
1680
|
/**
|
|
1605
1681
|
* Repository
|
|
1606
1682
|
*/
|
|
@@ -1984,6 +2060,10 @@ export type Runtime = {
|
|
|
1984
2060
|
* The env variables to set in the deployment. Should be a list of Kubernetes EnvVar types
|
|
1985
2061
|
*/
|
|
1986
2062
|
envs?: Array<unknown>;
|
|
2063
|
+
/**
|
|
2064
|
+
* The expiration date for the deployment in ISO 8601 format - 2024-12-31T23:59:59Z
|
|
2065
|
+
*/
|
|
2066
|
+
expires?: string;
|
|
1987
2067
|
/**
|
|
1988
2068
|
* The generation of the deployment
|
|
1989
2069
|
*/
|
|
@@ -2035,6 +2115,10 @@ export type Runtime = {
|
|
|
2035
2115
|
* The timeout for the deployment in seconds
|
|
2036
2116
|
*/
|
|
2037
2117
|
timeout?: number;
|
|
2118
|
+
/**
|
|
2119
|
+
* The TTL for the deployment in seconds - 30m, 24h, 7d
|
|
2120
|
+
*/
|
|
2121
|
+
ttl?: string;
|
|
2038
2122
|
/**
|
|
2039
2123
|
* The type of origin for the deployment (hf_private_endpoint, hf_public_endpoint)
|
|
2040
2124
|
*/
|
|
@@ -2471,6 +2555,16 @@ export type TriggerConfiguration = {
|
|
|
2471
2555
|
* The schedule of the trigger, cron expression * * * * *
|
|
2472
2556
|
*/
|
|
2473
2557
|
schedule?: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* The tasks configuration of the cronjob
|
|
2560
|
+
*/
|
|
2561
|
+
tasks?: Array<TriggerConfigurationTask>;
|
|
2562
|
+
};
|
|
2563
|
+
/**
|
|
2564
|
+
* The tasks configuration of the cronjob
|
|
2565
|
+
*/
|
|
2566
|
+
export type TriggerConfigurationTask = {
|
|
2567
|
+
[key: string]: unknown;
|
|
2474
2568
|
};
|
|
2475
2569
|
/**
|
|
2476
2570
|
* Triggers to use your agent
|
|
@@ -2691,6 +2785,104 @@ export type GetConfigurationResponses = {
|
|
|
2691
2785
|
200: Configuration;
|
|
2692
2786
|
};
|
|
2693
2787
|
export type GetConfigurationResponse = GetConfigurationResponses[keyof GetConfigurationResponses];
|
|
2788
|
+
export type ListCustomDomainsData = {
|
|
2789
|
+
body?: never;
|
|
2790
|
+
path?: never;
|
|
2791
|
+
query?: never;
|
|
2792
|
+
url: '/customdomains';
|
|
2793
|
+
};
|
|
2794
|
+
export type ListCustomDomainsResponses = {
|
|
2795
|
+
/**
|
|
2796
|
+
* successful operation
|
|
2797
|
+
*/
|
|
2798
|
+
200: Array<CustomDomain>;
|
|
2799
|
+
};
|
|
2800
|
+
export type ListCustomDomainsResponse = ListCustomDomainsResponses[keyof ListCustomDomainsResponses];
|
|
2801
|
+
export type CreateCustomDomainData = {
|
|
2802
|
+
body: CustomDomain;
|
|
2803
|
+
path?: never;
|
|
2804
|
+
query?: never;
|
|
2805
|
+
url: '/customdomains';
|
|
2806
|
+
};
|
|
2807
|
+
export type CreateCustomDomainResponses = {
|
|
2808
|
+
/**
|
|
2809
|
+
* successful operation
|
|
2810
|
+
*/
|
|
2811
|
+
200: CustomDomain;
|
|
2812
|
+
};
|
|
2813
|
+
export type CreateCustomDomainResponse = CreateCustomDomainResponses[keyof CreateCustomDomainResponses];
|
|
2814
|
+
export type DeleteCustomDomainData = {
|
|
2815
|
+
body?: never;
|
|
2816
|
+
path: {
|
|
2817
|
+
/**
|
|
2818
|
+
* Name of the custom domain
|
|
2819
|
+
*/
|
|
2820
|
+
domainName: string;
|
|
2821
|
+
};
|
|
2822
|
+
query?: never;
|
|
2823
|
+
url: '/customdomains/{domainName}';
|
|
2824
|
+
};
|
|
2825
|
+
export type DeleteCustomDomainResponses = {
|
|
2826
|
+
/**
|
|
2827
|
+
* successful operation
|
|
2828
|
+
*/
|
|
2829
|
+
200: CustomDomain;
|
|
2830
|
+
};
|
|
2831
|
+
export type DeleteCustomDomainResponse = DeleteCustomDomainResponses[keyof DeleteCustomDomainResponses];
|
|
2832
|
+
export type GetCustomDomainData = {
|
|
2833
|
+
body?: never;
|
|
2834
|
+
path: {
|
|
2835
|
+
/**
|
|
2836
|
+
* Name of the custom domain
|
|
2837
|
+
*/
|
|
2838
|
+
domainName: string;
|
|
2839
|
+
};
|
|
2840
|
+
query?: never;
|
|
2841
|
+
url: '/customdomains/{domainName}';
|
|
2842
|
+
};
|
|
2843
|
+
export type GetCustomDomainResponses = {
|
|
2844
|
+
/**
|
|
2845
|
+
* successful operation
|
|
2846
|
+
*/
|
|
2847
|
+
200: CustomDomain;
|
|
2848
|
+
};
|
|
2849
|
+
export type GetCustomDomainResponse = GetCustomDomainResponses[keyof GetCustomDomainResponses];
|
|
2850
|
+
export type UpdateCustomDomainData = {
|
|
2851
|
+
body: CustomDomain;
|
|
2852
|
+
path: {
|
|
2853
|
+
/**
|
|
2854
|
+
* Name of the custom domain
|
|
2855
|
+
*/
|
|
2856
|
+
domainName: string;
|
|
2857
|
+
};
|
|
2858
|
+
query?: never;
|
|
2859
|
+
url: '/customdomains/{domainName}';
|
|
2860
|
+
};
|
|
2861
|
+
export type UpdateCustomDomainResponses = {
|
|
2862
|
+
/**
|
|
2863
|
+
* successful operation
|
|
2864
|
+
*/
|
|
2865
|
+
200: CustomDomain;
|
|
2866
|
+
};
|
|
2867
|
+
export type UpdateCustomDomainResponse = UpdateCustomDomainResponses[keyof UpdateCustomDomainResponses];
|
|
2868
|
+
export type VerifyCustomDomainData = {
|
|
2869
|
+
body?: never;
|
|
2870
|
+
path: {
|
|
2871
|
+
/**
|
|
2872
|
+
* Name of the custom domain
|
|
2873
|
+
*/
|
|
2874
|
+
domainName: string;
|
|
2875
|
+
};
|
|
2876
|
+
query?: never;
|
|
2877
|
+
url: '/customdomains/{domainName}/verify';
|
|
2878
|
+
};
|
|
2879
|
+
export type VerifyCustomDomainResponses = {
|
|
2880
|
+
/**
|
|
2881
|
+
* successful operation
|
|
2882
|
+
*/
|
|
2883
|
+
200: CustomDomain;
|
|
2884
|
+
};
|
|
2885
|
+
export type VerifyCustomDomainResponse = VerifyCustomDomainResponses[keyof VerifyCustomDomainResponses];
|
|
2694
2886
|
export type ListFunctionsData = {
|
|
2695
2887
|
body?: never;
|
|
2696
2888
|
path?: never;
|
|
@@ -3553,6 +3745,19 @@ export type ListAllPendingInvitationsResponses = {
|
|
|
3553
3745
|
200: Array<PendingInvitationRender>;
|
|
3554
3746
|
};
|
|
3555
3747
|
export type ListAllPendingInvitationsResponse = ListAllPendingInvitationsResponses[keyof ListAllPendingInvitationsResponses];
|
|
3748
|
+
export type ListPublicIpsData = {
|
|
3749
|
+
body?: never;
|
|
3750
|
+
path?: never;
|
|
3751
|
+
query?: never;
|
|
3752
|
+
url: '/publicIps';
|
|
3753
|
+
};
|
|
3754
|
+
export type ListPublicIpsResponses = {
|
|
3755
|
+
/**
|
|
3756
|
+
* successful operation
|
|
3757
|
+
*/
|
|
3758
|
+
200: PublicIps;
|
|
3759
|
+
};
|
|
3760
|
+
export type ListPublicIpsResponse = ListPublicIpsResponses[keyof ListPublicIpsResponses];
|
|
3556
3761
|
export type ListSandboxHubDefinitionsData = {
|
|
3557
3762
|
body?: never;
|
|
3558
3763
|
path?: never;
|