freestyle-sandboxes 0.0.37 → 0.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('../index.cjs');
4
- var index = require('../index-BBXyg0JQ.cjs');
4
+ var index = require('../index-H7UNEAjs.cjs');
5
5
  require('zod');
6
6
  require('@hey-api/client-fetch');
7
7
 
@@ -24,9 +24,11 @@ declare const executeCodeDescription: (envVars: string, nodeModules: string) =>
24
24
  declare const executeTool: (config: FreestyleExecuteScriptParamsConfiguration & {
25
25
  apiKey: string;
26
26
  onResult?: (_v: {
27
+ toolCallId: string;
27
28
  input: {
28
29
  script: string;
29
- } & Record<string, unknown>;
30
+ [key: string]: unknown;
31
+ };
30
32
  result: FreestyleExecuteScriptResultSuccess | HandleExecuteScriptError;
31
33
  }) => void | Promise<void>;
32
34
  truncateOutput?: boolean;
@@ -24,9 +24,11 @@ declare const executeCodeDescription: (envVars: string, nodeModules: string) =>
24
24
  declare const executeTool: (config: FreestyleExecuteScriptParamsConfiguration & {
25
25
  apiKey: string;
26
26
  onResult?: (_v: {
27
+ toolCallId: string;
27
28
  input: {
28
29
  script: string;
29
- } & Record<string, unknown>;
30
+ [key: string]: unknown;
31
+ };
30
32
  result: FreestyleExecuteScriptResultSuccess | HandleExecuteScriptError;
31
33
  }) => void | Promise<void>;
32
34
  truncateOutput?: boolean;
package/dist/ai/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  import '../index.mjs';
2
- export { d as deployWebTool, e as executeCodeDescription, a as executeCodeSchema, b as executeTool } from '../index-DCF70Xbq.mjs';
2
+ export { d as deployWebTool, e as executeCodeDescription, a as executeCodeSchema, b as executeTool } from '../index-D1ulQeJR.mjs';
3
3
  import 'zod';
4
4
  import '@hey-api/client-fetch';
@@ -3169,9 +3169,25 @@ const executeTool = (config) => {
3169
3169
  return tool({
3170
3170
  description: executeCodeDescription(envVars, nodeModules),
3171
3171
  parameters: executeCodeSchema,
3172
- execute: async ({ script }) => {
3172
+ execute: async ({ script, ...otherParams }, { toolCallId }) => {
3173
3173
  try {
3174
3174
  const res = await api.executeScript(script, config);
3175
+ if (config.onResult) {
3176
+ await config.onResult({
3177
+ toolCallId,
3178
+ result: res,
3179
+ input: {
3180
+ script,
3181
+ ...otherParams
3182
+ }
3183
+ });
3184
+ }
3185
+ if (config.truncateOutput) {
3186
+ if ("output" in res) {
3187
+ res.result = JSON.stringify(res.result).slice(0, 1e3);
3188
+ res.logs = res.logs.slice(0, 1e3);
3189
+ }
3190
+ }
3175
3191
  return res;
3176
3192
  } catch (e) {
3177
3193
  console.log("ERROR: ", e.message);
@@ -3201,10 +3217,13 @@ ${nodeModules.length > 0 ? `You can use the following node modules: ${nodeModule
3201
3217
  `)
3202
3218
  }),
3203
3219
  execute: async ({ files }) => {
3204
- const new_files = Object.keys(files).reduce((acc, key) => {
3205
- acc[key] = { content: files[key] };
3206
- return acc;
3207
- }, {});
3220
+ const new_files = Object.keys(files).reduce(
3221
+ (acc, key) => {
3222
+ acc[key] = { content: files[key] };
3223
+ return acc;
3224
+ },
3225
+ {}
3226
+ );
3208
3227
  try {
3209
3228
  const res = await api.deployWeb(
3210
3229
  {
@@ -3167,11 +3167,12 @@ const executeTool = (config) => {
3167
3167
  return tool({
3168
3168
  description: executeCodeDescription(envVars, nodeModules),
3169
3169
  parameters: executeCodeSchema,
3170
- execute: async ({ script, ...otherParams }) => {
3170
+ execute: async ({ script, ...otherParams }, { toolCallId }) => {
3171
3171
  try {
3172
3172
  const res = await api.executeScript(script, config);
3173
3173
  if (config.onResult) {
3174
3174
  await config.onResult({
3175
+ toolCallId,
3175
3176
  result: res,
3176
3177
  input: {
3177
3178
  script,
@@ -3169,11 +3169,12 @@ const executeTool = (config) => {
3169
3169
  return tool({
3170
3170
  description: executeCodeDescription(envVars, nodeModules),
3171
3171
  parameters: executeCodeSchema,
3172
- execute: async ({ script, ...otherParams }) => {
3172
+ execute: async ({ script, ...otherParams }, { toolCallId }) => {
3173
3173
  try {
3174
3174
  const res = await api.executeScript(script, config);
3175
3175
  if (config.onResult) {
3176
3176
  await config.onResult({
3177
+ toolCallId,
3177
3178
  result: res,
3178
3179
  input: {
3179
3180
  script,
@@ -3167,9 +3167,25 @@ const executeTool = (config) => {
3167
3167
  return tool({
3168
3168
  description: executeCodeDescription(envVars, nodeModules),
3169
3169
  parameters: executeCodeSchema,
3170
- execute: async ({ script }) => {
3170
+ execute: async ({ script, ...otherParams }, { toolCallId }) => {
3171
3171
  try {
3172
3172
  const res = await api.executeScript(script, config);
3173
+ if (config.onResult) {
3174
+ await config.onResult({
3175
+ toolCallId,
3176
+ result: res,
3177
+ input: {
3178
+ script,
3179
+ ...otherParams
3180
+ }
3181
+ });
3182
+ }
3183
+ if (config.truncateOutput) {
3184
+ if ("output" in res) {
3185
+ res.result = JSON.stringify(res.result).slice(0, 1e3);
3186
+ res.logs = res.logs.slice(0, 1e3);
3187
+ }
3188
+ }
3173
3189
  return res;
3174
3190
  } catch (e) {
3175
3191
  console.log("ERROR: ", e.message);
@@ -3199,10 +3215,13 @@ ${nodeModules.length > 0 ? `You can use the following node modules: ${nodeModule
3199
3215
  `)
3200
3216
  }),
3201
3217
  execute: async ({ files }) => {
3202
- const new_files = Object.keys(files).reduce((acc, key) => {
3203
- acc[key] = { content: files[key] };
3204
- return acc;
3205
- }, {});
3218
+ const new_files = Object.keys(files).reduce(
3219
+ (acc, key) => {
3220
+ acc[key] = { content: files[key] };
3221
+ return acc;
3222
+ },
3223
+ {}
3224
+ );
3206
3225
  try {
3207
3226
  const res = await api.deployWeb(
3208
3227
  {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index$1 = require('../index.cjs');
4
4
  var zod = require('zod');
5
- var index = require('../index-BBXyg0JQ.cjs');
5
+ var index = require('../index-H7UNEAjs.cjs');
6
6
  require('@hey-api/client-fetch');
7
7
 
8
8
  var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
@@ -1,6 +1,6 @@
1
1
  import { FreestyleSandboxes } from '../index.mjs';
2
2
  import { z } from 'zod';
3
- import { g as getDefaultExportFromCjs, z as zodToJsonSchema, a as executeCodeSchema, e as executeCodeDescription } from '../index-DCF70Xbq.mjs';
3
+ import { g as getDefaultExportFromCjs, z as zodToJsonSchema, a as executeCodeSchema, e as executeCodeDescription } from '../index-D1ulQeJR.mjs';
4
4
  import '@hey-api/client-fetch';
5
5
 
6
6
  var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var zod = require('zod');
4
- var index = require('../index-BBXyg0JQ.cjs');
4
+ var index = require('../index-H7UNEAjs.cjs');
5
5
  var index$1 = require('../index.cjs');
6
6
  require('@hey-api/client-fetch');
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { e as executeCodeDescription, a as executeCodeSchema } from '../index-DCF70Xbq.mjs';
2
+ import { e as executeCodeDescription, a as executeCodeSchema } from '../index-D1ulQeJR.mjs';
3
3
  import { FreestyleSandboxes } from '../index.mjs';
4
4
  import '@hey-api/client-fetch';
5
5
 
@@ -379,4 +379,4 @@ type HandleGetWebDeployDetailsData = {
379
379
  };
380
380
  };
381
381
 
382
- export type { HandleCreateDomainVerificationData as $, FreestyleDomainVerificationRequest as A, Behavior as B, CreateRepoHandlerResponse as C, DeleteRepoHandlerResponse as D, ExecuteLogEntry as E, FreestyleExecuteScriptParamsConfiguration as F, FreestyleExecuteScriptParams as G, HandleBackupCloudstateResponse as H, FreestyleFile as I, FreestyleGetLogsResponse as J, FreestyleJavaScriptLog as K, ListRepositoriesHandlerResponse as L, FreestyleLogResponseObject as M, FreestyleNetworkPermission as N, action as O, FreestyleVerifyDomainRequest as P, NetworkPermissionData as Q, RepositoryInfo as R, HandleDeployCloudstateData as S, HandleDeployCloudstateResponse as T, HandleDeployCloudstateError as U, HandleBackupCloudstateData as V, HandleBackupCloudstateError as W, HandleVerifyWildcardError as X, HandleListDomainsError as Y, HandleListDomainVerificationRequestsError as Z, HandleVerifyDomainData as _, FreestyleExecuteScriptResultSuccess as a, HandleCreateDomainVerificationError as a0, HandleDeleteDomainVerificationData as a1, HandleDeleteDomainVerificationError as a2, HandleListExecuteRunsData as a3, HandleListExecuteRunsError as a4, HandleGetExecuteRunData as a5, HandleGetExecuteRunError as a6, HandleExecuteScriptData as a7, HandleExecuteScriptResponse as a8, HandleExecuteScriptError as a9, ListRepositoriesHandlerData as aa, ListRepositoriesHandlerError as ab, CreateRepoHandlerData as ac, CreateRepoHandlerError as ad, DeleteRepoHandlerData as ae, DeleteRepoHandlerError as af, HandleGetLogsData as ag, HandleGetLogsError as ah, HandleDeployWebData as ai, HandleDeployWebResponse as aj, HandleDeployWebError as ak, HandleListWebDeploysData as al, HandleListWebDeploysError as am, HandleGetWebDeployDetailsData as an, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleVerifyDomainError as i, HandleListDomainsResponse as j, HandleListDomainVerificationRequestsResponse as k, HandleDeleteDomainVerificationResponse as l, HandleListWebDeploysResponse as m, HandleListExecuteRunsResponse as n, HandleGetExecuteRunResponse as o, HandleVerifyWildcardResponse as p, CreateRepositoryRequest as q, DeploymentLogEntry as r, DeploymentState as s, ExecuteRunInfo as t, ExecuteRunState as u, FreestyleCloudstateDeployConfiguration as v, FreestyleCloudstateDeployErrorResponse as w, FreestyleDeleteDomainVerificationRequest as x, FreestyleDeployWebErrorResponse as y, FreestyleDeployWebPayload as z };
382
+ export type { HandleListExecuteRunsError as $, action as A, Behavior as B, CreateRepositoryRequest as C, DeploymentLogEntry as D, ExecuteLogEntry as E, FreestyleExecuteScriptParamsConfiguration as F, FreestyleVerifyDomainRequest as G, HandleBackupCloudstateResponse as H, HandleDeployCloudstateData as I, HandleDeployCloudstateResponse as J, HandleDeployCloudstateError as K, HandleBackupCloudstateData as L, HandleBackupCloudstateError as M, NetworkPermissionData as N, HandleVerifyWildcardResponse as O, HandleVerifyWildcardError as P, HandleListDomainsError as Q, RepositoryInfo as R, HandleListDomainVerificationRequestsError as S, HandleVerifyDomainData as T, HandleVerifyDomainError as U, HandleCreateDomainVerificationData as V, HandleCreateDomainVerificationError as W, HandleDeleteDomainVerificationData as X, HandleDeleteDomainVerificationError as Y, HandleListExecuteRunsData as Z, HandleListExecuteRunsResponse as _, FreestyleExecuteScriptResultSuccess as a, HandleGetExecuteRunData as a0, HandleGetExecuteRunResponse as a1, HandleGetExecuteRunError as a2, HandleExecuteScriptData as a3, HandleExecuteScriptResponse as a4, HandleExecuteScriptError as a5, ListRepositoriesHandlerData as a6, ListRepositoriesHandlerResponse as a7, ListRepositoriesHandlerError as a8, CreateRepoHandlerData as a9, CreateRepoHandlerResponse as aa, CreateRepoHandlerError as ab, DeleteRepoHandlerData as ac, DeleteRepoHandlerResponse as ad, DeleteRepoHandlerError as ae, HandleGetLogsData as af, HandleGetLogsError as ag, HandleDeployWebData as ah, HandleDeployWebResponse as ai, HandleDeployWebError as aj, HandleListWebDeploysData as ak, HandleListWebDeploysResponse as al, HandleListWebDeploysError as am, HandleGetWebDeployDetailsData as an, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleListDomainsResponse as i, HandleListDomainVerificationRequestsResponse as j, HandleDeleteDomainVerificationResponse as k, DeploymentState as l, ExecuteRunInfo as m, ExecuteRunState as n, FreestyleCloudstateDeployConfiguration as o, FreestyleCloudstateDeployErrorResponse as p, FreestyleDeleteDomainVerificationRequest as q, FreestyleDeployWebErrorResponse as r, FreestyleDeployWebPayload as s, FreestyleDomainVerificationRequest as t, FreestyleExecuteScriptParams as u, FreestyleFile as v, FreestyleGetLogsResponse as w, FreestyleJavaScriptLog as x, FreestyleLogResponseObject as y, FreestyleNetworkPermission as z };
@@ -33,7 +33,8 @@ const prepareDirForDeployment = async (directory) => {
33
33
  nodir: true,
34
34
  ignore: ["**/node_modules/**"],
35
35
  absolute: false,
36
- dot: true
36
+ dot: true,
37
+ posix: true
37
38
  });
38
39
  for (const relativePath of patterns) {
39
40
  try {
@@ -59,7 +60,8 @@ const prepareDirForDeploymentSync = (directory) => {
59
60
  nodir: true,
60
61
  ignore: ["**/node_modules/**"],
61
62
  absolute: false,
62
- dot: true
63
+ dot: true,
64
+ posix: true
63
65
  });
64
66
  for (const relativePath of patterns) {
65
67
  try {
@@ -10,7 +10,8 @@ const prepareDirForDeployment = async (directory) => {
10
10
  nodir: true,
11
11
  ignore: ["**/node_modules/**"],
12
12
  absolute: false,
13
- dot: true
13
+ dot: true,
14
+ posix: true
14
15
  });
15
16
  for (const relativePath of patterns) {
16
17
  try {
@@ -36,7 +37,8 @@ const prepareDirForDeploymentSync = (directory) => {
36
37
  nodir: true,
37
38
  ignore: ["**/node_modules/**"],
38
39
  absolute: false,
39
- dot: true
40
+ dot: true,
41
+ posix: true
40
42
  });
41
43
  for (const relativePath of patterns) {
42
44
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freestyle-sandboxes",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/ai/index.ts CHANGED
@@ -6,7 +6,6 @@ import {
6
6
  import { FreestyleSandboxes } from "..";
7
7
  import { tool } from "ai";
8
8
  import { z } from "zod";
9
- import { P } from "../../dist/types.gen-BuhQ5LpB";
10
9
 
11
10
  export const executeCodeSchema = z.object({
12
11
  script: z.string().describe(`
@@ -52,9 +51,11 @@ export const executeTool = (
52
51
  config: FreestyleExecuteScriptParamsConfiguration & {
53
52
  apiKey: string;
54
53
  onResult?: (_v: {
54
+ toolCallId: string;
55
55
  input: {
56
56
  script: string;
57
- } & Record<string, unknown>;
57
+ [key: string]: unknown;
58
+ };
58
59
  result: FreestyleExecuteScriptResultSuccess | HandleExecuteScriptError;
59
60
  }) => void | Promise<void>;
60
61
  truncateOutput?: boolean;
@@ -69,11 +70,12 @@ export const executeTool = (
69
70
  return tool({
70
71
  description: executeCodeDescription(envVars, nodeModules),
71
72
  parameters: executeCodeSchema,
72
- execute: async ({ script, ...otherParams }) => {
73
+ execute: async ({ script, ...otherParams }, { toolCallId }) => {
73
74
  try {
74
75
  const res = await api.executeScript(script, config);
75
76
  if (config.onResult) {
76
77
  await config.onResult({
78
+ toolCallId,
77
79
  result: res,
78
80
  input: {
79
81
  script,
@@ -15,6 +15,7 @@ export const prepareDirForDeployment = async (
15
15
  ignore: ["**/node_modules/**"],
16
16
  absolute: false,
17
17
  dot: true,
18
+ posix: true,
18
19
  });
19
20
 
20
21
  for (const relativePath of patterns) {
@@ -47,6 +48,7 @@ export const prepareDirForDeploymentSync = (
47
48
  ignore: ["**/node_modules/**"],
48
49
  absolute: false,
49
50
  dot: true,
51
+ posix: true,
50
52
  });
51
53
 
52
54
  for (const relativePath of patterns) {
@@ -1,172 +0,0 @@
1
- type FreestyleCloudstateDeployConfiguration = {
2
- /**
3
- * ID of the project to deploy, if not provided will create a new project
4
- */
5
- projectId?: (string) | null;
6
- /**
7
- * The environment variables that the cloudstate deploy can access
8
- */
9
- envVars?: {
10
- [key: string]: (string);
11
- };
12
- };
13
- type FreestyleCloudstateDeployErrorResponse = {
14
- message: string;
15
- };
16
- type FreestyleCloudstateDeployRequest = {
17
- classes: string;
18
- config?: FreestyleCloudstateDeployConfiguration;
19
- };
20
- type FreestyleCloudstateDeploySuccessResponse = {
21
- /**
22
- * The id of the project deployed to
23
- */
24
- projectId: string;
25
- };
26
- type FreestyleDeployWebConfiguration = {
27
- /**
28
- * The entrypoint file for the website
29
- */
30
- entrypoint?: (string) | null;
31
- /**
32
- * The custom domains for the website, eg. [\"subdomain.yourwebsite.com\"]. You may not include *.style.dev domains here, those are reserved for projectIds
33
- */
34
- domains?: Array<(string)> | null;
35
- /**
36
- * The project id to deploy to, if not provided will create a new project, may be used to provision a new project with a specific id if that id is available
37
- */
38
- projectId?: (string) | null;
39
- /**
40
- * Node Modules to install for the website, a map of package names to versions, e.g. { \"express\": \"4.17.1\" }. If this and a package-lock.json are provided, the package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock is also provided, the versions here will override the versions in those lock files.
41
- */
42
- nodeModules?: {
43
- [key: string]: (string);
44
- } | null;
45
- /**
46
- * The environment variables that the website can access
47
- * e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
48
- */
49
- envVars?: {
50
- [key: string]: (string);
51
- } | null;
52
- };
53
- type FreestyleDeployWebErrorResponse = {
54
- message: string;
55
- };
56
- type FreestyleDeployWebPayload = {
57
- /**
58
- * The files to deploy, a map of file paths to file contents, e.g. { \"index.js\": {\"content\": \"your main\", \"encoding\": \"utf-8\"}, \"file2.js\": {\"content\": \"your helper\" } }
59
- *
60
- * **Do not include node modules in this bundle, they will not work**. Instead, includes a package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock, the node modules for the project will be installed from that lock file, or use the node_modules field in the configuration to specify the node modules to install.
61
- */
62
- files: {
63
- [key: string]: FreestyleFile;
64
- };
65
- config?: FreestyleDeployWebConfiguration;
66
- };
67
- type FreestyleDeployWebSuccessResponse = {
68
- projectId: string;
69
- };
70
- type FreestyleDomainVerificationRequest = {
71
- /**
72
- * The domain to create a verification code for
73
- */
74
- domain: string;
75
- };
76
- type FreestyleExecureScriptResultError = {
77
- error: string;
78
- };
79
- type FreestyleExecureScriptResultSuccess = {
80
- result: unknown;
81
- };
82
- type FreestyleExecuteScriptParams = {
83
- /**
84
- * The JavaScript or TypeScript script to execute
85
- */
86
- script: string;
87
- config?: FreestyleExecuteScriptParamsConfiguration;
88
- };
89
- type FreestyleExecuteScriptParamsConfiguration = {
90
- /**
91
- * The environment variables to set for the script
92
- */
93
- envVars?: {
94
- [key: string]: (string);
95
- };
96
- /**
97
- * The node modules to install for the script
98
- */
99
- nodeModules?: {
100
- [key: string]: (string);
101
- };
102
- /**
103
- * Tags for you to organize your scripts, useful for tracking what you're running
104
- */
105
- tags?: Array<(string)>;
106
- /**
107
- * The script timeout
108
- */
109
- timeout?: (string) | null;
110
- };
111
- type FreestyleFile = {
112
- /**
113
- * The content of the file
114
- */
115
- content: string;
116
- /**
117
- * The encoding of the file. Either **utf-8** or **base64**
118
- */
119
- encoding?: string;
120
- };
121
- type FreestyleLogResponseObject = {
122
- message: string;
123
- };
124
- type FreestyleVerifyDomainRequest = {
125
- domain: string;
126
- };
127
- type HandleDeployCloudstateData = {
128
- body: FreestyleCloudstateDeployRequest;
129
- };
130
- type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
131
- type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
132
- type HandleBackupCloudstateResponse = (Array<(number)>);
133
- type HandleBackupCloudstateError = (unknown);
134
- type HandleListDomainsResponse = ({
135
- domains: Array<(string)>;
136
- });
137
- type HandleListDomainsError = ({
138
- message: string;
139
- });
140
- type HandleVerifyDomainData = {
141
- body: FreestyleVerifyDomainRequest;
142
- };
143
- type HandleVerifyDomainResponse = ({
144
- domain: string;
145
- });
146
- type HandleVerifyDomainError = ({
147
- message: string;
148
- });
149
- type HandleCreateDomainVerificationData = {
150
- body: FreestyleDomainVerificationRequest;
151
- };
152
- type HandleCreateDomainVerificationResponse = ({
153
- verification_code: string;
154
- domain: string;
155
- });
156
- type HandleCreateDomainVerificationError = ({
157
- message: string;
158
- });
159
- type HandleExecuteScriptData = {
160
- body: FreestyleExecuteScriptParams;
161
- };
162
- type HandleExecuteScriptResponse = (FreestyleExecureScriptResultSuccess);
163
- type HandleExecuteScriptError = (FreestyleExecureScriptResultError);
164
- type HandleDeployWebData = {
165
- body: FreestyleDeployWebPayload;
166
- };
167
- type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
168
- type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
169
- type HandleGetLogsResponse = (Array<FreestyleLogResponseObject>);
170
- type HandleGetLogsError = unknown;
171
-
172
- export type { HandleCreateDomainVerificationData as A, HandleCreateDomainVerificationError as B, HandleExecuteScriptData as C, HandleExecuteScriptResponse as D, HandleExecuteScriptError as E, FreestyleExecuteScriptParamsConfiguration as F, HandleDeployWebData as G, HandleBackupCloudstateResponse as H, HandleDeployWebResponse as I, HandleDeployWebError as J, HandleGetLogsError as K, FreestyleExecureScriptResultSuccess as a, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleListDomainsResponse as i, FreestyleCloudstateDeployConfiguration as j, FreestyleCloudstateDeployErrorResponse as k, FreestyleDeployWebErrorResponse as l, FreestyleDeployWebPayload as m, FreestyleDomainVerificationRequest as n, FreestyleExecureScriptResultError as o, FreestyleExecuteScriptParams as p, FreestyleFile as q, FreestyleLogResponseObject as r, FreestyleVerifyDomainRequest as s, HandleDeployCloudstateData as t, HandleDeployCloudstateResponse as u, HandleDeployCloudstateError as v, HandleBackupCloudstateError as w, HandleListDomainsError as x, HandleVerifyDomainData as y, HandleVerifyDomainError as z };