freestyle-sandboxes 0.0.94 → 0.0.95

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 +1 -1
  2. package/dist/ai/inde.d.mts +1 -1
  3. package/dist/ai/index.d.cts +1 -1
  4. package/dist/ai/index.d.mts +1 -1
  5. package/dist/inde.d.cts +5 -4
  6. package/dist/inde.d.mts +5 -4
  7. package/dist/index.cjs +4 -2
  8. package/dist/index.d.cts +5 -4
  9. package/dist/index.d.mts +5 -4
  10. package/dist/index.mjs +4 -2
  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-DKjMRuu5.d.ts} +335 -23
  20. package/dist/utils/inde.d.cts +1 -1
  21. package/dist/utils/inde.d.mts +1 -1
  22. package/dist/utils/index.d.cts +1 -1
  23. package/dist/utils/index.d.mts +1 -1
  24. package/openapi/sdk.gen.ts +234 -1
  25. package/openapi/types.gen.ts +382 -22
  26. package/openapi.json +1 -1
  27. package/package.json +1 -1
  28. package/src/index.ts +4 -1
  29. package/dist/index-BBXyg0JQ.cjs +0 -3253
  30. package/dist/index-BQHqnjZK.mjs +0 -3231
  31. package/dist/index-CEEa9WHp.cjs +0 -3238
  32. package/dist/index-D1ulQeJR.mjs +0 -3247
  33. package/dist/index-DCF70Xbq.mjs +0 -3246
  34. package/dist/index-H7UNEAjs.cjs +0 -3254
  35. package/dist/index.d-CXx1AdyW.d.ts +0 -4210
  36. package/dist/types.gen-1sd31qLV.d.ts +0 -172
  37. package/dist/types.gen-627pxroW.d.ts +0 -830
  38. package/dist/types.gen-BCdfx7yt.d.ts +0 -760
  39. package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
  40. package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
  41. package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
  42. package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
  43. package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
  44. package/dist/types.gen-BqN1t03N.d.ts +0 -842
  45. package/dist/types.gen-BtK6PMQy.d.ts +0 -195
  46. package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
  47. package/dist/types.gen-BzRtj_TA.d.ts +0 -725
  48. package/dist/types.gen-C03gaIPq.d.ts +0 -297
  49. package/dist/types.gen-CG8tIO9M.d.ts +0 -1493
  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,182 +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 HandleBackupCloudstateData = {
133
- path: {
134
- id: string;
135
- };
136
- };
137
- type HandleBackupCloudstateResponse = (Array<(number)>);
138
- type HandleBackupCloudstateError = (unknown);
139
- type HandleListDomainsResponse = ({
140
- domains: Array<(string)>;
141
- });
142
- type HandleListDomainsError = ({
143
- message: string;
144
- });
145
- type HandleVerifyDomainData = {
146
- body: FreestyleVerifyDomainRequest;
147
- };
148
- type HandleVerifyDomainResponse = ({
149
- domain: string;
150
- });
151
- type HandleVerifyDomainError = ({
152
- message: string;
153
- });
154
- type HandleCreateDomainVerificationData = {
155
- body: FreestyleDomainVerificationRequest;
156
- };
157
- type HandleCreateDomainVerificationResponse = ({
158
- verificationCode: string;
159
- domain: string;
160
- });
161
- type HandleCreateDomainVerificationError = ({
162
- message: string;
163
- });
164
- type HandleExecuteScriptData = {
165
- body: FreestyleExecuteScriptParams;
166
- };
167
- type HandleExecuteScriptResponse = (FreestyleExecureScriptResultSuccess);
168
- type HandleExecuteScriptError = (FreestyleExecureScriptResultError);
169
- type HandleDeployWebData = {
170
- body: FreestyleDeployWebPayload;
171
- };
172
- type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
173
- type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
174
- type HandleGetLogsData = {
175
- path: {
176
- id: string;
177
- };
178
- };
179
- type HandleGetLogsResponse = (Array<FreestyleLogResponseObject>);
180
- type HandleGetLogsError = unknown;
181
-
182
- export type { HandleVerifyDomainError as A, HandleCreateDomainVerificationData as B, HandleCreateDomainVerificationError as C, HandleExecuteScriptData as D, HandleExecuteScriptResponse as E, FreestyleExecuteScriptParamsConfiguration as F, HandleExecuteScriptError as G, HandleBackupCloudstateResponse as H, HandleDeployWebData as I, HandleDeployWebResponse as J, HandleDeployWebError as K, HandleGetLogsData as L, HandleGetLogsError as M, 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, HandleBackupCloudstateData as w, HandleBackupCloudstateError as x, HandleListDomainsError as y, HandleVerifyDomainData as z };