freestyle-sandboxes 0.0.95 → 0.0.96
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/ai/inde.d.cts +7 -3
- package/dist/ai/inde.d.mts +7 -3
- package/dist/ai/index.d.cts +7 -3
- package/dist/ai/index.d.mts +7 -3
- package/dist/inde.d.cts +6 -6
- package/dist/inde.d.mts +6 -6
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +4 -4
- package/dist/langgraph/inde.d.cts +1 -1
- package/dist/langgraph/inde.d.mts +1 -1
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/inde.d.cts +1 -1
- package/dist/mastra/inde.d.mts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/types.gen-CJa21P0C.d.ts +1902 -0
- package/dist/utils/inde.d.cts +1 -1
- package/dist/utils/inde.d.mts +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/sdk.gen.ts +3 -3
- package/openapi/types.gen.ts +9 -7
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +7 -8
package/dist/ai/inde.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cp as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DKjMRuu5.js';
|
|
2
1
|
import { T as Tool, a as ToolExecutionOptions } from '../index.d-9H_wnIbz.js';
|
|
2
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cn as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration } from '../types.gen-CJa21P0C.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
import 'http';
|
|
@@ -62,10 +62,14 @@ declare const deployWebTool: (config: FreestyleDeployWebConfiguration & {
|
|
|
62
62
|
files?: Record<string, string>;
|
|
63
63
|
}, {
|
|
64
64
|
files?: Record<string, string>;
|
|
65
|
-
}>, string |
|
|
65
|
+
}>, string | {
|
|
66
|
+
deploymentId: string;
|
|
67
|
+
}> & {
|
|
66
68
|
execute: (args: {
|
|
67
69
|
files?: Record<string, string>;
|
|
68
|
-
}, options: ToolExecutionOptions) => PromiseLike<string |
|
|
70
|
+
}, options: ToolExecutionOptions) => PromiseLike<string | {
|
|
71
|
+
deploymentId: string;
|
|
72
|
+
}>;
|
|
69
73
|
};
|
|
70
74
|
|
|
71
75
|
export { deployWebTool, executeCodeDescription, executeCodeSchema, executeTool };
|
package/dist/ai/inde.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cp as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DKjMRuu5.js';
|
|
2
1
|
import { T as Tool, a as ToolExecutionOptions } from '../index.d-9H_wnIbz.js';
|
|
2
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cn as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration } from '../types.gen-CJa21P0C.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
import 'http';
|
|
@@ -62,10 +62,14 @@ declare const deployWebTool: (config: FreestyleDeployWebConfiguration & {
|
|
|
62
62
|
files?: Record<string, string>;
|
|
63
63
|
}, {
|
|
64
64
|
files?: Record<string, string>;
|
|
65
|
-
}>, string |
|
|
65
|
+
}>, string | {
|
|
66
|
+
deploymentId: string;
|
|
67
|
+
}> & {
|
|
66
68
|
execute: (args: {
|
|
67
69
|
files?: Record<string, string>;
|
|
68
|
-
}, options: ToolExecutionOptions) => PromiseLike<string |
|
|
70
|
+
}, options: ToolExecutionOptions) => PromiseLike<string | {
|
|
71
|
+
deploymentId: string;
|
|
72
|
+
}>;
|
|
69
73
|
};
|
|
70
74
|
|
|
71
75
|
export { deployWebTool, executeCodeDescription, executeCodeSchema, executeTool };
|
package/dist/ai/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cp as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DKjMRuu5.js';
|
|
2
1
|
import { T as Tool, a as ToolExecutionOptions } from '../index.d-9H_wnIbz.js';
|
|
2
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cn as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration } from '../types.gen-CJa21P0C.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
import 'http';
|
|
@@ -62,10 +62,14 @@ declare const deployWebTool: (config: FreestyleDeployWebConfiguration & {
|
|
|
62
62
|
files?: Record<string, string>;
|
|
63
63
|
}, {
|
|
64
64
|
files?: Record<string, string>;
|
|
65
|
-
}>, string |
|
|
65
|
+
}>, string | {
|
|
66
|
+
deploymentId: string;
|
|
67
|
+
}> & {
|
|
66
68
|
execute: (args: {
|
|
67
69
|
files?: Record<string, string>;
|
|
68
|
-
}, options: ToolExecutionOptions) => PromiseLike<string |
|
|
70
|
+
}, options: ToolExecutionOptions) => PromiseLike<string | {
|
|
71
|
+
deploymentId: string;
|
|
72
|
+
}>;
|
|
69
73
|
};
|
|
70
74
|
|
|
71
75
|
export { deployWebTool, executeCodeDescription, executeCodeSchema, executeTool };
|
package/dist/ai/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cp as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2 } from '../types.gen-DKjMRuu5.js';
|
|
2
1
|
import { T as Tool, a as ToolExecutionOptions } from '../index.d-9H_wnIbz.js';
|
|
2
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, cn as HandleExecuteScriptError, b as FreestyleDeployWebConfiguration } from '../types.gen-CJa21P0C.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import 'node:http';
|
|
5
5
|
import 'http';
|
|
@@ -62,10 +62,14 @@ declare const deployWebTool: (config: FreestyleDeployWebConfiguration & {
|
|
|
62
62
|
files?: Record<string, string>;
|
|
63
63
|
}, {
|
|
64
64
|
files?: Record<string, string>;
|
|
65
|
-
}>, string |
|
|
65
|
+
}>, string | {
|
|
66
|
+
deploymentId: string;
|
|
67
|
+
}> & {
|
|
66
68
|
execute: (args: {
|
|
67
69
|
files?: Record<string, string>;
|
|
68
|
-
}, options: ToolExecutionOptions) => PromiseLike<string |
|
|
70
|
+
}, options: ToolExecutionOptions) => PromiseLike<string | {
|
|
71
|
+
deploymentId: string;
|
|
72
|
+
}>;
|
|
69
73
|
};
|
|
70
74
|
|
|
71
75
|
export { deployWebTool, executeCodeDescription, executeCodeSchema, executeTool };
|
package/dist/inde.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as
|
|
2
|
-
export {
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as HandleListDomainMappingsResponse, s as DevServerConfiguration, C as CreateRepoSource, t as CreateRepoImport, u as CreateRepositoryResponseSuccess, v as HandleListRepositoriesResponse, w as HandleDeleteRepoResponse, G as GitIdentity, x as HandleDeleteIdentityResponse, A as AccessLevel, y as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, z as DescribePermissionResponseSuccess, B as CreatedToken, E as ListGitTokensResponseSuccess, I as HandleListGitTriggersResponse, J as GitTrigger, K as GitTriggerAction, M as HandleCreateGitTriggerResponse, S as SetDefaultBranchRequest, N as HandleGetContentsResponse, O as GetGithubSyncResponse } from './types.gen-CJa21P0C.js';
|
|
2
|
+
export { T as AccessTokenInfo, R as AccessibleRepository, U as Behavior, V as BlobEncoding, W as BlobObject, X as BranchDetails, Y as CommitList, Z as CommitObject, _ as CommitParent, $ as CommitTree, dc as ConfigureGithubSyncData, de as ConfigureGithubSyncError, a0 as ConfigureGithubSyncRequest, dd as ConfigureGithubSyncResponse, a1 as CreateDomainMappingRequest, a2 as CreateRecordParams, a3 as CreateRecordResponse, a5 as CreateRepoRequest, a6 as CreateRepositoryRequest, d_ as CreateVmData, a7 as CreateVmRequest, a8 as CustomBuildOptions, d7 as DeleteDevServerConfigurationData, d9 as DeleteDevServerConfigurationError, d8 as DeleteDevServerConfigurationResponse, a9 as DeleteRecordResponse, e1 as DeleteVmData, P as DeploymentBuildOptions, aa as DeploymentLogEntry, ac as DeploymentState, ad as DevServer, af as DevServerLogsRequest, ag as DevServerPreset, ah as DevServerRequest, ai as DevServerRestartRequest, aj as DevServerStatusRequest, ak as DevServerWatchFilesRequest, al as DnsRecord, am as DnsRecordData, an as DnsRecordKind, ao as DomainVerificationRequest, e3 as ExecAwaitData, ap as ExecAwaitRequest, aq as ExecRequest, ar as ExecuteLogEntry, as as ExecuteRunInfo, at as ExecuteRunState, au as FileReadContent, e6 as ForkVmData, aw as ForkVmRequest, ax as FreestyleCloudstateDeployConfiguration, ay as FreestyleCloudstateDeployErrorResponse, az as FreestyleDeleteDomainVerificationRequest, aA as FreestyleDeployWebErrorResponse, aB as FreestyleDeployWebPayload, aC as FreestyleDeployWebPayloadV2, aD as FreestyleDomainVerificationRequest, aE as FreestyleExecuteScriptParams, aF as FreestyleFile, aG as FreestyleGetLogsResponse, aH as FreestyleJavaScriptLog, aI as FreestyleLogResponseObject, aJ as FreestyleNetworkPermission, aL as FreestyleSandboxDomainMapping, aM as FreestyleVerifyDomainRequest, aN as GetDefaultBranchResponse, d1 as GetDevServerConfigurationData, d3 as GetDevServerConfigurationError, d2 as GetDevServerConfigurationResponse, e4 as GetFileData, da as GetGithubSyncData, db as GetGithubSyncError, ec as GetTerminalLogsData, ed as GetTerminalXtermData, e0 as GetVmData, aO as GitCommitPushRequest, aP as GitContents, aR as GitContentsDirEntryItem, aU as GitReference, aV as GitRepositoryTrigger, aS as GithubRepoSyncConfig, aT as GithubSyncConfigResponse, aY as GrantPermissionRequest, bq as HandleBackupCloudstateData, br as HandleBackupCloudstateError, bL as HandleCreateDomainVerificationData, bM as HandleCreateDomainVerificationError, cM as HandleCreateGitTokenData, cO as HandleCreateGitTokenError, cN as HandleCreateGitTokenResponse, dQ as HandleCreateGitTriggerData, dR as HandleCreateGitTriggerError, cs as HandleCreateIdentityError, cr as HandleCreateIdentityResponse, bv as HandleCreateRecordData, bx as HandleCreateRecordError, bw as HandleCreateRecordResponse, cU as HandleCreateRepoData, cW as HandleCreateRepoError, cV as HandleCreateRepoResponse, bI as HandleDeleteDomainMappingData, bN as HandleDeleteDomainVerificationData, bO as HandleDeleteDomainVerificationError, dS as HandleDeleteGitTriggerData, dU as HandleDeleteGitTriggerError, dT as HandleDeleteGitTriggerResponse, ct as HandleDeleteIdentityData, cu as HandleDeleteIdentityError, by as HandleDeleteRecordData, bA as HandleDeleteRecordError, bz as HandleDeleteRecordResponse, dl as HandleDeleteRepoData, dm as HandleDeleteRepoError, bn as HandleDeployCloudstateData, bp as HandleDeployCloudstateError, bo as HandleDeployCloudstateResponse, ef as HandleDeployWebData, eh as HandleDeployWebError, eg as HandleDeployWebResponse, ei as HandleDeployWebV2Data, ek as HandleDeployWebV2Error, ej as HandleDeployWebV2Response, cy as HandleDescribePermissionData, cA as HandleDescribePermissionError, cz as HandleDescribePermissionResponse, c2 as HandleDevServerLogsData, c4 as HandleDevServerLogsError, c3 as HandleDevServerLogsResponse, c5 as HandleDevServerRestartData, c7 as HandleDevServerRestartError, c6 as HandleDevServerRestartResponse, cb as HandleDevServerStatusData, cd as HandleDevServerStatusError, cc as HandleDevServerStatusResponse, dL as HandleDownloadTarballData, dN as HandleDownloadTarballError, dM as HandleDownloadTarballResponse, dV as HandleDownloadZipData, dX as HandleDownloadZipError, dW as HandleDownloadZipResponse, bP as HandleEphemeralDevServerData, bR as HandleEphemeralDevServerError, bQ as HandleEphemeralDevServerResponse, bS as HandleExecOnEphemeralDevServerData, bU as HandleExecOnEphemeralDevServerError, bT as HandleExecOnEphemeralDevServerResponse, cl as HandleExecuteScriptData, cn as HandleExecuteScriptError, cm as HandleExecuteScriptResponse, dq as HandleGetBlobData, ds as HandleGetBlobError, dr as HandleGetBlobResponse, dw as HandleGetCommitData, dy as HandleGetCommitError, dx as HandleGetCommitResponse, dn as HandleGetContentsData, dp as HandleGetContentsError, cX as HandleGetDefaultBranchData, cZ as HandleGetDefaultBranchError, cY as HandleGetDefaultBranchResponse, cj as HandleGetExecuteRunData, ck as HandleGetExecuteRunError, dY as HandleGetLogsData, dZ as HandleGetLogsError, dz as HandleGetRefBranchData, dB as HandleGetRefBranchError, dA as HandleGetRefBranchResponse, dC as HandleGetRefTagData, dE as HandleGetRefTagError, dD as HandleGetRefTagResponse, di as HandleGetRepoInfoData, dk as HandleGetRepoInfoError, dj as HandleGetRepoInfoResponse, dF as HandleGetTagData, dH as HandleGetTagError, dG as HandleGetTagResponse, dI as HandleGetTreeData, dK as HandleGetTreeError, dJ as HandleGetTreeResponse, en as HandleGetWebDeployDetailsData, b$ as HandleGitCommitPushData, c1 as HandleGitCommitPushError, c0 as HandleGitCommitPushResponse, cB as HandleGrantPermissionData, cC as HandleGrantPermissionError, bG as HandleInsertDomainMappingData, bH as HandleInsertDomainMappingError, dt as HandleListCommitsData, dv as HandleListCommitsError, du as HandleListCommitsResponse, Q as HandleListDomainMappingsData, bF as HandleListDomainMappingsError, bJ as HandleListDomainVerificationRequestsError, bD as HandleListDomainsData, bE as HandleListDomainsError, ch as HandleListExecuteRunsData, ci as HandleListExecuteRunsError, cJ as HandleListGitTokensData, cL as HandleListGitTokensError, cK as HandleListGitTokensResponse, dO as HandleListGitTriggersData, dP as HandleListGitTriggersError, co as HandleListIdentitiesData, cq as HandleListIdentitiesError, cp as HandleListIdentitiesResponse, cv as HandleListPermissionsData, cx as HandleListPermissionsError, cw as HandleListPermissionsResponse, bs as HandleListRecordsData, bu as HandleListRecordsError, bt as HandleListRecordsResponse, cS as HandleListRepositoriesData, cT as HandleListRepositoriesError, el as HandleListWebDeploysData, em as HandleListWebDeploysError, bY as HandleReadFileFromEphemeralDevServerData, b_ as HandleReadFileFromEphemeralDevServerError, bZ as HandleReadFileFromEphemeralDevServerResponse, cP as HandleRevokeGitTokenData, cR as HandleRevokeGitTokenError, cQ as HandleRevokeGitTokenResponse, cD as HandleRevokePermissionData, cF as HandleRevokePermissionError, cE as HandleRevokePermissionResponse, c_ as HandleSetDefaultBranchData, d0 as HandleSetDefaultBranchError, c$ as HandleSetDefaultBranchResponse, c8 as HandleShutdownDevServerData, ca as HandleShutdownDevServerError, c9 as HandleShutdownDevServerResponse, cG as HandleUpdatePermissionData, cI as HandleUpdatePermissionError, cH as HandleUpdatePermissionResponse, bK as HandleVerifyDomainData, bB as HandleVerifyWildcardData, bC as HandleVerifyWildcardError, ce as HandleWatchDevServerFilesData, cg as HandleWatchDevServerFilesError, cf as HandleWatchDevServerFilesResponse, bV as HandleWriteFileFromEphemeralDevServerData, bX as HandleWriteFileFromEphemeralDevServerError, bW as HandleWriteFileFromEphemeralDevServerResponse, aZ as InternalServerError, a_ as ListRecordsResponse, eb as ListTerminalsData, a$ as NetworkPermissionData, e7 as OptimizeVmData, b0 as PortConfig, b1 as PortMapping, e5 as PutFileData, b2 as ReadFileEphemeralDevServerResponses, df as RemoveGithubSyncData, dh as RemoveGithubSyncError, dg as RemoveGithubSyncResponse, b3 as RepositoryInfoRaw, b4 as RepositoryMetadata, d$ as ResizeVmData, b5 as ResizeVmRequest, b6 as RevokeGitTokenRequest, b7 as SetDefaultBranchResponse, b8 as ShutdownDevServerRequest, b9 as Signature, e8 as StartVmData, ba as StartVmRequest, e9 as StopVmData, ea as SuspendVmData, bb as TagDetails, bc as TagObject, bd as TagTarget, be as TreeEntry, bg as TreeObject, bh as UpdateDevServerConfigRequest, d4 as UpdateDevServerConfigurationData, d6 as UpdateDevServerConfigurationError, d5 as UpdateDevServerConfigurationResponse, bi as UpdatePermissionRequest, bj as Visibility, bk as VmPersistence, e2 as WaitVmData, ee as WatchFilesData, bm as WriteFileRequest, aK as action, aX as action2, aW as event, ab as kind, ae as kind2, av as kind3, a4 as type, aQ as type2, bf as type3, bl as type4 } from './types.gen-CJa21P0C.js';
|
|
3
3
|
|
|
4
4
|
interface FreestyleDevServer {
|
|
5
5
|
/**
|
|
@@ -182,7 +182,7 @@ declare class FreestyleSandboxes {
|
|
|
182
182
|
*/
|
|
183
183
|
removeDomainMapping({ domain, }: {
|
|
184
184
|
domain: string;
|
|
185
|
-
}): Promise<
|
|
185
|
+
}): Promise<void>;
|
|
186
186
|
listDomainMappings({ domain, domainOwnership, limit, offset, }: {
|
|
187
187
|
domain?: string;
|
|
188
188
|
domainOwnership?: string;
|
|
@@ -198,8 +198,8 @@ declare class FreestyleSandboxes {
|
|
|
198
198
|
defaultBranch?: string;
|
|
199
199
|
devServers?: DevServerConfiguration;
|
|
200
200
|
} & (CreateGitRepositorySource | CreateGitRepositoryImport | {
|
|
201
|
-
source
|
|
202
|
-
import
|
|
201
|
+
source?: never;
|
|
202
|
+
import?: never;
|
|
203
203
|
})): Promise<CreateRepositoryResponseSuccess>;
|
|
204
204
|
/**
|
|
205
205
|
* List git repositories.
|
|
@@ -370,4 +370,4 @@ declare class FreestyleSandboxes {
|
|
|
370
370
|
fetch(path: string, init?: RequestInit): Promise<Response>;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse,
|
|
373
|
+
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetContentsResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleInsertDomainMappingResponse, HandleListDomainMappingsResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess, SetDefaultBranchRequest };
|
package/dist/inde.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as
|
|
2
|
-
export {
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as HandleListDomainMappingsResponse, s as DevServerConfiguration, C as CreateRepoSource, t as CreateRepoImport, u as CreateRepositoryResponseSuccess, v as HandleListRepositoriesResponse, w as HandleDeleteRepoResponse, G as GitIdentity, x as HandleDeleteIdentityResponse, A as AccessLevel, y as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, z as DescribePermissionResponseSuccess, B as CreatedToken, E as ListGitTokensResponseSuccess, I as HandleListGitTriggersResponse, J as GitTrigger, K as GitTriggerAction, M as HandleCreateGitTriggerResponse, S as SetDefaultBranchRequest, N as HandleGetContentsResponse, O as GetGithubSyncResponse } from './types.gen-CJa21P0C.js';
|
|
2
|
+
export { T as AccessTokenInfo, R as AccessibleRepository, U as Behavior, V as BlobEncoding, W as BlobObject, X as BranchDetails, Y as CommitList, Z as CommitObject, _ as CommitParent, $ as CommitTree, dc as ConfigureGithubSyncData, de as ConfigureGithubSyncError, a0 as ConfigureGithubSyncRequest, dd as ConfigureGithubSyncResponse, a1 as CreateDomainMappingRequest, a2 as CreateRecordParams, a3 as CreateRecordResponse, a5 as CreateRepoRequest, a6 as CreateRepositoryRequest, d_ as CreateVmData, a7 as CreateVmRequest, a8 as CustomBuildOptions, d7 as DeleteDevServerConfigurationData, d9 as DeleteDevServerConfigurationError, d8 as DeleteDevServerConfigurationResponse, a9 as DeleteRecordResponse, e1 as DeleteVmData, P as DeploymentBuildOptions, aa as DeploymentLogEntry, ac as DeploymentState, ad as DevServer, af as DevServerLogsRequest, ag as DevServerPreset, ah as DevServerRequest, ai as DevServerRestartRequest, aj as DevServerStatusRequest, ak as DevServerWatchFilesRequest, al as DnsRecord, am as DnsRecordData, an as DnsRecordKind, ao as DomainVerificationRequest, e3 as ExecAwaitData, ap as ExecAwaitRequest, aq as ExecRequest, ar as ExecuteLogEntry, as as ExecuteRunInfo, at as ExecuteRunState, au as FileReadContent, e6 as ForkVmData, aw as ForkVmRequest, ax as FreestyleCloudstateDeployConfiguration, ay as FreestyleCloudstateDeployErrorResponse, az as FreestyleDeleteDomainVerificationRequest, aA as FreestyleDeployWebErrorResponse, aB as FreestyleDeployWebPayload, aC as FreestyleDeployWebPayloadV2, aD as FreestyleDomainVerificationRequest, aE as FreestyleExecuteScriptParams, aF as FreestyleFile, aG as FreestyleGetLogsResponse, aH as FreestyleJavaScriptLog, aI as FreestyleLogResponseObject, aJ as FreestyleNetworkPermission, aL as FreestyleSandboxDomainMapping, aM as FreestyleVerifyDomainRequest, aN as GetDefaultBranchResponse, d1 as GetDevServerConfigurationData, d3 as GetDevServerConfigurationError, d2 as GetDevServerConfigurationResponse, e4 as GetFileData, da as GetGithubSyncData, db as GetGithubSyncError, ec as GetTerminalLogsData, ed as GetTerminalXtermData, e0 as GetVmData, aO as GitCommitPushRequest, aP as GitContents, aR as GitContentsDirEntryItem, aU as GitReference, aV as GitRepositoryTrigger, aS as GithubRepoSyncConfig, aT as GithubSyncConfigResponse, aY as GrantPermissionRequest, bq as HandleBackupCloudstateData, br as HandleBackupCloudstateError, bL as HandleCreateDomainVerificationData, bM as HandleCreateDomainVerificationError, cM as HandleCreateGitTokenData, cO as HandleCreateGitTokenError, cN as HandleCreateGitTokenResponse, dQ as HandleCreateGitTriggerData, dR as HandleCreateGitTriggerError, cs as HandleCreateIdentityError, cr as HandleCreateIdentityResponse, bv as HandleCreateRecordData, bx as HandleCreateRecordError, bw as HandleCreateRecordResponse, cU as HandleCreateRepoData, cW as HandleCreateRepoError, cV as HandleCreateRepoResponse, bI as HandleDeleteDomainMappingData, bN as HandleDeleteDomainVerificationData, bO as HandleDeleteDomainVerificationError, dS as HandleDeleteGitTriggerData, dU as HandleDeleteGitTriggerError, dT as HandleDeleteGitTriggerResponse, ct as HandleDeleteIdentityData, cu as HandleDeleteIdentityError, by as HandleDeleteRecordData, bA as HandleDeleteRecordError, bz as HandleDeleteRecordResponse, dl as HandleDeleteRepoData, dm as HandleDeleteRepoError, bn as HandleDeployCloudstateData, bp as HandleDeployCloudstateError, bo as HandleDeployCloudstateResponse, ef as HandleDeployWebData, eh as HandleDeployWebError, eg as HandleDeployWebResponse, ei as HandleDeployWebV2Data, ek as HandleDeployWebV2Error, ej as HandleDeployWebV2Response, cy as HandleDescribePermissionData, cA as HandleDescribePermissionError, cz as HandleDescribePermissionResponse, c2 as HandleDevServerLogsData, c4 as HandleDevServerLogsError, c3 as HandleDevServerLogsResponse, c5 as HandleDevServerRestartData, c7 as HandleDevServerRestartError, c6 as HandleDevServerRestartResponse, cb as HandleDevServerStatusData, cd as HandleDevServerStatusError, cc as HandleDevServerStatusResponse, dL as HandleDownloadTarballData, dN as HandleDownloadTarballError, dM as HandleDownloadTarballResponse, dV as HandleDownloadZipData, dX as HandleDownloadZipError, dW as HandleDownloadZipResponse, bP as HandleEphemeralDevServerData, bR as HandleEphemeralDevServerError, bQ as HandleEphemeralDevServerResponse, bS as HandleExecOnEphemeralDevServerData, bU as HandleExecOnEphemeralDevServerError, bT as HandleExecOnEphemeralDevServerResponse, cl as HandleExecuteScriptData, cn as HandleExecuteScriptError, cm as HandleExecuteScriptResponse, dq as HandleGetBlobData, ds as HandleGetBlobError, dr as HandleGetBlobResponse, dw as HandleGetCommitData, dy as HandleGetCommitError, dx as HandleGetCommitResponse, dn as HandleGetContentsData, dp as HandleGetContentsError, cX as HandleGetDefaultBranchData, cZ as HandleGetDefaultBranchError, cY as HandleGetDefaultBranchResponse, cj as HandleGetExecuteRunData, ck as HandleGetExecuteRunError, dY as HandleGetLogsData, dZ as HandleGetLogsError, dz as HandleGetRefBranchData, dB as HandleGetRefBranchError, dA as HandleGetRefBranchResponse, dC as HandleGetRefTagData, dE as HandleGetRefTagError, dD as HandleGetRefTagResponse, di as HandleGetRepoInfoData, dk as HandleGetRepoInfoError, dj as HandleGetRepoInfoResponse, dF as HandleGetTagData, dH as HandleGetTagError, dG as HandleGetTagResponse, dI as HandleGetTreeData, dK as HandleGetTreeError, dJ as HandleGetTreeResponse, en as HandleGetWebDeployDetailsData, b$ as HandleGitCommitPushData, c1 as HandleGitCommitPushError, c0 as HandleGitCommitPushResponse, cB as HandleGrantPermissionData, cC as HandleGrantPermissionError, bG as HandleInsertDomainMappingData, bH as HandleInsertDomainMappingError, dt as HandleListCommitsData, dv as HandleListCommitsError, du as HandleListCommitsResponse, Q as HandleListDomainMappingsData, bF as HandleListDomainMappingsError, bJ as HandleListDomainVerificationRequestsError, bD as HandleListDomainsData, bE as HandleListDomainsError, ch as HandleListExecuteRunsData, ci as HandleListExecuteRunsError, cJ as HandleListGitTokensData, cL as HandleListGitTokensError, cK as HandleListGitTokensResponse, dO as HandleListGitTriggersData, dP as HandleListGitTriggersError, co as HandleListIdentitiesData, cq as HandleListIdentitiesError, cp as HandleListIdentitiesResponse, cv as HandleListPermissionsData, cx as HandleListPermissionsError, cw as HandleListPermissionsResponse, bs as HandleListRecordsData, bu as HandleListRecordsError, bt as HandleListRecordsResponse, cS as HandleListRepositoriesData, cT as HandleListRepositoriesError, el as HandleListWebDeploysData, em as HandleListWebDeploysError, bY as HandleReadFileFromEphemeralDevServerData, b_ as HandleReadFileFromEphemeralDevServerError, bZ as HandleReadFileFromEphemeralDevServerResponse, cP as HandleRevokeGitTokenData, cR as HandleRevokeGitTokenError, cQ as HandleRevokeGitTokenResponse, cD as HandleRevokePermissionData, cF as HandleRevokePermissionError, cE as HandleRevokePermissionResponse, c_ as HandleSetDefaultBranchData, d0 as HandleSetDefaultBranchError, c$ as HandleSetDefaultBranchResponse, c8 as HandleShutdownDevServerData, ca as HandleShutdownDevServerError, c9 as HandleShutdownDevServerResponse, cG as HandleUpdatePermissionData, cI as HandleUpdatePermissionError, cH as HandleUpdatePermissionResponse, bK as HandleVerifyDomainData, bB as HandleVerifyWildcardData, bC as HandleVerifyWildcardError, ce as HandleWatchDevServerFilesData, cg as HandleWatchDevServerFilesError, cf as HandleWatchDevServerFilesResponse, bV as HandleWriteFileFromEphemeralDevServerData, bX as HandleWriteFileFromEphemeralDevServerError, bW as HandleWriteFileFromEphemeralDevServerResponse, aZ as InternalServerError, a_ as ListRecordsResponse, eb as ListTerminalsData, a$ as NetworkPermissionData, e7 as OptimizeVmData, b0 as PortConfig, b1 as PortMapping, e5 as PutFileData, b2 as ReadFileEphemeralDevServerResponses, df as RemoveGithubSyncData, dh as RemoveGithubSyncError, dg as RemoveGithubSyncResponse, b3 as RepositoryInfoRaw, b4 as RepositoryMetadata, d$ as ResizeVmData, b5 as ResizeVmRequest, b6 as RevokeGitTokenRequest, b7 as SetDefaultBranchResponse, b8 as ShutdownDevServerRequest, b9 as Signature, e8 as StartVmData, ba as StartVmRequest, e9 as StopVmData, ea as SuspendVmData, bb as TagDetails, bc as TagObject, bd as TagTarget, be as TreeEntry, bg as TreeObject, bh as UpdateDevServerConfigRequest, d4 as UpdateDevServerConfigurationData, d6 as UpdateDevServerConfigurationError, d5 as UpdateDevServerConfigurationResponse, bi as UpdatePermissionRequest, bj as Visibility, bk as VmPersistence, e2 as WaitVmData, ee as WatchFilesData, bm as WriteFileRequest, aK as action, aX as action2, aW as event, ab as kind, ae as kind2, av as kind3, a4 as type, aQ as type2, bf as type3, bl as type4 } from './types.gen-CJa21P0C.js';
|
|
3
3
|
|
|
4
4
|
interface FreestyleDevServer {
|
|
5
5
|
/**
|
|
@@ -182,7 +182,7 @@ declare class FreestyleSandboxes {
|
|
|
182
182
|
*/
|
|
183
183
|
removeDomainMapping({ domain, }: {
|
|
184
184
|
domain: string;
|
|
185
|
-
}): Promise<
|
|
185
|
+
}): Promise<void>;
|
|
186
186
|
listDomainMappings({ domain, domainOwnership, limit, offset, }: {
|
|
187
187
|
domain?: string;
|
|
188
188
|
domainOwnership?: string;
|
|
@@ -198,8 +198,8 @@ declare class FreestyleSandboxes {
|
|
|
198
198
|
defaultBranch?: string;
|
|
199
199
|
devServers?: DevServerConfiguration;
|
|
200
200
|
} & (CreateGitRepositorySource | CreateGitRepositoryImport | {
|
|
201
|
-
source
|
|
202
|
-
import
|
|
201
|
+
source?: never;
|
|
202
|
+
import?: never;
|
|
203
203
|
})): Promise<CreateRepositoryResponseSuccess>;
|
|
204
204
|
/**
|
|
205
205
|
* List git repositories.
|
|
@@ -370,4 +370,4 @@ declare class FreestyleSandboxes {
|
|
|
370
370
|
fetch(path: string, init?: RequestInit): Promise<Response>;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse,
|
|
373
|
+
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetContentsResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleInsertDomainMappingResponse, HandleListDomainMappingsResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess, SetDefaultBranchRequest };
|
package/dist/index.cjs
CHANGED
|
@@ -354,7 +354,7 @@ ${JSON.stringify(
|
|
|
354
354
|
|
|
355
355
|
Status: ${response.response.status}
|
|
356
356
|
|
|
357
|
-
Message: ${response.error
|
|
357
|
+
Message: ${response.error}`
|
|
358
358
|
);
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
@@ -592,11 +592,11 @@ ${response.error.message}`);
|
|
|
592
592
|
domain
|
|
593
593
|
}
|
|
594
594
|
});
|
|
595
|
-
if (response.
|
|
596
|
-
return
|
|
595
|
+
if (response.response.ok) {
|
|
596
|
+
return;
|
|
597
597
|
}
|
|
598
598
|
throw new Error(
|
|
599
|
-
`Failed to remove domain mapping for domain ${domain}: ${response.error
|
|
599
|
+
`Failed to remove domain mapping for domain ${domain}: ${response.error}`
|
|
600
600
|
);
|
|
601
601
|
}
|
|
602
602
|
async listDomainMappings({
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as
|
|
2
|
-
export {
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as HandleListDomainMappingsResponse, s as DevServerConfiguration, C as CreateRepoSource, t as CreateRepoImport, u as CreateRepositoryResponseSuccess, v as HandleListRepositoriesResponse, w as HandleDeleteRepoResponse, G as GitIdentity, x as HandleDeleteIdentityResponse, A as AccessLevel, y as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, z as DescribePermissionResponseSuccess, B as CreatedToken, E as ListGitTokensResponseSuccess, I as HandleListGitTriggersResponse, J as GitTrigger, K as GitTriggerAction, M as HandleCreateGitTriggerResponse, S as SetDefaultBranchRequest, N as HandleGetContentsResponse, O as GetGithubSyncResponse } from './types.gen-CJa21P0C.js';
|
|
2
|
+
export { T as AccessTokenInfo, R as AccessibleRepository, U as Behavior, V as BlobEncoding, W as BlobObject, X as BranchDetails, Y as CommitList, Z as CommitObject, _ as CommitParent, $ as CommitTree, dc as ConfigureGithubSyncData, de as ConfigureGithubSyncError, a0 as ConfigureGithubSyncRequest, dd as ConfigureGithubSyncResponse, a1 as CreateDomainMappingRequest, a2 as CreateRecordParams, a3 as CreateRecordResponse, a5 as CreateRepoRequest, a6 as CreateRepositoryRequest, d_ as CreateVmData, a7 as CreateVmRequest, a8 as CustomBuildOptions, d7 as DeleteDevServerConfigurationData, d9 as DeleteDevServerConfigurationError, d8 as DeleteDevServerConfigurationResponse, a9 as DeleteRecordResponse, e1 as DeleteVmData, P as DeploymentBuildOptions, aa as DeploymentLogEntry, ac as DeploymentState, ad as DevServer, af as DevServerLogsRequest, ag as DevServerPreset, ah as DevServerRequest, ai as DevServerRestartRequest, aj as DevServerStatusRequest, ak as DevServerWatchFilesRequest, al as DnsRecord, am as DnsRecordData, an as DnsRecordKind, ao as DomainVerificationRequest, e3 as ExecAwaitData, ap as ExecAwaitRequest, aq as ExecRequest, ar as ExecuteLogEntry, as as ExecuteRunInfo, at as ExecuteRunState, au as FileReadContent, e6 as ForkVmData, aw as ForkVmRequest, ax as FreestyleCloudstateDeployConfiguration, ay as FreestyleCloudstateDeployErrorResponse, az as FreestyleDeleteDomainVerificationRequest, aA as FreestyleDeployWebErrorResponse, aB as FreestyleDeployWebPayload, aC as FreestyleDeployWebPayloadV2, aD as FreestyleDomainVerificationRequest, aE as FreestyleExecuteScriptParams, aF as FreestyleFile, aG as FreestyleGetLogsResponse, aH as FreestyleJavaScriptLog, aI as FreestyleLogResponseObject, aJ as FreestyleNetworkPermission, aL as FreestyleSandboxDomainMapping, aM as FreestyleVerifyDomainRequest, aN as GetDefaultBranchResponse, d1 as GetDevServerConfigurationData, d3 as GetDevServerConfigurationError, d2 as GetDevServerConfigurationResponse, e4 as GetFileData, da as GetGithubSyncData, db as GetGithubSyncError, ec as GetTerminalLogsData, ed as GetTerminalXtermData, e0 as GetVmData, aO as GitCommitPushRequest, aP as GitContents, aR as GitContentsDirEntryItem, aU as GitReference, aV as GitRepositoryTrigger, aS as GithubRepoSyncConfig, aT as GithubSyncConfigResponse, aY as GrantPermissionRequest, bq as HandleBackupCloudstateData, br as HandleBackupCloudstateError, bL as HandleCreateDomainVerificationData, bM as HandleCreateDomainVerificationError, cM as HandleCreateGitTokenData, cO as HandleCreateGitTokenError, cN as HandleCreateGitTokenResponse, dQ as HandleCreateGitTriggerData, dR as HandleCreateGitTriggerError, cs as HandleCreateIdentityError, cr as HandleCreateIdentityResponse, bv as HandleCreateRecordData, bx as HandleCreateRecordError, bw as HandleCreateRecordResponse, cU as HandleCreateRepoData, cW as HandleCreateRepoError, cV as HandleCreateRepoResponse, bI as HandleDeleteDomainMappingData, bN as HandleDeleteDomainVerificationData, bO as HandleDeleteDomainVerificationError, dS as HandleDeleteGitTriggerData, dU as HandleDeleteGitTriggerError, dT as HandleDeleteGitTriggerResponse, ct as HandleDeleteIdentityData, cu as HandleDeleteIdentityError, by as HandleDeleteRecordData, bA as HandleDeleteRecordError, bz as HandleDeleteRecordResponse, dl as HandleDeleteRepoData, dm as HandleDeleteRepoError, bn as HandleDeployCloudstateData, bp as HandleDeployCloudstateError, bo as HandleDeployCloudstateResponse, ef as HandleDeployWebData, eh as HandleDeployWebError, eg as HandleDeployWebResponse, ei as HandleDeployWebV2Data, ek as HandleDeployWebV2Error, ej as HandleDeployWebV2Response, cy as HandleDescribePermissionData, cA as HandleDescribePermissionError, cz as HandleDescribePermissionResponse, c2 as HandleDevServerLogsData, c4 as HandleDevServerLogsError, c3 as HandleDevServerLogsResponse, c5 as HandleDevServerRestartData, c7 as HandleDevServerRestartError, c6 as HandleDevServerRestartResponse, cb as HandleDevServerStatusData, cd as HandleDevServerStatusError, cc as HandleDevServerStatusResponse, dL as HandleDownloadTarballData, dN as HandleDownloadTarballError, dM as HandleDownloadTarballResponse, dV as HandleDownloadZipData, dX as HandleDownloadZipError, dW as HandleDownloadZipResponse, bP as HandleEphemeralDevServerData, bR as HandleEphemeralDevServerError, bQ as HandleEphemeralDevServerResponse, bS as HandleExecOnEphemeralDevServerData, bU as HandleExecOnEphemeralDevServerError, bT as HandleExecOnEphemeralDevServerResponse, cl as HandleExecuteScriptData, cn as HandleExecuteScriptError, cm as HandleExecuteScriptResponse, dq as HandleGetBlobData, ds as HandleGetBlobError, dr as HandleGetBlobResponse, dw as HandleGetCommitData, dy as HandleGetCommitError, dx as HandleGetCommitResponse, dn as HandleGetContentsData, dp as HandleGetContentsError, cX as HandleGetDefaultBranchData, cZ as HandleGetDefaultBranchError, cY as HandleGetDefaultBranchResponse, cj as HandleGetExecuteRunData, ck as HandleGetExecuteRunError, dY as HandleGetLogsData, dZ as HandleGetLogsError, dz as HandleGetRefBranchData, dB as HandleGetRefBranchError, dA as HandleGetRefBranchResponse, dC as HandleGetRefTagData, dE as HandleGetRefTagError, dD as HandleGetRefTagResponse, di as HandleGetRepoInfoData, dk as HandleGetRepoInfoError, dj as HandleGetRepoInfoResponse, dF as HandleGetTagData, dH as HandleGetTagError, dG as HandleGetTagResponse, dI as HandleGetTreeData, dK as HandleGetTreeError, dJ as HandleGetTreeResponse, en as HandleGetWebDeployDetailsData, b$ as HandleGitCommitPushData, c1 as HandleGitCommitPushError, c0 as HandleGitCommitPushResponse, cB as HandleGrantPermissionData, cC as HandleGrantPermissionError, bG as HandleInsertDomainMappingData, bH as HandleInsertDomainMappingError, dt as HandleListCommitsData, dv as HandleListCommitsError, du as HandleListCommitsResponse, Q as HandleListDomainMappingsData, bF as HandleListDomainMappingsError, bJ as HandleListDomainVerificationRequestsError, bD as HandleListDomainsData, bE as HandleListDomainsError, ch as HandleListExecuteRunsData, ci as HandleListExecuteRunsError, cJ as HandleListGitTokensData, cL as HandleListGitTokensError, cK as HandleListGitTokensResponse, dO as HandleListGitTriggersData, dP as HandleListGitTriggersError, co as HandleListIdentitiesData, cq as HandleListIdentitiesError, cp as HandleListIdentitiesResponse, cv as HandleListPermissionsData, cx as HandleListPermissionsError, cw as HandleListPermissionsResponse, bs as HandleListRecordsData, bu as HandleListRecordsError, bt as HandleListRecordsResponse, cS as HandleListRepositoriesData, cT as HandleListRepositoriesError, el as HandleListWebDeploysData, em as HandleListWebDeploysError, bY as HandleReadFileFromEphemeralDevServerData, b_ as HandleReadFileFromEphemeralDevServerError, bZ as HandleReadFileFromEphemeralDevServerResponse, cP as HandleRevokeGitTokenData, cR as HandleRevokeGitTokenError, cQ as HandleRevokeGitTokenResponse, cD as HandleRevokePermissionData, cF as HandleRevokePermissionError, cE as HandleRevokePermissionResponse, c_ as HandleSetDefaultBranchData, d0 as HandleSetDefaultBranchError, c$ as HandleSetDefaultBranchResponse, c8 as HandleShutdownDevServerData, ca as HandleShutdownDevServerError, c9 as HandleShutdownDevServerResponse, cG as HandleUpdatePermissionData, cI as HandleUpdatePermissionError, cH as HandleUpdatePermissionResponse, bK as HandleVerifyDomainData, bB as HandleVerifyWildcardData, bC as HandleVerifyWildcardError, ce as HandleWatchDevServerFilesData, cg as HandleWatchDevServerFilesError, cf as HandleWatchDevServerFilesResponse, bV as HandleWriteFileFromEphemeralDevServerData, bX as HandleWriteFileFromEphemeralDevServerError, bW as HandleWriteFileFromEphemeralDevServerResponse, aZ as InternalServerError, a_ as ListRecordsResponse, eb as ListTerminalsData, a$ as NetworkPermissionData, e7 as OptimizeVmData, b0 as PortConfig, b1 as PortMapping, e5 as PutFileData, b2 as ReadFileEphemeralDevServerResponses, df as RemoveGithubSyncData, dh as RemoveGithubSyncError, dg as RemoveGithubSyncResponse, b3 as RepositoryInfoRaw, b4 as RepositoryMetadata, d$ as ResizeVmData, b5 as ResizeVmRequest, b6 as RevokeGitTokenRequest, b7 as SetDefaultBranchResponse, b8 as ShutdownDevServerRequest, b9 as Signature, e8 as StartVmData, ba as StartVmRequest, e9 as StopVmData, ea as SuspendVmData, bb as TagDetails, bc as TagObject, bd as TagTarget, be as TreeEntry, bg as TreeObject, bh as UpdateDevServerConfigRequest, d4 as UpdateDevServerConfigurationData, d6 as UpdateDevServerConfigurationError, d5 as UpdateDevServerConfigurationResponse, bi as UpdatePermissionRequest, bj as Visibility, bk as VmPersistence, e2 as WaitVmData, ee as WatchFilesData, bm as WriteFileRequest, aK as action, aX as action2, aW as event, ab as kind, ae as kind2, av as kind3, a4 as type, aQ as type2, bf as type3, bl as type4 } from './types.gen-CJa21P0C.js';
|
|
3
3
|
|
|
4
4
|
interface FreestyleDevServer {
|
|
5
5
|
/**
|
|
@@ -182,7 +182,7 @@ declare class FreestyleSandboxes {
|
|
|
182
182
|
*/
|
|
183
183
|
removeDomainMapping({ domain, }: {
|
|
184
184
|
domain: string;
|
|
185
|
-
}): Promise<
|
|
185
|
+
}): Promise<void>;
|
|
186
186
|
listDomainMappings({ domain, domainOwnership, limit, offset, }: {
|
|
187
187
|
domain?: string;
|
|
188
188
|
domainOwnership?: string;
|
|
@@ -198,8 +198,8 @@ declare class FreestyleSandboxes {
|
|
|
198
198
|
defaultBranch?: string;
|
|
199
199
|
devServers?: DevServerConfiguration;
|
|
200
200
|
} & (CreateGitRepositorySource | CreateGitRepositoryImport | {
|
|
201
|
-
source
|
|
202
|
-
import
|
|
201
|
+
source?: never;
|
|
202
|
+
import?: never;
|
|
203
203
|
})): Promise<CreateRepositoryResponseSuccess>;
|
|
204
204
|
/**
|
|
205
205
|
* List git repositories.
|
|
@@ -370,4 +370,4 @@ declare class FreestyleSandboxes {
|
|
|
370
370
|
fetch(path: string, init?: RequestInit): Promise<Response>;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse,
|
|
373
|
+
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetContentsResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleInsertDomainMappingResponse, HandleListDomainMappingsResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess, SetDefaultBranchRequest };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as
|
|
2
|
-
export {
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration, a as FreestyleExecuteScriptResultSuccess, D as DeploymentSource, b as FreestyleDeployWebConfiguration, c as FreestyleDeployWebSuccessResponseV2, d as FreestyleCloudstateDeployRequest, e as FreestyleCloudstateDeploySuccessResponse, H as HandleBackupCloudstateResponse, f as HandleGetLogsResponse, g as HandleCreateDomainVerificationResponse, h as HandleVerifyDomainResponse, i as HandleVerifyDomainError, j as HandleListDomainsResponse, k as HandleListDomainVerificationRequestsResponse, l as HandleDeleteDomainVerificationResponse, m as HandleListWebDeploysResponse, n as HandleListExecuteRunsResponse, o as HandleGetExecuteRunResponse, p as HandleVerifyWildcardResponse, q as HandleInsertDomainMappingResponse, r as HandleListDomainMappingsResponse, s as DevServerConfiguration, C as CreateRepoSource, t as CreateRepoImport, u as CreateRepositoryResponseSuccess, v as HandleListRepositoriesResponse, w as HandleDeleteRepoResponse, G as GitIdentity, x as HandleDeleteIdentityResponse, A as AccessLevel, y as HandleGrantPermissionResponse, L as ListPermissionResponseSuccess, z as DescribePermissionResponseSuccess, B as CreatedToken, E as ListGitTokensResponseSuccess, I as HandleListGitTriggersResponse, J as GitTrigger, K as GitTriggerAction, M as HandleCreateGitTriggerResponse, S as SetDefaultBranchRequest, N as HandleGetContentsResponse, O as GetGithubSyncResponse } from './types.gen-CJa21P0C.js';
|
|
2
|
+
export { T as AccessTokenInfo, R as AccessibleRepository, U as Behavior, V as BlobEncoding, W as BlobObject, X as BranchDetails, Y as CommitList, Z as CommitObject, _ as CommitParent, $ as CommitTree, dc as ConfigureGithubSyncData, de as ConfigureGithubSyncError, a0 as ConfigureGithubSyncRequest, dd as ConfigureGithubSyncResponse, a1 as CreateDomainMappingRequest, a2 as CreateRecordParams, a3 as CreateRecordResponse, a5 as CreateRepoRequest, a6 as CreateRepositoryRequest, d_ as CreateVmData, a7 as CreateVmRequest, a8 as CustomBuildOptions, d7 as DeleteDevServerConfigurationData, d9 as DeleteDevServerConfigurationError, d8 as DeleteDevServerConfigurationResponse, a9 as DeleteRecordResponse, e1 as DeleteVmData, P as DeploymentBuildOptions, aa as DeploymentLogEntry, ac as DeploymentState, ad as DevServer, af as DevServerLogsRequest, ag as DevServerPreset, ah as DevServerRequest, ai as DevServerRestartRequest, aj as DevServerStatusRequest, ak as DevServerWatchFilesRequest, al as DnsRecord, am as DnsRecordData, an as DnsRecordKind, ao as DomainVerificationRequest, e3 as ExecAwaitData, ap as ExecAwaitRequest, aq as ExecRequest, ar as ExecuteLogEntry, as as ExecuteRunInfo, at as ExecuteRunState, au as FileReadContent, e6 as ForkVmData, aw as ForkVmRequest, ax as FreestyleCloudstateDeployConfiguration, ay as FreestyleCloudstateDeployErrorResponse, az as FreestyleDeleteDomainVerificationRequest, aA as FreestyleDeployWebErrorResponse, aB as FreestyleDeployWebPayload, aC as FreestyleDeployWebPayloadV2, aD as FreestyleDomainVerificationRequest, aE as FreestyleExecuteScriptParams, aF as FreestyleFile, aG as FreestyleGetLogsResponse, aH as FreestyleJavaScriptLog, aI as FreestyleLogResponseObject, aJ as FreestyleNetworkPermission, aL as FreestyleSandboxDomainMapping, aM as FreestyleVerifyDomainRequest, aN as GetDefaultBranchResponse, d1 as GetDevServerConfigurationData, d3 as GetDevServerConfigurationError, d2 as GetDevServerConfigurationResponse, e4 as GetFileData, da as GetGithubSyncData, db as GetGithubSyncError, ec as GetTerminalLogsData, ed as GetTerminalXtermData, e0 as GetVmData, aO as GitCommitPushRequest, aP as GitContents, aR as GitContentsDirEntryItem, aU as GitReference, aV as GitRepositoryTrigger, aS as GithubRepoSyncConfig, aT as GithubSyncConfigResponse, aY as GrantPermissionRequest, bq as HandleBackupCloudstateData, br as HandleBackupCloudstateError, bL as HandleCreateDomainVerificationData, bM as HandleCreateDomainVerificationError, cM as HandleCreateGitTokenData, cO as HandleCreateGitTokenError, cN as HandleCreateGitTokenResponse, dQ as HandleCreateGitTriggerData, dR as HandleCreateGitTriggerError, cs as HandleCreateIdentityError, cr as HandleCreateIdentityResponse, bv as HandleCreateRecordData, bx as HandleCreateRecordError, bw as HandleCreateRecordResponse, cU as HandleCreateRepoData, cW as HandleCreateRepoError, cV as HandleCreateRepoResponse, bI as HandleDeleteDomainMappingData, bN as HandleDeleteDomainVerificationData, bO as HandleDeleteDomainVerificationError, dS as HandleDeleteGitTriggerData, dU as HandleDeleteGitTriggerError, dT as HandleDeleteGitTriggerResponse, ct as HandleDeleteIdentityData, cu as HandleDeleteIdentityError, by as HandleDeleteRecordData, bA as HandleDeleteRecordError, bz as HandleDeleteRecordResponse, dl as HandleDeleteRepoData, dm as HandleDeleteRepoError, bn as HandleDeployCloudstateData, bp as HandleDeployCloudstateError, bo as HandleDeployCloudstateResponse, ef as HandleDeployWebData, eh as HandleDeployWebError, eg as HandleDeployWebResponse, ei as HandleDeployWebV2Data, ek as HandleDeployWebV2Error, ej as HandleDeployWebV2Response, cy as HandleDescribePermissionData, cA as HandleDescribePermissionError, cz as HandleDescribePermissionResponse, c2 as HandleDevServerLogsData, c4 as HandleDevServerLogsError, c3 as HandleDevServerLogsResponse, c5 as HandleDevServerRestartData, c7 as HandleDevServerRestartError, c6 as HandleDevServerRestartResponse, cb as HandleDevServerStatusData, cd as HandleDevServerStatusError, cc as HandleDevServerStatusResponse, dL as HandleDownloadTarballData, dN as HandleDownloadTarballError, dM as HandleDownloadTarballResponse, dV as HandleDownloadZipData, dX as HandleDownloadZipError, dW as HandleDownloadZipResponse, bP as HandleEphemeralDevServerData, bR as HandleEphemeralDevServerError, bQ as HandleEphemeralDevServerResponse, bS as HandleExecOnEphemeralDevServerData, bU as HandleExecOnEphemeralDevServerError, bT as HandleExecOnEphemeralDevServerResponse, cl as HandleExecuteScriptData, cn as HandleExecuteScriptError, cm as HandleExecuteScriptResponse, dq as HandleGetBlobData, ds as HandleGetBlobError, dr as HandleGetBlobResponse, dw as HandleGetCommitData, dy as HandleGetCommitError, dx as HandleGetCommitResponse, dn as HandleGetContentsData, dp as HandleGetContentsError, cX as HandleGetDefaultBranchData, cZ as HandleGetDefaultBranchError, cY as HandleGetDefaultBranchResponse, cj as HandleGetExecuteRunData, ck as HandleGetExecuteRunError, dY as HandleGetLogsData, dZ as HandleGetLogsError, dz as HandleGetRefBranchData, dB as HandleGetRefBranchError, dA as HandleGetRefBranchResponse, dC as HandleGetRefTagData, dE as HandleGetRefTagError, dD as HandleGetRefTagResponse, di as HandleGetRepoInfoData, dk as HandleGetRepoInfoError, dj as HandleGetRepoInfoResponse, dF as HandleGetTagData, dH as HandleGetTagError, dG as HandleGetTagResponse, dI as HandleGetTreeData, dK as HandleGetTreeError, dJ as HandleGetTreeResponse, en as HandleGetWebDeployDetailsData, b$ as HandleGitCommitPushData, c1 as HandleGitCommitPushError, c0 as HandleGitCommitPushResponse, cB as HandleGrantPermissionData, cC as HandleGrantPermissionError, bG as HandleInsertDomainMappingData, bH as HandleInsertDomainMappingError, dt as HandleListCommitsData, dv as HandleListCommitsError, du as HandleListCommitsResponse, Q as HandleListDomainMappingsData, bF as HandleListDomainMappingsError, bJ as HandleListDomainVerificationRequestsError, bD as HandleListDomainsData, bE as HandleListDomainsError, ch as HandleListExecuteRunsData, ci as HandleListExecuteRunsError, cJ as HandleListGitTokensData, cL as HandleListGitTokensError, cK as HandleListGitTokensResponse, dO as HandleListGitTriggersData, dP as HandleListGitTriggersError, co as HandleListIdentitiesData, cq as HandleListIdentitiesError, cp as HandleListIdentitiesResponse, cv as HandleListPermissionsData, cx as HandleListPermissionsError, cw as HandleListPermissionsResponse, bs as HandleListRecordsData, bu as HandleListRecordsError, bt as HandleListRecordsResponse, cS as HandleListRepositoriesData, cT as HandleListRepositoriesError, el as HandleListWebDeploysData, em as HandleListWebDeploysError, bY as HandleReadFileFromEphemeralDevServerData, b_ as HandleReadFileFromEphemeralDevServerError, bZ as HandleReadFileFromEphemeralDevServerResponse, cP as HandleRevokeGitTokenData, cR as HandleRevokeGitTokenError, cQ as HandleRevokeGitTokenResponse, cD as HandleRevokePermissionData, cF as HandleRevokePermissionError, cE as HandleRevokePermissionResponse, c_ as HandleSetDefaultBranchData, d0 as HandleSetDefaultBranchError, c$ as HandleSetDefaultBranchResponse, c8 as HandleShutdownDevServerData, ca as HandleShutdownDevServerError, c9 as HandleShutdownDevServerResponse, cG as HandleUpdatePermissionData, cI as HandleUpdatePermissionError, cH as HandleUpdatePermissionResponse, bK as HandleVerifyDomainData, bB as HandleVerifyWildcardData, bC as HandleVerifyWildcardError, ce as HandleWatchDevServerFilesData, cg as HandleWatchDevServerFilesError, cf as HandleWatchDevServerFilesResponse, bV as HandleWriteFileFromEphemeralDevServerData, bX as HandleWriteFileFromEphemeralDevServerError, bW as HandleWriteFileFromEphemeralDevServerResponse, aZ as InternalServerError, a_ as ListRecordsResponse, eb as ListTerminalsData, a$ as NetworkPermissionData, e7 as OptimizeVmData, b0 as PortConfig, b1 as PortMapping, e5 as PutFileData, b2 as ReadFileEphemeralDevServerResponses, df as RemoveGithubSyncData, dh as RemoveGithubSyncError, dg as RemoveGithubSyncResponse, b3 as RepositoryInfoRaw, b4 as RepositoryMetadata, d$ as ResizeVmData, b5 as ResizeVmRequest, b6 as RevokeGitTokenRequest, b7 as SetDefaultBranchResponse, b8 as ShutdownDevServerRequest, b9 as Signature, e8 as StartVmData, ba as StartVmRequest, e9 as StopVmData, ea as SuspendVmData, bb as TagDetails, bc as TagObject, bd as TagTarget, be as TreeEntry, bg as TreeObject, bh as UpdateDevServerConfigRequest, d4 as UpdateDevServerConfigurationData, d6 as UpdateDevServerConfigurationError, d5 as UpdateDevServerConfigurationResponse, bi as UpdatePermissionRequest, bj as Visibility, bk as VmPersistence, e2 as WaitVmData, ee as WatchFilesData, bm as WriteFileRequest, aK as action, aX as action2, aW as event, ab as kind, ae as kind2, av as kind3, a4 as type, aQ as type2, bf as type3, bl as type4 } from './types.gen-CJa21P0C.js';
|
|
3
3
|
|
|
4
4
|
interface FreestyleDevServer {
|
|
5
5
|
/**
|
|
@@ -182,7 +182,7 @@ declare class FreestyleSandboxes {
|
|
|
182
182
|
*/
|
|
183
183
|
removeDomainMapping({ domain, }: {
|
|
184
184
|
domain: string;
|
|
185
|
-
}): Promise<
|
|
185
|
+
}): Promise<void>;
|
|
186
186
|
listDomainMappings({ domain, domainOwnership, limit, offset, }: {
|
|
187
187
|
domain?: string;
|
|
188
188
|
domainOwnership?: string;
|
|
@@ -198,8 +198,8 @@ declare class FreestyleSandboxes {
|
|
|
198
198
|
defaultBranch?: string;
|
|
199
199
|
devServers?: DevServerConfiguration;
|
|
200
200
|
} & (CreateGitRepositorySource | CreateGitRepositoryImport | {
|
|
201
|
-
source
|
|
202
|
-
import
|
|
201
|
+
source?: never;
|
|
202
|
+
import?: never;
|
|
203
203
|
})): Promise<CreateRepositoryResponseSuccess>;
|
|
204
204
|
/**
|
|
205
205
|
* List git repositories.
|
|
@@ -370,4 +370,4 @@ declare class FreestyleSandboxes {
|
|
|
370
370
|
fetch(path: string, init?: RequestInit): Promise<Response>;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse,
|
|
373
|
+
export { AccessLevel, CreateRepoImport, CreateRepoSource, CreateRepositoryResponseSuccess, CreatedToken, DeploymentSource, DescribePermissionResponseSuccess, DevServerConfiguration, FreestyleCloudstateDeployRequest, FreestyleCloudstateDeploySuccessResponse, FreestyleDeployWebConfiguration, FreestyleDeployWebSuccessResponseV2, type FreestyleDevServer, type FreestyleDevServerFilesystem, FreestyleExecuteScriptParamsConfiguration, FreestyleExecuteScriptResultSuccess, FreestyleSandboxes, GetGithubSyncResponse, GitIdentity, GitTrigger, GitTriggerAction, HandleBackupCloudstateResponse, HandleCreateDomainVerificationResponse, HandleCreateGitTriggerResponse, HandleDeleteDomainVerificationResponse, HandleDeleteIdentityResponse, HandleDeleteRepoResponse, HandleGetContentsResponse, HandleGetExecuteRunResponse, HandleGetLogsResponse, HandleGrantPermissionResponse, HandleInsertDomainMappingResponse, HandleListDomainMappingsResponse, HandleListDomainVerificationRequestsResponse, HandleListDomainsResponse, HandleListExecuteRunsResponse, HandleListGitTriggersResponse, HandleListRepositoriesResponse, HandleListWebDeploysResponse, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleVerifyWildcardResponse, ListGitTokensResponseSuccess, ListPermissionResponseSuccess, SetDefaultBranchRequest };
|
package/dist/index.mjs
CHANGED
|
@@ -352,7 +352,7 @@ ${JSON.stringify(
|
|
|
352
352
|
|
|
353
353
|
Status: ${response.response.status}
|
|
354
354
|
|
|
355
|
-
Message: ${response.error
|
|
355
|
+
Message: ${response.error}`
|
|
356
356
|
);
|
|
357
357
|
}
|
|
358
358
|
/**
|
|
@@ -590,11 +590,11 @@ ${response.error.message}`);
|
|
|
590
590
|
domain
|
|
591
591
|
}
|
|
592
592
|
});
|
|
593
|
-
if (response.
|
|
594
|
-
return
|
|
593
|
+
if (response.response.ok) {
|
|
594
|
+
return;
|
|
595
595
|
}
|
|
596
596
|
throw new Error(
|
|
597
|
-
`Failed to remove domain mapping for domain ${domain}: ${response.error
|
|
597
|
+
`Failed to remove domain mapping for domain ${domain}: ${response.error}`
|
|
598
598
|
);
|
|
599
599
|
}
|
|
600
600
|
async listDomainMappings({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
1
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
2
2
|
import * as z3 from 'zod/v3';
|
|
3
3
|
import { z } from 'zod/v3';
|
|
4
4
|
import * as z4 from 'zod/v4/core';
|
package/dist/mastra/inde.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|
package/dist/mastra/inde.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|
package/dist/mastra/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|
package/dist/mastra/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { Transform } from 'stream';
|
|
|
5
5
|
import { EventEmitter } from 'events';
|
|
6
6
|
import { ServerResponse, IncomingMessage } from 'http';
|
|
7
7
|
import { WorkerOptions } from 'worker_threads';
|
|
8
|
-
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-
|
|
8
|
+
import { F as FreestyleExecuteScriptParamsConfiguration } from '../types.gen-CJa21P0C.js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
|
|
11
11
|
// Type definitions for pino-std-serializers 2.4
|