freestyle-sandboxes 0.0.93 → 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.
- package/dist/ai/inde.d.cts +1 -1
- package/dist/ai/inde.d.mts +1 -1
- package/dist/ai/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- package/dist/inde.d.cts +16 -6
- package/dist/inde.d.mts +16 -6
- package/dist/index.cjs +19 -8
- package/dist/index.d.cts +16 -6
- package/dist/index.d.mts +16 -6
- package/dist/index.mjs +19 -8
- 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-CG8tIO9M.d.ts → types.gen-DKjMRuu5.d.ts} +448 -43
- 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 +234 -1
- package/openapi/types.gen.ts +389 -19
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +22 -1
- package/dist/index-BBXyg0JQ.cjs +0 -3253
- package/dist/index-BQHqnjZK.mjs +0 -3231
- package/dist/index-CEEa9WHp.cjs +0 -3238
- package/dist/index-D1ulQeJR.mjs +0 -3247
- package/dist/index-DCF70Xbq.mjs +0 -3246
- package/dist/index-H7UNEAjs.cjs +0 -3254
- package/dist/index.d-CXx1AdyW.d.ts +0 -4210
- package/dist/types.gen-1sd31qLV.d.ts +0 -172
- package/dist/types.gen-627pxroW.d.ts +0 -830
- package/dist/types.gen-BCdfx7yt.d.ts +0 -760
- package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
- package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
- package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
- package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
- package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
- package/dist/types.gen-BqN1t03N.d.ts +0 -842
- package/dist/types.gen-BtK6PMQy.d.ts +0 -195
- package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
- package/dist/types.gen-BzRtj_TA.d.ts +0 -725
- package/dist/types.gen-C03gaIPq.d.ts +0 -297
- package/dist/types.gen-CIf3ciN7.d.ts +0 -807
- package/dist/types.gen-CMuCas4r.d.ts +0 -183
- package/dist/types.gen-CWa4Mw0J.d.ts +0 -1493
- package/dist/types.gen-CZUnqmzP.d.ts +0 -789
- package/dist/types.gen-CnEkmbco.d.ts +0 -314
- package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
- package/dist/types.gen-DHmdEOOa.d.ts +0 -172
- package/dist/types.gen-DLYohMJT.d.ts +0 -382
- package/dist/types.gen-DbTb_SrD.d.ts +0 -156
- package/dist/types.gen-DkFlXKTr.d.ts +0 -1354
- package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
- package/dist/types.gen-DyY7Deri.d.ts +0 -138
- package/dist/types.gen-MBZCvIhE.d.ts +0 -311
- package/dist/types.gen-YhJAHBw8.d.ts +0 -233
- package/dist/types.gen-cCnnhnB6.d.ts +0 -182
- package/dist/types.gen-mg_JNXrq.d.ts +0 -830
- package/dist/types.gen-uDTr6v-7.d.ts +0 -731
|
@@ -1,789 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Identical to [`RepositoryInfo`], but with the permissions field added.
|
|
3
|
-
*/
|
|
4
|
-
type AccessibleRepository = {
|
|
5
|
-
id: string;
|
|
6
|
-
name?: (string) | null;
|
|
7
|
-
accountId: string;
|
|
8
|
-
permissions: AccessLevel;
|
|
9
|
-
visibility: Visibility;
|
|
10
|
-
};
|
|
11
|
-
type AccessLevel = 'read' | 'write';
|
|
12
|
-
type AccessTokenInfo = {
|
|
13
|
-
id: string;
|
|
14
|
-
};
|
|
15
|
-
type Behavior = 'regex' | 'exact';
|
|
16
|
-
type BuildOptions = {
|
|
17
|
-
command?: (string) | null;
|
|
18
|
-
};
|
|
19
|
-
type CreateDomainMappingRequest = {
|
|
20
|
-
deploymentId: string;
|
|
21
|
-
};
|
|
22
|
-
type CreatedToken = {
|
|
23
|
-
id: string;
|
|
24
|
-
token: string;
|
|
25
|
-
};
|
|
26
|
-
type CreateRecordParams = {
|
|
27
|
-
domain: string;
|
|
28
|
-
record: DnsRecordData;
|
|
29
|
-
};
|
|
30
|
-
type CreateRepositoryRequest = {
|
|
31
|
-
/**
|
|
32
|
-
* This name is not visible to users, and is only accessible to you via API and in the
|
|
33
|
-
* dashboard. Mostly useful for observability.
|
|
34
|
-
*/
|
|
35
|
-
name?: (string) | null;
|
|
36
|
-
public?: boolean;
|
|
37
|
-
};
|
|
38
|
-
type CreateRepositoryResponseSuccess = {
|
|
39
|
-
repoId: string;
|
|
40
|
-
};
|
|
41
|
-
type DeploymentLogEntry = {
|
|
42
|
-
deploymentId: string;
|
|
43
|
-
accountId: string;
|
|
44
|
-
provisionedAt: string;
|
|
45
|
-
timeout: string;
|
|
46
|
-
state: DeploymentState;
|
|
47
|
-
deployedAt?: (string) | null;
|
|
48
|
-
domains: Array<(string)>;
|
|
49
|
-
envVars: {
|
|
50
|
-
[key: string]: (string);
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
type DeploymentSource = {
|
|
54
|
-
files: {
|
|
55
|
-
[key: string]: FreestyleFile;
|
|
56
|
-
};
|
|
57
|
-
kind: 'files';
|
|
58
|
-
} | {
|
|
59
|
-
url: string;
|
|
60
|
-
kind: 'tar';
|
|
61
|
-
};
|
|
62
|
-
type kind = 'files';
|
|
63
|
-
type DeploymentState = 'provisioning' | 'deployed' | 'failed';
|
|
64
|
-
type DescribePermissionResponseSuccess = {
|
|
65
|
-
identity: string;
|
|
66
|
-
repo: string;
|
|
67
|
-
accessLevel?: (null | AccessLevel);
|
|
68
|
-
};
|
|
69
|
-
type DevServer = {
|
|
70
|
-
domain?: (string) | null;
|
|
71
|
-
command?: (string) | null;
|
|
72
|
-
};
|
|
73
|
-
type DnsRecord = {
|
|
74
|
-
kind: DnsRecordKind;
|
|
75
|
-
name: string;
|
|
76
|
-
value: string;
|
|
77
|
-
ttl: string;
|
|
78
|
-
priority?: (number) | null;
|
|
79
|
-
managed: boolean;
|
|
80
|
-
};
|
|
81
|
-
type DnsRecordData = {
|
|
82
|
-
kind: DnsRecordKind;
|
|
83
|
-
name: string;
|
|
84
|
-
value: string;
|
|
85
|
-
ttl?: (string) | null;
|
|
86
|
-
priority?: (number) | null;
|
|
87
|
-
};
|
|
88
|
-
type DnsRecordKind = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'NS';
|
|
89
|
-
type DomainVerificationRequest = {
|
|
90
|
-
id: string;
|
|
91
|
-
domain: string;
|
|
92
|
-
accountId: string;
|
|
93
|
-
verificationCode: string;
|
|
94
|
-
createdAt: number;
|
|
95
|
-
};
|
|
96
|
-
type ExecuteLogEntry = {
|
|
97
|
-
deployment: string;
|
|
98
|
-
accountId: string;
|
|
99
|
-
provisionedAt: string;
|
|
100
|
-
startedAt?: (string) | null;
|
|
101
|
-
duration?: (string) | null;
|
|
102
|
-
state: ExecuteRunState;
|
|
103
|
-
envVars: {
|
|
104
|
-
[key: string]: (string);
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
type ExecuteRunInfo = {
|
|
108
|
-
code: string;
|
|
109
|
-
nodeModules: {
|
|
110
|
-
[key: string]: (string);
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
type ExecuteRunState = 'starting' | 'running' | 'complete';
|
|
114
|
-
type FreestyleCloudstateDeployConfiguration = {
|
|
115
|
-
/**
|
|
116
|
-
* ID of the project to deploy, if not provided will create a new project
|
|
117
|
-
*/
|
|
118
|
-
domains?: Array<(string)> | null;
|
|
119
|
-
/**
|
|
120
|
-
* The environment variables that the cloudstate deploy can access
|
|
121
|
-
*/
|
|
122
|
-
envVars?: {
|
|
123
|
-
[key: string]: (string);
|
|
124
|
-
};
|
|
125
|
-
cloudstateDatabaseId?: (string) | null;
|
|
126
|
-
};
|
|
127
|
-
type FreestyleCloudstateDeployErrorResponse = {
|
|
128
|
-
message: string;
|
|
129
|
-
};
|
|
130
|
-
type FreestyleCloudstateDeployRequest = {
|
|
131
|
-
classes: string;
|
|
132
|
-
config?: FreestyleCloudstateDeployConfiguration;
|
|
133
|
-
};
|
|
134
|
-
type FreestyleCloudstateDeploySuccessResponse = {
|
|
135
|
-
deploymentId: string;
|
|
136
|
-
cloudstateDatabaseId: string;
|
|
137
|
-
};
|
|
138
|
-
type FreestyleDeleteDomainVerificationRequest = {
|
|
139
|
-
/**
|
|
140
|
-
* The domain to create a verification code for
|
|
141
|
-
*/
|
|
142
|
-
domain: string;
|
|
143
|
-
/**
|
|
144
|
-
* The verification code
|
|
145
|
-
*/
|
|
146
|
-
verificationCode: string;
|
|
147
|
-
};
|
|
148
|
-
type FreestyleDeployWebConfiguration = {
|
|
149
|
-
/**
|
|
150
|
-
* The entrypoint file for the website
|
|
151
|
-
*/
|
|
152
|
-
entrypoint?: (string) | null;
|
|
153
|
-
/**
|
|
154
|
-
* The custom domains for the website, eg. [\"subdomain.yourwebsite.com\"]. You may include a single *.style.dev domain here.
|
|
155
|
-
*/
|
|
156
|
-
domains?: Array<(string)> | null;
|
|
157
|
-
/**
|
|
158
|
-
* Project ID was our original way of tracking deployments together, it is now deprecated and will be removed in the future. Please use the domains field to specify the domains for your project.
|
|
159
|
-
* @deprecated
|
|
160
|
-
*/
|
|
161
|
-
projectId?: (string) | null;
|
|
162
|
-
/**
|
|
163
|
-
* 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.
|
|
164
|
-
*/
|
|
165
|
-
nodeModules?: {
|
|
166
|
-
[key: string]: (string);
|
|
167
|
-
} | null;
|
|
168
|
-
/**
|
|
169
|
-
* The environment variables that the website can access
|
|
170
|
-
* e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
|
|
171
|
-
*/
|
|
172
|
-
envVars?: {
|
|
173
|
-
[key: string]: (string);
|
|
174
|
-
} | null;
|
|
175
|
-
serverStartCheck?: boolean;
|
|
176
|
-
networkPermissions?: Array<FreestyleNetworkPermission> | null;
|
|
177
|
-
build?: (null | BuildOptions);
|
|
178
|
-
/**
|
|
179
|
-
* Timeout for the deployment in seconds. If not provided, the default is 10 seconds.
|
|
180
|
-
*/
|
|
181
|
-
timeout?: (number) | null;
|
|
182
|
-
};
|
|
183
|
-
type FreestyleDeployWebErrorResponse = {
|
|
184
|
-
message: string;
|
|
185
|
-
};
|
|
186
|
-
type FreestyleDeployWebPayload = {
|
|
187
|
-
/**
|
|
188
|
-
* 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\" } }
|
|
189
|
-
*
|
|
190
|
-
* **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.
|
|
191
|
-
*/
|
|
192
|
-
files: {
|
|
193
|
-
[key: string]: FreestyleFile;
|
|
194
|
-
};
|
|
195
|
-
config?: FreestyleDeployWebConfiguration;
|
|
196
|
-
};
|
|
197
|
-
type FreestyleDeployWebPayloadV2 = {
|
|
198
|
-
/**
|
|
199
|
-
* 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\" } }
|
|
200
|
-
*
|
|
201
|
-
* **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.
|
|
202
|
-
*/
|
|
203
|
-
source: DeploymentSource;
|
|
204
|
-
config?: FreestyleDeployWebConfiguration;
|
|
205
|
-
};
|
|
206
|
-
type FreestyleDeployWebSuccessResponseV2 = {
|
|
207
|
-
deploymentId: string;
|
|
208
|
-
/**
|
|
209
|
-
* @deprecated
|
|
210
|
-
*/
|
|
211
|
-
projectId: string;
|
|
212
|
-
domains?: Array<(string)> | null;
|
|
213
|
-
};
|
|
214
|
-
type FreestyleDomainVerificationRequest = {
|
|
215
|
-
/**
|
|
216
|
-
* The domain to create a verification code for
|
|
217
|
-
*/
|
|
218
|
-
domain: string;
|
|
219
|
-
};
|
|
220
|
-
type FreestyleExecuteScriptParams = {
|
|
221
|
-
/**
|
|
222
|
-
* The JavaScript or TypeScript script to execute
|
|
223
|
-
*/
|
|
224
|
-
script: string;
|
|
225
|
-
config?: FreestyleExecuteScriptParamsConfiguration;
|
|
226
|
-
};
|
|
227
|
-
type FreestyleExecuteScriptParamsConfiguration = {
|
|
228
|
-
/**
|
|
229
|
-
* The environment variables to set for the script
|
|
230
|
-
*/
|
|
231
|
-
envVars?: {
|
|
232
|
-
[key: string]: (string);
|
|
233
|
-
};
|
|
234
|
-
/**
|
|
235
|
-
* The node modules to install for the script
|
|
236
|
-
*/
|
|
237
|
-
nodeModules?: {
|
|
238
|
-
[key: string]: (string);
|
|
239
|
-
};
|
|
240
|
-
/**
|
|
241
|
-
* Tags for you to organize your scripts, useful for tracking what you're running
|
|
242
|
-
*/
|
|
243
|
-
tags?: Array<(string)>;
|
|
244
|
-
/**
|
|
245
|
-
* The script timeout
|
|
246
|
-
*/
|
|
247
|
-
timeout?: (string) | null;
|
|
248
|
-
/**
|
|
249
|
-
* If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified.
|
|
250
|
-
*/
|
|
251
|
-
peerDependencyResolution?: boolean;
|
|
252
|
-
networkPermissions?: Array<FreestyleNetworkPermission> | null;
|
|
253
|
-
/**
|
|
254
|
-
* These headers will be added to every fetch request made through the script
|
|
255
|
-
*/
|
|
256
|
-
customHeaders?: {
|
|
257
|
-
[key: string]: (string);
|
|
258
|
-
};
|
|
259
|
-
/**
|
|
260
|
-
* Proxy all outgoing requests through this URL
|
|
261
|
-
*/
|
|
262
|
-
proxy?: (string) | null;
|
|
263
|
-
};
|
|
264
|
-
type FreestyleExecuteScriptResultSuccess = {
|
|
265
|
-
/**
|
|
266
|
-
* The return value of the default export of the script
|
|
267
|
-
*/
|
|
268
|
-
result: unknown;
|
|
269
|
-
logs: Array<FreestyleJavaScriptLog>;
|
|
270
|
-
};
|
|
271
|
-
type FreestyleFile = {
|
|
272
|
-
/**
|
|
273
|
-
* The content of the file
|
|
274
|
-
*/
|
|
275
|
-
content: string;
|
|
276
|
-
/**
|
|
277
|
-
* The encoding of the file. Either **utf-8** or **base64**
|
|
278
|
-
*/
|
|
279
|
-
encoding?: string;
|
|
280
|
-
};
|
|
281
|
-
type FreestyleGetLogsResponse = {
|
|
282
|
-
logs: Array<FreestyleLogResponseObject>;
|
|
283
|
-
};
|
|
284
|
-
type FreestyleJavaScriptLog = {
|
|
285
|
-
/**
|
|
286
|
-
* The log message
|
|
287
|
-
*/
|
|
288
|
-
message: string;
|
|
289
|
-
/**
|
|
290
|
-
* The log level
|
|
291
|
-
*/
|
|
292
|
-
type: string;
|
|
293
|
-
};
|
|
294
|
-
type FreestyleLogResponseObject = {
|
|
295
|
-
message: string;
|
|
296
|
-
timestamp: string;
|
|
297
|
-
};
|
|
298
|
-
type FreestyleNetworkPermission = (NetworkPermissionData & {
|
|
299
|
-
action: 'allow';
|
|
300
|
-
}) | (NetworkPermissionData & {
|
|
301
|
-
action: 'deny';
|
|
302
|
-
});
|
|
303
|
-
type action = 'allow';
|
|
304
|
-
/**
|
|
305
|
-
* Verify a domain verification request, can either be done for a domain, or for a specific request
|
|
306
|
-
*/
|
|
307
|
-
type FreestyleVerifyDomainRequest = {
|
|
308
|
-
domain: string;
|
|
309
|
-
} | {
|
|
310
|
-
id: string;
|
|
311
|
-
};
|
|
312
|
-
type GitIdentity = {
|
|
313
|
-
id: string;
|
|
314
|
-
};
|
|
315
|
-
type GitRepositoryTrigger = {
|
|
316
|
-
repositoryId: string;
|
|
317
|
-
trigger: ({
|
|
318
|
-
branches?: Array<(string)> | null;
|
|
319
|
-
globs?: Array<(string)> | null;
|
|
320
|
-
event: 'push';
|
|
321
|
-
});
|
|
322
|
-
action: ({
|
|
323
|
-
endpoint: string;
|
|
324
|
-
action: 'webhook';
|
|
325
|
-
});
|
|
326
|
-
managed: boolean;
|
|
327
|
-
id: string;
|
|
328
|
-
createdAt: number;
|
|
329
|
-
};
|
|
330
|
-
type event = 'push';
|
|
331
|
-
type action2 = 'webhook';
|
|
332
|
-
type GitTrigger = {
|
|
333
|
-
branches?: Array<(string)> | null;
|
|
334
|
-
globs?: Array<(string)> | null;
|
|
335
|
-
event: 'push';
|
|
336
|
-
};
|
|
337
|
-
type GitTriggerAction = {
|
|
338
|
-
endpoint: string;
|
|
339
|
-
action: 'webhook';
|
|
340
|
-
};
|
|
341
|
-
type GrantPermissionRequest = {
|
|
342
|
-
permission: AccessLevel;
|
|
343
|
-
};
|
|
344
|
-
type InternalServerError = string;
|
|
345
|
-
type ListGitTokensResponseSuccess = {
|
|
346
|
-
tokens: Array<AccessTokenInfo>;
|
|
347
|
-
};
|
|
348
|
-
type ListPermissionResponseSuccess = {
|
|
349
|
-
repositories: Array<AccessibleRepository>;
|
|
350
|
-
};
|
|
351
|
-
type ListRecordsResponse = {
|
|
352
|
-
records: Array<DnsRecord>;
|
|
353
|
-
};
|
|
354
|
-
type NetworkPermissionData = {
|
|
355
|
-
query: string;
|
|
356
|
-
behavior?: Behavior;
|
|
357
|
-
};
|
|
358
|
-
type RepositoryInfo = {
|
|
359
|
-
id: string;
|
|
360
|
-
name?: (string) | null;
|
|
361
|
-
accountId: string;
|
|
362
|
-
visibility: Visibility;
|
|
363
|
-
};
|
|
364
|
-
type RevokeGitTokenRequest = {
|
|
365
|
-
tokenId: string;
|
|
366
|
-
};
|
|
367
|
-
type UpdatePermissionRequest = {
|
|
368
|
-
permission: AccessLevel;
|
|
369
|
-
};
|
|
370
|
-
type Visibility = 'public' | 'private';
|
|
371
|
-
type HandleDeployCloudstateData = {
|
|
372
|
-
body: FreestyleCloudstateDeployRequest;
|
|
373
|
-
};
|
|
374
|
-
type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
|
|
375
|
-
type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
|
|
376
|
-
type HandleBackupCloudstateData = {
|
|
377
|
-
path: {
|
|
378
|
-
id: string;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
type HandleBackupCloudstateResponse = (Array<(number)>);
|
|
382
|
-
type HandleBackupCloudstateError = (unknown);
|
|
383
|
-
type HandleListRecordsData = {
|
|
384
|
-
query: {
|
|
385
|
-
domain: string;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
type HandleListRecordsResponse = (ListRecordsResponse);
|
|
389
|
-
type HandleListRecordsError = ({
|
|
390
|
-
message: string;
|
|
391
|
-
});
|
|
392
|
-
type HandleCreateRecordData = {
|
|
393
|
-
body: CreateRecordParams;
|
|
394
|
-
};
|
|
395
|
-
type HandleCreateRecordResponse = ({
|
|
396
|
-
record: DnsRecord;
|
|
397
|
-
});
|
|
398
|
-
type HandleCreateRecordError = ({
|
|
399
|
-
message: string;
|
|
400
|
-
});
|
|
401
|
-
type HandleDeleteRecordData = {
|
|
402
|
-
query: {
|
|
403
|
-
domain: string;
|
|
404
|
-
record: DnsRecord;
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
type HandleDeleteRecordResponse = ({
|
|
408
|
-
message: string;
|
|
409
|
-
});
|
|
410
|
-
type HandleDeleteRecordError = ({
|
|
411
|
-
message: string;
|
|
412
|
-
});
|
|
413
|
-
type HandleVerifyWildcardData = {
|
|
414
|
-
path: {
|
|
415
|
-
domain: string;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
type HandleVerifyWildcardResponse = ({
|
|
419
|
-
domain: string;
|
|
420
|
-
});
|
|
421
|
-
type HandleVerifyWildcardError = ({
|
|
422
|
-
message: string;
|
|
423
|
-
});
|
|
424
|
-
type HandleListDomainsResponse = (Array<{
|
|
425
|
-
domain: string;
|
|
426
|
-
createdAt: number;
|
|
427
|
-
}>);
|
|
428
|
-
type HandleListDomainsError = ({
|
|
429
|
-
message: string;
|
|
430
|
-
});
|
|
431
|
-
type HandleInsertDomainMappingData = {
|
|
432
|
-
body: CreateDomainMappingRequest;
|
|
433
|
-
path: {
|
|
434
|
-
domain: string;
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
type HandleInsertDomainMappingResponse = (unknown);
|
|
438
|
-
type HandleInsertDomainMappingError = ({
|
|
439
|
-
message: string;
|
|
440
|
-
});
|
|
441
|
-
type HandleDeleteDomainMappingData = {
|
|
442
|
-
path: {
|
|
443
|
-
domain: string;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
446
|
-
type HandleDeleteDomainMappingResponse = (unknown);
|
|
447
|
-
type HandleDeleteDomainMappingError = ({
|
|
448
|
-
message: string;
|
|
449
|
-
});
|
|
450
|
-
type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
451
|
-
verificationCode: string;
|
|
452
|
-
domain: string;
|
|
453
|
-
createdAt: number;
|
|
454
|
-
}>);
|
|
455
|
-
type HandleListDomainVerificationRequestsError = ({
|
|
456
|
-
message: string;
|
|
457
|
-
});
|
|
458
|
-
type HandleVerifyDomainData = {
|
|
459
|
-
body: FreestyleVerifyDomainRequest;
|
|
460
|
-
};
|
|
461
|
-
type HandleVerifyDomainResponse = ({
|
|
462
|
-
domain: string;
|
|
463
|
-
});
|
|
464
|
-
type HandleVerifyDomainError = ({
|
|
465
|
-
message: string;
|
|
466
|
-
});
|
|
467
|
-
type HandleCreateDomainVerificationData = {
|
|
468
|
-
body: FreestyleDomainVerificationRequest;
|
|
469
|
-
};
|
|
470
|
-
type HandleCreateDomainVerificationResponse = (DomainVerificationRequest);
|
|
471
|
-
type HandleCreateDomainVerificationError = ({
|
|
472
|
-
message: string;
|
|
473
|
-
});
|
|
474
|
-
type HandleDeleteDomainVerificationData = {
|
|
475
|
-
body: FreestyleDeleteDomainVerificationRequest;
|
|
476
|
-
};
|
|
477
|
-
type HandleDeleteDomainVerificationResponse = ({
|
|
478
|
-
verificationCode: string;
|
|
479
|
-
domain: string;
|
|
480
|
-
});
|
|
481
|
-
type HandleDeleteDomainVerificationError = ({
|
|
482
|
-
message: string;
|
|
483
|
-
});
|
|
484
|
-
type HandleEphemeralDevServerData = {
|
|
485
|
-
body: DevServer;
|
|
486
|
-
};
|
|
487
|
-
type HandleEphemeralDevServerResponse = ({
|
|
488
|
-
url: string;
|
|
489
|
-
isNew: boolean;
|
|
490
|
-
});
|
|
491
|
-
type HandleEphemeralDevServerError = (InternalServerError);
|
|
492
|
-
type HandleListExecuteRunsData = {
|
|
493
|
-
query?: {
|
|
494
|
-
limit?: (number) | null;
|
|
495
|
-
offset?: (number) | null;
|
|
496
|
-
};
|
|
497
|
-
};
|
|
498
|
-
type HandleListExecuteRunsResponse = ({
|
|
499
|
-
entries: Array<ExecuteLogEntry>;
|
|
500
|
-
total: number;
|
|
501
|
-
offset: number;
|
|
502
|
-
});
|
|
503
|
-
type HandleListExecuteRunsError = ({
|
|
504
|
-
message: string;
|
|
505
|
-
});
|
|
506
|
-
type HandleGetExecuteRunData = {
|
|
507
|
-
path: {
|
|
508
|
-
deployment: string;
|
|
509
|
-
};
|
|
510
|
-
};
|
|
511
|
-
type HandleGetExecuteRunResponse = ({
|
|
512
|
-
metadata: ExecuteLogEntry;
|
|
513
|
-
code: ExecuteRunInfo;
|
|
514
|
-
});
|
|
515
|
-
type HandleGetExecuteRunError = ({
|
|
516
|
-
message: string;
|
|
517
|
-
});
|
|
518
|
-
type HandleExecuteScriptData = {
|
|
519
|
-
body: FreestyleExecuteScriptParams;
|
|
520
|
-
};
|
|
521
|
-
type HandleExecuteScriptResponse = ({
|
|
522
|
-
/**
|
|
523
|
-
* The return value of the default export of the script
|
|
524
|
-
*/
|
|
525
|
-
result: unknown;
|
|
526
|
-
logs: Array<FreestyleJavaScriptLog>;
|
|
527
|
-
});
|
|
528
|
-
type HandleExecuteScriptError = ({
|
|
529
|
-
error: string;
|
|
530
|
-
logs?: Array<FreestyleJavaScriptLog> | null;
|
|
531
|
-
});
|
|
532
|
-
type HandleCreateIdentityResponse = (GitIdentity);
|
|
533
|
-
type HandleCreateIdentityError = ({
|
|
534
|
-
message: string;
|
|
535
|
-
});
|
|
536
|
-
type HandleDeleteIdentityData = {
|
|
537
|
-
path: {
|
|
538
|
-
identity: string;
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
type HandleDeleteIdentityResponse = ({
|
|
542
|
-
[key: string]: unknown;
|
|
543
|
-
});
|
|
544
|
-
type HandleDeleteIdentityError = ({
|
|
545
|
-
message: string;
|
|
546
|
-
});
|
|
547
|
-
type HandleListPermissionsData = {
|
|
548
|
-
path: {
|
|
549
|
-
identity: string;
|
|
550
|
-
};
|
|
551
|
-
query?: {
|
|
552
|
-
/**
|
|
553
|
-
* Maximum number of repositories to return
|
|
554
|
-
*/
|
|
555
|
-
limit?: number;
|
|
556
|
-
/**
|
|
557
|
-
* Offset for the list of repositories
|
|
558
|
-
*/
|
|
559
|
-
offset?: number;
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
type HandleListPermissionsResponse = (ListPermissionResponseSuccess);
|
|
563
|
-
type HandleListPermissionsError = ({
|
|
564
|
-
message: string;
|
|
565
|
-
});
|
|
566
|
-
type HandleDescribePermissionData = {
|
|
567
|
-
path: {
|
|
568
|
-
identity: string;
|
|
569
|
-
repo: string;
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
type HandleDescribePermissionResponse = (DescribePermissionResponseSuccess);
|
|
573
|
-
type HandleDescribePermissionError = ({
|
|
574
|
-
message: string;
|
|
575
|
-
});
|
|
576
|
-
type HandleGrantPermissionData = {
|
|
577
|
-
body: GrantPermissionRequest;
|
|
578
|
-
path: {
|
|
579
|
-
identity: string;
|
|
580
|
-
repo: string;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
type HandleGrantPermissionResponse = ({
|
|
584
|
-
[key: string]: unknown;
|
|
585
|
-
});
|
|
586
|
-
type HandleGrantPermissionError = ({
|
|
587
|
-
message: string;
|
|
588
|
-
});
|
|
589
|
-
type HandleRevokePermissionData = {
|
|
590
|
-
path: {
|
|
591
|
-
identity: string;
|
|
592
|
-
repo: string;
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
type HandleRevokePermissionResponse = ({
|
|
596
|
-
[key: string]: unknown;
|
|
597
|
-
});
|
|
598
|
-
type HandleRevokePermissionError = ({
|
|
599
|
-
message: string;
|
|
600
|
-
});
|
|
601
|
-
type HandleUpdatePermissionData = {
|
|
602
|
-
body: UpdatePermissionRequest;
|
|
603
|
-
path: {
|
|
604
|
-
identity: string;
|
|
605
|
-
repo: string;
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
type HandleUpdatePermissionResponse = ({
|
|
609
|
-
[key: string]: unknown;
|
|
610
|
-
});
|
|
611
|
-
type HandleUpdatePermissionError = ({
|
|
612
|
-
message: string;
|
|
613
|
-
});
|
|
614
|
-
type HandleListGitTokensData = {
|
|
615
|
-
path: {
|
|
616
|
-
identity: string;
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
type HandleListGitTokensResponse = (ListGitTokensResponseSuccess);
|
|
620
|
-
type HandleListGitTokensError = ({
|
|
621
|
-
message: string;
|
|
622
|
-
});
|
|
623
|
-
type HandleCreateGitTokenData = {
|
|
624
|
-
path: {
|
|
625
|
-
identity: string;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
type HandleCreateGitTokenResponse = (CreatedToken);
|
|
629
|
-
type HandleCreateGitTokenError = ({
|
|
630
|
-
message: string;
|
|
631
|
-
});
|
|
632
|
-
type HandleRevokeGitTokenData = {
|
|
633
|
-
body: RevokeGitTokenRequest;
|
|
634
|
-
path: {
|
|
635
|
-
identity: string;
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
|
-
type HandleRevokeGitTokenResponse = ({
|
|
639
|
-
[key: string]: unknown;
|
|
640
|
-
});
|
|
641
|
-
type HandleRevokeGitTokenError = ({
|
|
642
|
-
message: string;
|
|
643
|
-
});
|
|
644
|
-
type HandleListRepositoriesData = {
|
|
645
|
-
query?: {
|
|
646
|
-
/**
|
|
647
|
-
* Maximum number of repositories to return
|
|
648
|
-
*/
|
|
649
|
-
limit?: number;
|
|
650
|
-
/**
|
|
651
|
-
* Offset for the list of repositories
|
|
652
|
-
*/
|
|
653
|
-
offset?: number;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
type HandleListRepositoriesResponse = ({
|
|
657
|
-
repositories: Array<RepositoryInfo>;
|
|
658
|
-
offset: number;
|
|
659
|
-
});
|
|
660
|
-
type HandleListRepositoriesError = ({
|
|
661
|
-
message: string;
|
|
662
|
-
});
|
|
663
|
-
type HandleCreateRepoData = {
|
|
664
|
-
body: CreateRepositoryRequest;
|
|
665
|
-
};
|
|
666
|
-
type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
|
|
667
|
-
type HandleCreateRepoError = ({
|
|
668
|
-
message: string;
|
|
669
|
-
});
|
|
670
|
-
type HandleDeleteRepoData = {
|
|
671
|
-
path: {
|
|
672
|
-
/**
|
|
673
|
-
* The repository id
|
|
674
|
-
*/
|
|
675
|
-
repo: string;
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
type HandleDeleteRepoResponse = ({
|
|
679
|
-
[key: string]: unknown;
|
|
680
|
-
});
|
|
681
|
-
type HandleDeleteRepoError = ({
|
|
682
|
-
message: string;
|
|
683
|
-
} | {
|
|
684
|
-
[key: string]: unknown;
|
|
685
|
-
});
|
|
686
|
-
type HandleListGitTriggersData = {
|
|
687
|
-
path: {
|
|
688
|
-
/**
|
|
689
|
-
* The repository id
|
|
690
|
-
*/
|
|
691
|
-
repo: string;
|
|
692
|
-
};
|
|
693
|
-
};
|
|
694
|
-
type HandleListGitTriggersResponse = ({
|
|
695
|
-
triggers: Array<GitRepositoryTrigger>;
|
|
696
|
-
});
|
|
697
|
-
type HandleListGitTriggersError = ({
|
|
698
|
-
message: string;
|
|
699
|
-
});
|
|
700
|
-
type HandleCreateGitTriggerData = {
|
|
701
|
-
body: {
|
|
702
|
-
trigger: ({
|
|
703
|
-
branches?: Array<(string)> | null;
|
|
704
|
-
globs?: Array<(string)> | null;
|
|
705
|
-
event: 'push';
|
|
706
|
-
});
|
|
707
|
-
action: ({
|
|
708
|
-
endpoint: string;
|
|
709
|
-
action: 'webhook';
|
|
710
|
-
});
|
|
711
|
-
};
|
|
712
|
-
path: {
|
|
713
|
-
/**
|
|
714
|
-
* The repository id
|
|
715
|
-
*/
|
|
716
|
-
repo: string;
|
|
717
|
-
};
|
|
718
|
-
};
|
|
719
|
-
type HandleCreateGitTriggerResponse = ({
|
|
720
|
-
triggerId: string;
|
|
721
|
-
});
|
|
722
|
-
type HandleCreateGitTriggerError = ({
|
|
723
|
-
message: string;
|
|
724
|
-
});
|
|
725
|
-
type HandleDeleteGitTriggerData = {
|
|
726
|
-
path: {
|
|
727
|
-
/**
|
|
728
|
-
* The repository id
|
|
729
|
-
*/
|
|
730
|
-
repo: string;
|
|
731
|
-
/**
|
|
732
|
-
* The trigger id
|
|
733
|
-
*/
|
|
734
|
-
trigger: string;
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
type HandleDeleteGitTriggerResponse = ({
|
|
738
|
-
[key: string]: unknown;
|
|
739
|
-
});
|
|
740
|
-
type HandleDeleteGitTriggerError = ({
|
|
741
|
-
message: string;
|
|
742
|
-
} | {
|
|
743
|
-
[key: string]: unknown;
|
|
744
|
-
});
|
|
745
|
-
type HandleGetLogsData = {
|
|
746
|
-
query?: {
|
|
747
|
-
deploymentId?: (string) | null;
|
|
748
|
-
domain?: (string) | null;
|
|
749
|
-
};
|
|
750
|
-
};
|
|
751
|
-
type HandleGetLogsResponse = (FreestyleGetLogsResponse);
|
|
752
|
-
type HandleGetLogsError = unknown;
|
|
753
|
-
type HandleDeployWebData = {
|
|
754
|
-
body: FreestyleDeployWebPayload;
|
|
755
|
-
};
|
|
756
|
-
type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponseV2);
|
|
757
|
-
type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
|
|
758
|
-
type HandleDeployWebV2Data = {
|
|
759
|
-
body: FreestyleDeployWebPayloadV2;
|
|
760
|
-
};
|
|
761
|
-
type HandleDeployWebV2Response = (FreestyleDeployWebSuccessResponseV2);
|
|
762
|
-
type HandleDeployWebV2Error = (FreestyleDeployWebErrorResponse);
|
|
763
|
-
type HandleListWebDeploysData = {
|
|
764
|
-
query: {
|
|
765
|
-
/**
|
|
766
|
-
* Maximum number of repositories to return
|
|
767
|
-
*/
|
|
768
|
-
limit: number;
|
|
769
|
-
/**
|
|
770
|
-
* Offset for the list of repositories
|
|
771
|
-
*/
|
|
772
|
-
offset: number;
|
|
773
|
-
};
|
|
774
|
-
};
|
|
775
|
-
type HandleListWebDeploysResponse = ({
|
|
776
|
-
entries: Array<DeploymentLogEntry>;
|
|
777
|
-
total: number;
|
|
778
|
-
offset: number;
|
|
779
|
-
});
|
|
780
|
-
type HandleListWebDeploysError = ({
|
|
781
|
-
message: string;
|
|
782
|
-
});
|
|
783
|
-
type HandleGetWebDeployDetailsData = {
|
|
784
|
-
path: {
|
|
785
|
-
deployment_id: string;
|
|
786
|
-
};
|
|
787
|
-
};
|
|
788
|
-
|
|
789
|
-
export type { FreestyleDeployWebPayloadV2 as $, AccessLevel as A, BuildOptions as B, CreateRepositoryResponseSuccess as C, DeploymentSource as D, CreateDomainMappingRequest as E, FreestyleExecuteScriptParamsConfiguration as F, GitIdentity as G, HandleBackupCloudstateResponse as H, CreateRecordParams as I, CreateRepositoryRequest as J, DeploymentLogEntry as K, ListPermissionResponseSuccess as L, kind as M, DeploymentState as N, DevServer as O, DnsRecord as P, DnsRecordData as Q, DnsRecordKind as R, DomainVerificationRequest as S, ExecuteLogEntry as T, ExecuteRunInfo as U, ExecuteRunState as V, FreestyleCloudstateDeployConfiguration as W, FreestyleCloudstateDeployErrorResponse as X, FreestyleDeleteDomainVerificationRequest as Y, FreestyleDeployWebErrorResponse as Z, FreestyleDeployWebPayload as _, FreestyleExecuteScriptResultSuccess as a, HandleDeleteIdentityData as a$, FreestyleDomainVerificationRequest as a0, FreestyleExecuteScriptParams as a1, FreestyleFile as a2, FreestyleGetLogsResponse as a3, FreestyleJavaScriptLog as a4, FreestyleLogResponseObject as a5, FreestyleNetworkPermission as a6, action as a7, FreestyleVerifyDomainRequest as a8, GitRepositoryTrigger as a9, HandleVerifyWildcardData as aA, HandleVerifyWildcardError as aB, HandleListDomainsError as aC, HandleInsertDomainMappingData as aD, HandleInsertDomainMappingResponse as aE, HandleInsertDomainMappingError as aF, HandleDeleteDomainMappingData as aG, HandleDeleteDomainMappingResponse as aH, HandleDeleteDomainMappingError as aI, HandleListDomainVerificationRequestsError as aJ, HandleVerifyDomainData as aK, HandleCreateDomainVerificationData as aL, HandleCreateDomainVerificationError as aM, HandleDeleteDomainVerificationData as aN, HandleDeleteDomainVerificationError as aO, HandleEphemeralDevServerData as aP, HandleEphemeralDevServerResponse as aQ, HandleEphemeralDevServerError as aR, HandleListExecuteRunsData as aS, HandleListExecuteRunsError as aT, HandleGetExecuteRunData as aU, HandleGetExecuteRunError as aV, HandleExecuteScriptData as aW, HandleExecuteScriptResponse as aX, HandleExecuteScriptError as aY, HandleCreateIdentityResponse as aZ, HandleCreateIdentityError as a_, event as aa, action2 as ab, GitTrigger as ac, GitTriggerAction as ad, GrantPermissionRequest as ae, InternalServerError as af, ListRecordsResponse as ag, NetworkPermissionData as ah, RepositoryInfo as ai, RevokeGitTokenRequest as aj, UpdatePermissionRequest as ak, Visibility as al, HandleDeployCloudstateData as am, HandleDeployCloudstateResponse as an, HandleDeployCloudstateError as ao, HandleBackupCloudstateData as ap, HandleBackupCloudstateError as aq, HandleListRecordsData as ar, HandleListRecordsResponse as as, HandleListRecordsError as at, HandleCreateRecordData as au, HandleCreateRecordResponse as av, HandleCreateRecordError as aw, HandleDeleteRecordData as ax, HandleDeleteRecordResponse as ay, HandleDeleteRecordError as az, FreestyleDeployWebConfiguration as b, HandleDeleteIdentityError as b0, HandleListPermissionsData as b1, HandleListPermissionsResponse as b2, HandleListPermissionsError as b3, HandleDescribePermissionData as b4, HandleDescribePermissionResponse as b5, HandleDescribePermissionError as b6, HandleGrantPermissionData as b7, HandleGrantPermissionError as b8, HandleRevokePermissionData as b9, HandleCreateGitTriggerError as bA, HandleDeleteGitTriggerData as bB, HandleDeleteGitTriggerResponse as bC, HandleDeleteGitTriggerError as bD, HandleGetLogsData as bE, HandleGetLogsError as bF, HandleDeployWebData as bG, HandleDeployWebResponse as bH, HandleDeployWebError as bI, HandleDeployWebV2Data as bJ, HandleDeployWebV2Response as bK, HandleDeployWebV2Error as bL, HandleListWebDeploysData as bM, HandleListWebDeploysError as bN, HandleGetWebDeployDetailsData as bO, HandleRevokePermissionResponse as ba, HandleRevokePermissionError as bb, HandleUpdatePermissionData as bc, HandleUpdatePermissionResponse as bd, HandleUpdatePermissionError as be, HandleListGitTokensData as bf, HandleListGitTokensResponse as bg, HandleListGitTokensError as bh, HandleCreateGitTokenData as bi, HandleCreateGitTokenResponse as bj, HandleCreateGitTokenError as bk, HandleRevokeGitTokenData as bl, HandleRevokeGitTokenResponse as bm, HandleRevokeGitTokenError as bn, HandleListRepositoriesData as bo, HandleListRepositoriesError as bp, HandleCreateRepoData as bq, HandleCreateRepoResponse as br, HandleCreateRepoError as bs, HandleDeleteRepoData as bt, HandleDeleteRepoError as bu, HandleListGitTriggersData as bv, HandleListGitTriggersResponse as bw, HandleListGitTriggersError as bx, HandleCreateGitTriggerData as by, HandleCreateGitTriggerResponse as bz, FreestyleDeployWebSuccessResponseV2 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, HandleListRepositoriesResponse as q, HandleDeleteRepoResponse as r, HandleDeleteIdentityResponse as s, HandleGrantPermissionResponse as t, DescribePermissionResponseSuccess as u, CreatedToken as v, ListGitTokensResponseSuccess as w, AccessibleRepository as x, AccessTokenInfo as y, Behavior as z };
|