freestyle-sandboxes 0.0.94 → 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.
Files changed (66) hide show
  1. package/dist/ai/inde.d.cts +7 -3
  2. package/dist/ai/inde.d.mts +7 -3
  3. package/dist/ai/index.d.cts +7 -3
  4. package/dist/ai/index.d.mts +7 -3
  5. package/dist/inde.d.cts +8 -7
  6. package/dist/inde.d.mts +8 -7
  7. package/dist/index.cjs +8 -6
  8. package/dist/index.d.cts +8 -7
  9. package/dist/index.d.mts +8 -7
  10. package/dist/index.mjs +8 -6
  11. package/dist/langgraph/inde.d.cts +1 -1
  12. package/dist/langgraph/inde.d.mts +1 -1
  13. package/dist/langgraph/index.d.cts +1 -1
  14. package/dist/langgraph/index.d.mts +1 -1
  15. package/dist/mastra/inde.d.cts +1 -1
  16. package/dist/mastra/inde.d.mts +1 -1
  17. package/dist/mastra/index.d.cts +1 -1
  18. package/dist/mastra/index.d.mts +1 -1
  19. package/dist/{types.gen--Oxc46AH.d.ts → types.gen-CJa21P0C.d.ts} +344 -28
  20. package/dist/{types.gen-CG8tIO9M.d.ts → types.gen-DKjMRuu5.d.ts} +448 -43
  21. package/dist/utils/inde.d.cts +1 -1
  22. package/dist/utils/inde.d.mts +1 -1
  23. package/dist/utils/index.d.cts +1 -1
  24. package/dist/utils/index.d.mts +1 -1
  25. package/openapi/sdk.gen.ts +236 -3
  26. package/openapi/types.gen.ts +391 -29
  27. package/openapi.json +1 -1
  28. package/package.json +1 -1
  29. package/src/index.ts +10 -8
  30. package/dist/index-BBXyg0JQ.cjs +0 -3253
  31. package/dist/index-BQHqnjZK.mjs +0 -3231
  32. package/dist/index-CEEa9WHp.cjs +0 -3238
  33. package/dist/index-D1ulQeJR.mjs +0 -3247
  34. package/dist/index-DCF70Xbq.mjs +0 -3246
  35. package/dist/index-H7UNEAjs.cjs +0 -3254
  36. package/dist/index.d-CXx1AdyW.d.ts +0 -4210
  37. package/dist/types.gen-1sd31qLV.d.ts +0 -172
  38. package/dist/types.gen-627pxroW.d.ts +0 -830
  39. package/dist/types.gen-BCdfx7yt.d.ts +0 -760
  40. package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
  41. package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
  42. package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
  43. package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
  44. package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
  45. package/dist/types.gen-BqN1t03N.d.ts +0 -842
  46. package/dist/types.gen-BtK6PMQy.d.ts +0 -195
  47. package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
  48. package/dist/types.gen-BzRtj_TA.d.ts +0 -725
  49. package/dist/types.gen-C03gaIPq.d.ts +0 -297
  50. package/dist/types.gen-CIf3ciN7.d.ts +0 -807
  51. package/dist/types.gen-CMuCas4r.d.ts +0 -183
  52. package/dist/types.gen-CWa4Mw0J.d.ts +0 -1493
  53. package/dist/types.gen-CZUnqmzP.d.ts +0 -789
  54. package/dist/types.gen-CnEkmbco.d.ts +0 -314
  55. package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
  56. package/dist/types.gen-DHmdEOOa.d.ts +0 -172
  57. package/dist/types.gen-DLYohMJT.d.ts +0 -382
  58. package/dist/types.gen-DbTb_SrD.d.ts +0 -156
  59. package/dist/types.gen-DkFlXKTr.d.ts +0 -1354
  60. package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
  61. package/dist/types.gen-DyY7Deri.d.ts +0 -138
  62. package/dist/types.gen-MBZCvIhE.d.ts +0 -311
  63. package/dist/types.gen-YhJAHBw8.d.ts +0 -233
  64. package/dist/types.gen-cCnnhnB6.d.ts +0 -182
  65. package/dist/types.gen-mg_JNXrq.d.ts +0 -830
  66. package/dist/types.gen-uDTr6v-7.d.ts +0 -731
@@ -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 };