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,1299 +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
|
-
/**
|
|
17
|
-
* The encoding of a blob from the API. Always `base64`.
|
|
18
|
-
*/
|
|
19
|
-
type BlobEncoding = 'base64';
|
|
20
|
-
/**
|
|
21
|
-
* Blob object
|
|
22
|
-
*/
|
|
23
|
-
type BlobObject = {
|
|
24
|
-
/**
|
|
25
|
-
* The content of the blob, base64 encoded.
|
|
26
|
-
*/
|
|
27
|
-
content: string;
|
|
28
|
-
/**
|
|
29
|
-
* The encoding of the blob. Always `base64`.
|
|
30
|
-
*/
|
|
31
|
-
encoding: BlobEncoding;
|
|
32
|
-
/**
|
|
33
|
-
* The object's hash.
|
|
34
|
-
*/
|
|
35
|
-
sha: string;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Commit object
|
|
39
|
-
*/
|
|
40
|
-
type CommitObject = {
|
|
41
|
-
/**
|
|
42
|
-
* The author of the commit
|
|
43
|
-
*/
|
|
44
|
-
author: Signature;
|
|
45
|
-
/**
|
|
46
|
-
* The committer
|
|
47
|
-
*/
|
|
48
|
-
committer: Signature;
|
|
49
|
-
/**
|
|
50
|
-
* The commit message
|
|
51
|
-
*/
|
|
52
|
-
message: string;
|
|
53
|
-
/**
|
|
54
|
-
* The ID of the tree pointed to by this commit
|
|
55
|
-
*/
|
|
56
|
-
tree: CommitTree;
|
|
57
|
-
/**
|
|
58
|
-
* Parent commit(s) of this commit
|
|
59
|
-
*/
|
|
60
|
-
parents: Array<CommitParent>;
|
|
61
|
-
/**
|
|
62
|
-
* The commit's hash ID
|
|
63
|
-
*/
|
|
64
|
-
sha: string;
|
|
65
|
-
};
|
|
66
|
-
type CommitParent = {
|
|
67
|
-
/**
|
|
68
|
-
* The commit's hash ID
|
|
69
|
-
*/
|
|
70
|
-
sha: string;
|
|
71
|
-
};
|
|
72
|
-
type CommitTree = {
|
|
73
|
-
/**
|
|
74
|
-
* The tree's hash ID
|
|
75
|
-
*/
|
|
76
|
-
sha: string;
|
|
77
|
-
};
|
|
78
|
-
type CreateDomainMappingRequest = {
|
|
79
|
-
deploymentId: string;
|
|
80
|
-
};
|
|
81
|
-
type CreatedToken = {
|
|
82
|
-
id: string;
|
|
83
|
-
token: string;
|
|
84
|
-
};
|
|
85
|
-
type CreateRecordParams = {
|
|
86
|
-
domain: string;
|
|
87
|
-
record: DnsRecordData;
|
|
88
|
-
};
|
|
89
|
-
type CreateRepoRequest = {
|
|
90
|
-
source?: (null | CreateRepoSource);
|
|
91
|
-
};
|
|
92
|
-
type CreateRepositoryRequest = {
|
|
93
|
-
/**
|
|
94
|
-
* This name is not visible to users, and is only accessible to you via API and in the
|
|
95
|
-
* dashboard. Mostly useful for observability.
|
|
96
|
-
*/
|
|
97
|
-
name?: (string) | null;
|
|
98
|
-
public?: boolean;
|
|
99
|
-
source?: CreateRepoSource;
|
|
100
|
-
};
|
|
101
|
-
type CreateRepositoryResponseSuccess = {
|
|
102
|
-
repoId: string;
|
|
103
|
-
};
|
|
104
|
-
type CreateRepoSource = {
|
|
105
|
-
url: string;
|
|
106
|
-
branch?: (string) | null;
|
|
107
|
-
depth?: (number) | null;
|
|
108
|
-
type: 'git';
|
|
109
|
-
};
|
|
110
|
-
type type = 'git';
|
|
111
|
-
type CustomBuildOptions = {
|
|
112
|
-
command?: (string) | null;
|
|
113
|
-
envVars?: {
|
|
114
|
-
[key: string]: (string);
|
|
115
|
-
} | null;
|
|
116
|
-
outDir?: (string) | null;
|
|
117
|
-
};
|
|
118
|
-
type DeploymentBuildOptions = CustomBuildOptions | boolean;
|
|
119
|
-
type DeploymentLogEntry = {
|
|
120
|
-
deploymentId: string;
|
|
121
|
-
accountId: string;
|
|
122
|
-
provisionedAt: string;
|
|
123
|
-
timeout: string;
|
|
124
|
-
state: DeploymentState;
|
|
125
|
-
deployedAt?: (string) | null;
|
|
126
|
-
domains: Array<(string)>;
|
|
127
|
-
envVars: {
|
|
128
|
-
[key: string]: (string);
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
type DeploymentSource = {
|
|
132
|
-
files: {
|
|
133
|
-
[key: string]: FreestyleFile;
|
|
134
|
-
};
|
|
135
|
-
kind: 'files';
|
|
136
|
-
} | {
|
|
137
|
-
url: string;
|
|
138
|
-
kind: 'tar';
|
|
139
|
-
} | {
|
|
140
|
-
url: string;
|
|
141
|
-
branch?: (string) | null;
|
|
142
|
-
kind: 'git';
|
|
143
|
-
};
|
|
144
|
-
type kind = 'files';
|
|
145
|
-
type DeploymentState = 'provisioning' | 'deployed' | 'failed';
|
|
146
|
-
type DescribePermissionResponseSuccess = {
|
|
147
|
-
identity: string;
|
|
148
|
-
repo: string;
|
|
149
|
-
accessLevel?: (null | AccessLevel);
|
|
150
|
-
};
|
|
151
|
-
type DevServer = {
|
|
152
|
-
repoId: string;
|
|
153
|
-
kind: 'repo';
|
|
154
|
-
};
|
|
155
|
-
type kind2 = 'repo';
|
|
156
|
-
type DevServerRequest = {
|
|
157
|
-
devCommand?: (string) | null;
|
|
158
|
-
preDevCommandOnce?: (string) | null;
|
|
159
|
-
baseId?: (string) | null;
|
|
160
|
-
envVars?: {
|
|
161
|
-
[key: string]: (string);
|
|
162
|
-
} | null;
|
|
163
|
-
repoId?: (string) | null;
|
|
164
|
-
computeClass?: (string) | null;
|
|
165
|
-
/**
|
|
166
|
-
* Timeout in seconds
|
|
167
|
-
*/
|
|
168
|
-
timeout?: (number) | null;
|
|
169
|
-
/**
|
|
170
|
-
* @deprecated
|
|
171
|
-
*/
|
|
172
|
-
domain?: (string) | null;
|
|
173
|
-
/**
|
|
174
|
-
* @deprecated
|
|
175
|
-
*/
|
|
176
|
-
repo?: (string) | null;
|
|
177
|
-
};
|
|
178
|
-
type DevServerStatusRequest = {
|
|
179
|
-
devServer: DevServer;
|
|
180
|
-
};
|
|
181
|
-
type DevServerWatchFilesRequest = {
|
|
182
|
-
devServer: DevServer;
|
|
183
|
-
};
|
|
184
|
-
type DnsRecord = {
|
|
185
|
-
kind: DnsRecordKind;
|
|
186
|
-
name: string;
|
|
187
|
-
value: string;
|
|
188
|
-
ttl: string;
|
|
189
|
-
priority?: (number) | null;
|
|
190
|
-
managed: boolean;
|
|
191
|
-
};
|
|
192
|
-
type DnsRecordData = {
|
|
193
|
-
kind: DnsRecordKind;
|
|
194
|
-
name: string;
|
|
195
|
-
value: string;
|
|
196
|
-
ttl?: (string) | null;
|
|
197
|
-
priority?: (number) | null;
|
|
198
|
-
};
|
|
199
|
-
type DnsRecordKind = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'NS';
|
|
200
|
-
type DomainVerificationRequest = {
|
|
201
|
-
id: string;
|
|
202
|
-
domain: string;
|
|
203
|
-
accountId: string;
|
|
204
|
-
verificationCode: string;
|
|
205
|
-
createdAt: string;
|
|
206
|
-
};
|
|
207
|
-
type ExecRequest = {
|
|
208
|
-
devServer: DevServer;
|
|
209
|
-
command: string;
|
|
210
|
-
/**
|
|
211
|
-
* Spawn this command as a background process and return immediately
|
|
212
|
-
*/
|
|
213
|
-
background: boolean;
|
|
214
|
-
};
|
|
215
|
-
type ExecuteLogEntry = {
|
|
216
|
-
deployment: string;
|
|
217
|
-
accountId: string;
|
|
218
|
-
provisionedAt: string;
|
|
219
|
-
startedAt?: (string) | null;
|
|
220
|
-
duration?: (string) | null;
|
|
221
|
-
state: ExecuteRunState;
|
|
222
|
-
envVars: {
|
|
223
|
-
[key: string]: (string);
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
type ExecuteRunInfo = {
|
|
227
|
-
code: string;
|
|
228
|
-
nodeModules: {
|
|
229
|
-
[key: string]: (string);
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
type ExecuteRunState = 'starting' | 'running' | 'complete';
|
|
233
|
-
type FileReadContent = {
|
|
234
|
-
content: string;
|
|
235
|
-
encoding: string;
|
|
236
|
-
kind: 'file';
|
|
237
|
-
} | {
|
|
238
|
-
files: Array<(string)>;
|
|
239
|
-
kind: 'directory';
|
|
240
|
-
};
|
|
241
|
-
type kind3 = 'file';
|
|
242
|
-
type FreestyleCloudstateDeployConfiguration = {
|
|
243
|
-
/**
|
|
244
|
-
* ID of the project to deploy, if not provided will create a new project
|
|
245
|
-
*/
|
|
246
|
-
domains?: Array<(string)> | null;
|
|
247
|
-
/**
|
|
248
|
-
* The environment variables that the cloudstate deploy can access
|
|
249
|
-
*/
|
|
250
|
-
envVars?: {
|
|
251
|
-
[key: string]: (string);
|
|
252
|
-
};
|
|
253
|
-
cloudstateDatabaseId?: (string) | null;
|
|
254
|
-
};
|
|
255
|
-
type FreestyleCloudstateDeployErrorResponse = {
|
|
256
|
-
message: string;
|
|
257
|
-
};
|
|
258
|
-
type FreestyleCloudstateDeployRequest = {
|
|
259
|
-
classes: string;
|
|
260
|
-
config?: FreestyleCloudstateDeployConfiguration;
|
|
261
|
-
};
|
|
262
|
-
type FreestyleCloudstateDeploySuccessResponse = {
|
|
263
|
-
deploymentId: string;
|
|
264
|
-
cloudstateDatabaseId: string;
|
|
265
|
-
};
|
|
266
|
-
type FreestyleDeleteDomainVerificationRequest = {
|
|
267
|
-
/**
|
|
268
|
-
* The domain to create a verification code for
|
|
269
|
-
*/
|
|
270
|
-
domain: string;
|
|
271
|
-
/**
|
|
272
|
-
* The verification code
|
|
273
|
-
*/
|
|
274
|
-
verificationCode: string;
|
|
275
|
-
};
|
|
276
|
-
type FreestyleDeployWebConfiguration = {
|
|
277
|
-
/**
|
|
278
|
-
* The entrypoint file for the website
|
|
279
|
-
*/
|
|
280
|
-
entrypoint?: (string) | null;
|
|
281
|
-
/**
|
|
282
|
-
* The custom domains for the website, eg. [\"subdomain.yourwebsite.com\"]. You may include a single *.style.dev domain here.
|
|
283
|
-
*/
|
|
284
|
-
domains?: Array<(string)> | null;
|
|
285
|
-
/**
|
|
286
|
-
* 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.
|
|
287
|
-
* @deprecated
|
|
288
|
-
*/
|
|
289
|
-
projectId?: (string) | null;
|
|
290
|
-
/**
|
|
291
|
-
* 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.
|
|
292
|
-
*/
|
|
293
|
-
nodeModules?: {
|
|
294
|
-
[key: string]: (string);
|
|
295
|
-
} | null;
|
|
296
|
-
/**
|
|
297
|
-
* The environment variables that the website can access
|
|
298
|
-
* e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
|
|
299
|
-
*/
|
|
300
|
-
envVars?: {
|
|
301
|
-
[key: string]: (string);
|
|
302
|
-
} | null;
|
|
303
|
-
serverStartCheck?: boolean;
|
|
304
|
-
networkPermissions?: Array<FreestyleNetworkPermission> | null;
|
|
305
|
-
build?: (null | DeploymentBuildOptions);
|
|
306
|
-
/**
|
|
307
|
-
* Timeout for the deployment in seconds. If not provided, the default is 10 seconds.
|
|
308
|
-
*/
|
|
309
|
-
timeout?: (number) | null;
|
|
310
|
-
};
|
|
311
|
-
type FreestyleDeployWebErrorResponse = {
|
|
312
|
-
message: string;
|
|
313
|
-
};
|
|
314
|
-
type FreestyleDeployWebPayload = {
|
|
315
|
-
/**
|
|
316
|
-
* 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\" } }
|
|
317
|
-
*
|
|
318
|
-
* **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.
|
|
319
|
-
*/
|
|
320
|
-
files: {
|
|
321
|
-
[key: string]: FreestyleFile;
|
|
322
|
-
};
|
|
323
|
-
config?: FreestyleDeployWebConfiguration;
|
|
324
|
-
};
|
|
325
|
-
type FreestyleDeployWebPayloadV2 = {
|
|
326
|
-
/**
|
|
327
|
-
* 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\" } }
|
|
328
|
-
*
|
|
329
|
-
* **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.
|
|
330
|
-
*/
|
|
331
|
-
source: DeploymentSource;
|
|
332
|
-
config?: FreestyleDeployWebConfiguration;
|
|
333
|
-
};
|
|
334
|
-
type FreestyleDeployWebSuccessResponseV2 = {
|
|
335
|
-
deploymentId: string;
|
|
336
|
-
/**
|
|
337
|
-
* @deprecated
|
|
338
|
-
*/
|
|
339
|
-
projectId: string;
|
|
340
|
-
domains?: Array<(string)> | null;
|
|
341
|
-
/**
|
|
342
|
-
* The entrypoint file for the website. If not specified we try to automatically detect it.
|
|
343
|
-
*/
|
|
344
|
-
entrypoint: string;
|
|
345
|
-
};
|
|
346
|
-
type FreestyleDomainVerificationRequest = {
|
|
347
|
-
/**
|
|
348
|
-
* The domain to create a verification code for
|
|
349
|
-
*/
|
|
350
|
-
domain: string;
|
|
351
|
-
};
|
|
352
|
-
type FreestyleExecuteScriptParams = {
|
|
353
|
-
/**
|
|
354
|
-
* The JavaScript or TypeScript script to execute
|
|
355
|
-
*/
|
|
356
|
-
script: string;
|
|
357
|
-
config?: FreestyleExecuteScriptParamsConfiguration;
|
|
358
|
-
};
|
|
359
|
-
type FreestyleExecuteScriptParamsConfiguration = {
|
|
360
|
-
/**
|
|
361
|
-
* The environment variables to set for the script
|
|
362
|
-
*/
|
|
363
|
-
envVars?: {
|
|
364
|
-
[key: string]: (string);
|
|
365
|
-
};
|
|
366
|
-
/**
|
|
367
|
-
* The node modules to install for the script
|
|
368
|
-
*/
|
|
369
|
-
nodeModules?: {
|
|
370
|
-
[key: string]: (string);
|
|
371
|
-
};
|
|
372
|
-
/**
|
|
373
|
-
* Tags for you to organize your scripts, useful for tracking what you're running
|
|
374
|
-
*/
|
|
375
|
-
tags?: Array<(string)>;
|
|
376
|
-
/**
|
|
377
|
-
* The script timeout
|
|
378
|
-
*/
|
|
379
|
-
timeout?: (string) | null;
|
|
380
|
-
/**
|
|
381
|
-
* 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.
|
|
382
|
-
*/
|
|
383
|
-
peerDependencyResolution?: boolean;
|
|
384
|
-
networkPermissions?: Array<FreestyleNetworkPermission> | null;
|
|
385
|
-
/**
|
|
386
|
-
* These headers will be added to every fetch request made through the script
|
|
387
|
-
*/
|
|
388
|
-
customHeaders?: {
|
|
389
|
-
[key: string]: (string);
|
|
390
|
-
};
|
|
391
|
-
/**
|
|
392
|
-
* Proxy all outgoing requests through this URL
|
|
393
|
-
*/
|
|
394
|
-
proxy?: (string) | null;
|
|
395
|
-
};
|
|
396
|
-
type FreestyleExecuteScriptResultSuccess = {
|
|
397
|
-
/**
|
|
398
|
-
* The return value of the default export of the script
|
|
399
|
-
*/
|
|
400
|
-
result: unknown;
|
|
401
|
-
logs: Array<FreestyleJavaScriptLog>;
|
|
402
|
-
};
|
|
403
|
-
type FreestyleFile = {
|
|
404
|
-
/**
|
|
405
|
-
* The content of the file
|
|
406
|
-
*/
|
|
407
|
-
content: string;
|
|
408
|
-
/**
|
|
409
|
-
* The encoding of the file. Either **utf-8** or **base64**
|
|
410
|
-
*/
|
|
411
|
-
encoding?: string;
|
|
412
|
-
};
|
|
413
|
-
type FreestyleGetLogsResponse = {
|
|
414
|
-
logs: Array<FreestyleLogResponseObject>;
|
|
415
|
-
};
|
|
416
|
-
type FreestyleJavaScriptLog = {
|
|
417
|
-
/**
|
|
418
|
-
* The log message
|
|
419
|
-
*/
|
|
420
|
-
message: string;
|
|
421
|
-
/**
|
|
422
|
-
* The log level
|
|
423
|
-
*/
|
|
424
|
-
type: string;
|
|
425
|
-
};
|
|
426
|
-
type FreestyleLogResponseObject = {
|
|
427
|
-
message: string;
|
|
428
|
-
timestamp: string;
|
|
429
|
-
};
|
|
430
|
-
type FreestyleNetworkPermission = (NetworkPermissionData & {
|
|
431
|
-
action: 'allow';
|
|
432
|
-
}) | (NetworkPermissionData & {
|
|
433
|
-
action: 'deny';
|
|
434
|
-
});
|
|
435
|
-
type action = 'allow';
|
|
436
|
-
/**
|
|
437
|
-
* Verify a domain verification request, can either be done for a domain, or for a specific request
|
|
438
|
-
*/
|
|
439
|
-
type FreestyleVerifyDomainRequest = {
|
|
440
|
-
domain: string;
|
|
441
|
-
} | {
|
|
442
|
-
id: string;
|
|
443
|
-
};
|
|
444
|
-
type GitCommitPushRequest = {
|
|
445
|
-
devServer: DevServer;
|
|
446
|
-
message: string;
|
|
447
|
-
};
|
|
448
|
-
type GitContents = {
|
|
449
|
-
name: string;
|
|
450
|
-
path: string;
|
|
451
|
-
/**
|
|
452
|
-
* The hash / object ID of the file.
|
|
453
|
-
*/
|
|
454
|
-
sha: string;
|
|
455
|
-
size: number;
|
|
456
|
-
/**
|
|
457
|
-
* Base64-encoded content.
|
|
458
|
-
*/
|
|
459
|
-
content: string;
|
|
460
|
-
type: 'file';
|
|
461
|
-
} | {
|
|
462
|
-
name: string;
|
|
463
|
-
path: string;
|
|
464
|
-
/**
|
|
465
|
-
* The hash / object ID of the directory.
|
|
466
|
-
*/
|
|
467
|
-
sha: string;
|
|
468
|
-
entries: Array<GitContentsDirEntryItem>;
|
|
469
|
-
type: 'dir';
|
|
470
|
-
};
|
|
471
|
-
type type2 = 'file';
|
|
472
|
-
type GitContentsDirEntryItem = {
|
|
473
|
-
name: string;
|
|
474
|
-
path: string;
|
|
475
|
-
/**
|
|
476
|
-
* The hash / object ID of the file.
|
|
477
|
-
*/
|
|
478
|
-
sha: string;
|
|
479
|
-
size: number;
|
|
480
|
-
type: 'file';
|
|
481
|
-
} | {
|
|
482
|
-
name: string;
|
|
483
|
-
path: string;
|
|
484
|
-
/**
|
|
485
|
-
* The hash / object ID of the directory.
|
|
486
|
-
*/
|
|
487
|
-
sha: string;
|
|
488
|
-
entries: Array<({
|
|
489
|
-
[key: string]: unknown;
|
|
490
|
-
})>;
|
|
491
|
-
type: 'dir';
|
|
492
|
-
};
|
|
493
|
-
type GitIdentity = {
|
|
494
|
-
id: string;
|
|
495
|
-
managed: boolean;
|
|
496
|
-
};
|
|
497
|
-
/**
|
|
498
|
-
* A reference to a Git object
|
|
499
|
-
*/
|
|
500
|
-
type GitReference = {
|
|
501
|
-
/**
|
|
502
|
-
* The name of the ref (e.g., "refs/heads/main" or "refs/tags/v1.0.0")
|
|
503
|
-
*/
|
|
504
|
-
name: string;
|
|
505
|
-
/**
|
|
506
|
-
* The SHA-1 hash of the Git object this reference points to
|
|
507
|
-
*/
|
|
508
|
-
sha: string;
|
|
509
|
-
};
|
|
510
|
-
type GitRepositoryTrigger = {
|
|
511
|
-
repositoryId: string;
|
|
512
|
-
trigger: ({
|
|
513
|
-
branches?: Array<(string)> | null;
|
|
514
|
-
globs?: Array<(string)> | null;
|
|
515
|
-
event: 'push';
|
|
516
|
-
});
|
|
517
|
-
action: ({
|
|
518
|
-
endpoint: string;
|
|
519
|
-
action: 'webhook';
|
|
520
|
-
});
|
|
521
|
-
managed: boolean;
|
|
522
|
-
id: string;
|
|
523
|
-
createdAt: string;
|
|
524
|
-
};
|
|
525
|
-
type event = 'push';
|
|
526
|
-
type action2 = 'webhook';
|
|
527
|
-
type GitTrigger = {
|
|
528
|
-
branches?: Array<(string)> | null;
|
|
529
|
-
globs?: Array<(string)> | null;
|
|
530
|
-
event: 'push';
|
|
531
|
-
};
|
|
532
|
-
type GitTriggerAction = {
|
|
533
|
-
endpoint: string;
|
|
534
|
-
action: 'webhook';
|
|
535
|
-
};
|
|
536
|
-
type GrantPermissionRequest = {
|
|
537
|
-
permission: AccessLevel;
|
|
538
|
-
};
|
|
539
|
-
type InternalServerError = string;
|
|
540
|
-
type ListGitTokensResponseSuccess = {
|
|
541
|
-
tokens: Array<AccessTokenInfo>;
|
|
542
|
-
};
|
|
543
|
-
type ListPermissionResponseSuccess = {
|
|
544
|
-
repositories: Array<AccessibleRepository>;
|
|
545
|
-
};
|
|
546
|
-
type ListRecordsResponse = {
|
|
547
|
-
records: Array<DnsRecord>;
|
|
548
|
-
};
|
|
549
|
-
type NetworkPermissionData = {
|
|
550
|
-
query: string;
|
|
551
|
-
behavior?: Behavior;
|
|
552
|
-
};
|
|
553
|
-
type ReadFileEphemeralDevServerResponses = {
|
|
554
|
-
id: string;
|
|
555
|
-
isNew: boolean;
|
|
556
|
-
content: ({
|
|
557
|
-
content: string;
|
|
558
|
-
encoding: string;
|
|
559
|
-
kind: 'file';
|
|
560
|
-
} | {
|
|
561
|
-
files: Array<(string)>;
|
|
562
|
-
kind: 'directory';
|
|
563
|
-
});
|
|
564
|
-
} | {
|
|
565
|
-
id: string;
|
|
566
|
-
isNew: boolean;
|
|
567
|
-
} | InternalServerError;
|
|
568
|
-
type ReadFileRequest = {
|
|
569
|
-
devServer: DevServer;
|
|
570
|
-
encoding?: string;
|
|
571
|
-
};
|
|
572
|
-
type RepositoryInfo = {
|
|
573
|
-
id: string;
|
|
574
|
-
name?: (string) | null;
|
|
575
|
-
accountId: string;
|
|
576
|
-
visibility: Visibility;
|
|
577
|
-
};
|
|
578
|
-
type RevokeGitTokenRequest = {
|
|
579
|
-
tokenId: string;
|
|
580
|
-
};
|
|
581
|
-
type ShutdownDevServerRequest = {
|
|
582
|
-
/**
|
|
583
|
-
* The dev server to shutdown
|
|
584
|
-
*/
|
|
585
|
-
devServer: DevServer;
|
|
586
|
-
};
|
|
587
|
-
type Signature = {
|
|
588
|
-
/**
|
|
589
|
-
* The date marker for this signature
|
|
590
|
-
*/
|
|
591
|
-
date: string;
|
|
592
|
-
name: string;
|
|
593
|
-
email: string;
|
|
594
|
-
};
|
|
595
|
-
/**
|
|
596
|
-
* Tag object
|
|
597
|
-
*/
|
|
598
|
-
type TagObject = {
|
|
599
|
-
/**
|
|
600
|
-
* The tag name
|
|
601
|
-
*/
|
|
602
|
-
name: string;
|
|
603
|
-
tagger?: (null | Signature);
|
|
604
|
-
/**
|
|
605
|
-
* The tag message
|
|
606
|
-
*/
|
|
607
|
-
message?: (string) | null;
|
|
608
|
-
/**
|
|
609
|
-
* The object this tag points to
|
|
610
|
-
*/
|
|
611
|
-
target: TagTarget;
|
|
612
|
-
/**
|
|
613
|
-
* The tag's hash ID
|
|
614
|
-
*/
|
|
615
|
-
sha: string;
|
|
616
|
-
};
|
|
617
|
-
type TagTarget = {
|
|
618
|
-
/**
|
|
619
|
-
* The target object's hash ID
|
|
620
|
-
*/
|
|
621
|
-
sha: string;
|
|
622
|
-
};
|
|
623
|
-
type TreeEntry = {
|
|
624
|
-
path: string;
|
|
625
|
-
sha: string;
|
|
626
|
-
type: 'blob';
|
|
627
|
-
} | {
|
|
628
|
-
path: string;
|
|
629
|
-
sha: string;
|
|
630
|
-
type: 'tree';
|
|
631
|
-
};
|
|
632
|
-
type type3 = 'blob';
|
|
633
|
-
/**
|
|
634
|
-
* Tree object
|
|
635
|
-
*/
|
|
636
|
-
type TreeObject = {
|
|
637
|
-
/**
|
|
638
|
-
* The tree's entries
|
|
639
|
-
*/
|
|
640
|
-
tree: Array<TreeEntry>;
|
|
641
|
-
/**
|
|
642
|
-
* The tree's hash ID
|
|
643
|
-
*/
|
|
644
|
-
sha: string;
|
|
645
|
-
};
|
|
646
|
-
type UpdatePermissionRequest = {
|
|
647
|
-
permission: AccessLevel;
|
|
648
|
-
};
|
|
649
|
-
type Visibility = 'public' | 'private';
|
|
650
|
-
type WriteFileRequest = {
|
|
651
|
-
devServer: DevServer;
|
|
652
|
-
content: string;
|
|
653
|
-
encoding?: string;
|
|
654
|
-
};
|
|
655
|
-
type HandleDeployCloudstateData = {
|
|
656
|
-
body: FreestyleCloudstateDeployRequest;
|
|
657
|
-
};
|
|
658
|
-
type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
|
|
659
|
-
type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
|
|
660
|
-
type HandleBackupCloudstateData = {
|
|
661
|
-
path: {
|
|
662
|
-
id: string;
|
|
663
|
-
};
|
|
664
|
-
};
|
|
665
|
-
type HandleBackupCloudstateResponse = (Array<(number)>);
|
|
666
|
-
type HandleBackupCloudstateError = (unknown);
|
|
667
|
-
type HandleListRecordsData = {
|
|
668
|
-
query: {
|
|
669
|
-
domain: string;
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
type HandleListRecordsResponse = (ListRecordsResponse);
|
|
673
|
-
type HandleListRecordsError = ({
|
|
674
|
-
message: string;
|
|
675
|
-
});
|
|
676
|
-
type HandleCreateRecordData = {
|
|
677
|
-
body: CreateRecordParams;
|
|
678
|
-
};
|
|
679
|
-
type HandleCreateRecordResponse = ({
|
|
680
|
-
record: DnsRecord;
|
|
681
|
-
});
|
|
682
|
-
type HandleCreateRecordError = ({
|
|
683
|
-
message: string;
|
|
684
|
-
});
|
|
685
|
-
type HandleDeleteRecordData = {
|
|
686
|
-
query: {
|
|
687
|
-
domain: string;
|
|
688
|
-
record: DnsRecord;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
type HandleDeleteRecordResponse = ({
|
|
692
|
-
message: string;
|
|
693
|
-
});
|
|
694
|
-
type HandleDeleteRecordError = ({
|
|
695
|
-
message: string;
|
|
696
|
-
});
|
|
697
|
-
type HandleVerifyWildcardData = {
|
|
698
|
-
path: {
|
|
699
|
-
domain: string;
|
|
700
|
-
};
|
|
701
|
-
};
|
|
702
|
-
type HandleVerifyWildcardResponse = ({
|
|
703
|
-
domain: string;
|
|
704
|
-
});
|
|
705
|
-
type HandleVerifyWildcardError = ({
|
|
706
|
-
message: string;
|
|
707
|
-
});
|
|
708
|
-
type HandleListDomainsResponse = (Array<{
|
|
709
|
-
domain: string;
|
|
710
|
-
createdAt: string;
|
|
711
|
-
}>);
|
|
712
|
-
type HandleListDomainsError = ({
|
|
713
|
-
message: string;
|
|
714
|
-
});
|
|
715
|
-
type HandleInsertDomainMappingData = {
|
|
716
|
-
body: CreateDomainMappingRequest;
|
|
717
|
-
path: {
|
|
718
|
-
domain: string;
|
|
719
|
-
};
|
|
720
|
-
};
|
|
721
|
-
type HandleInsertDomainMappingResponse = (unknown);
|
|
722
|
-
type HandleInsertDomainMappingError = ({
|
|
723
|
-
message: string;
|
|
724
|
-
});
|
|
725
|
-
type HandleDeleteDomainMappingData = {
|
|
726
|
-
path: {
|
|
727
|
-
domain: string;
|
|
728
|
-
};
|
|
729
|
-
};
|
|
730
|
-
type HandleDeleteDomainMappingResponse = (unknown);
|
|
731
|
-
type HandleDeleteDomainMappingError = ({
|
|
732
|
-
message: string;
|
|
733
|
-
});
|
|
734
|
-
type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
735
|
-
verificationCode: string;
|
|
736
|
-
domain: string;
|
|
737
|
-
createdAt: string;
|
|
738
|
-
}>);
|
|
739
|
-
type HandleListDomainVerificationRequestsError = ({
|
|
740
|
-
message: string;
|
|
741
|
-
});
|
|
742
|
-
type HandleVerifyDomainData = {
|
|
743
|
-
body: FreestyleVerifyDomainRequest;
|
|
744
|
-
};
|
|
745
|
-
type HandleVerifyDomainResponse = ({
|
|
746
|
-
domain: string;
|
|
747
|
-
});
|
|
748
|
-
type HandleVerifyDomainError = ({
|
|
749
|
-
message: string;
|
|
750
|
-
});
|
|
751
|
-
type HandleCreateDomainVerificationData = {
|
|
752
|
-
body: FreestyleDomainVerificationRequest;
|
|
753
|
-
};
|
|
754
|
-
type HandleCreateDomainVerificationResponse = (DomainVerificationRequest);
|
|
755
|
-
type HandleCreateDomainVerificationError = ({
|
|
756
|
-
message: string;
|
|
757
|
-
});
|
|
758
|
-
type HandleDeleteDomainVerificationData = {
|
|
759
|
-
body: FreestyleDeleteDomainVerificationRequest;
|
|
760
|
-
};
|
|
761
|
-
type HandleDeleteDomainVerificationResponse = ({
|
|
762
|
-
verificationCode: string;
|
|
763
|
-
domain: string;
|
|
764
|
-
});
|
|
765
|
-
type HandleDeleteDomainVerificationError = ({
|
|
766
|
-
message: string;
|
|
767
|
-
});
|
|
768
|
-
type HandleEphemeralDevServerData = {
|
|
769
|
-
body: DevServerRequest;
|
|
770
|
-
};
|
|
771
|
-
type HandleEphemeralDevServerResponse = ({
|
|
772
|
-
/**
|
|
773
|
-
* @deprecated
|
|
774
|
-
*/
|
|
775
|
-
url: string;
|
|
776
|
-
isNew: boolean;
|
|
777
|
-
devCommandRunning: boolean;
|
|
778
|
-
installCommandRunning: boolean;
|
|
779
|
-
mcpEphemeralUrl?: (string) | null;
|
|
780
|
-
ephemeralUrl?: (string) | null;
|
|
781
|
-
});
|
|
782
|
-
type HandleEphemeralDevServerError = (InternalServerError);
|
|
783
|
-
type HandleExecOnEphemeralDevServerData = {
|
|
784
|
-
body: ExecRequest;
|
|
785
|
-
};
|
|
786
|
-
type HandleExecOnEphemeralDevServerResponse = ({
|
|
787
|
-
id: string;
|
|
788
|
-
isNew: boolean;
|
|
789
|
-
stdout?: Array<(string)> | null;
|
|
790
|
-
stderr?: Array<(string)> | null;
|
|
791
|
-
});
|
|
792
|
-
type HandleExecOnEphemeralDevServerError = (InternalServerError);
|
|
793
|
-
type HandleWriteFileFromEphemeralDevServerData = {
|
|
794
|
-
body: WriteFileRequest;
|
|
795
|
-
};
|
|
796
|
-
type HandleWriteFileFromEphemeralDevServerResponse = ({
|
|
797
|
-
id: string;
|
|
798
|
-
isNew: boolean;
|
|
799
|
-
});
|
|
800
|
-
type HandleWriteFileFromEphemeralDevServerError = (InternalServerError);
|
|
801
|
-
type HandleReadFileFromEphemeralDevServerData = {
|
|
802
|
-
body: ReadFileRequest;
|
|
803
|
-
};
|
|
804
|
-
type HandleReadFileFromEphemeralDevServerResponse = ({
|
|
805
|
-
id: string;
|
|
806
|
-
isNew: boolean;
|
|
807
|
-
content: ({
|
|
808
|
-
content: string;
|
|
809
|
-
encoding: string;
|
|
810
|
-
kind: 'file';
|
|
811
|
-
} | {
|
|
812
|
-
files: Array<(string)>;
|
|
813
|
-
kind: 'directory';
|
|
814
|
-
});
|
|
815
|
-
});
|
|
816
|
-
type HandleReadFileFromEphemeralDevServerError = ({
|
|
817
|
-
id: string;
|
|
818
|
-
isNew: boolean;
|
|
819
|
-
} | InternalServerError);
|
|
820
|
-
type HandleGitCommitPushData = {
|
|
821
|
-
body: GitCommitPushRequest;
|
|
822
|
-
};
|
|
823
|
-
type HandleGitCommitPushResponse = ({
|
|
824
|
-
id: string;
|
|
825
|
-
isNew: boolean;
|
|
826
|
-
});
|
|
827
|
-
type HandleGitCommitPushError = (InternalServerError);
|
|
828
|
-
type HandleShutdownDevServerData = {
|
|
829
|
-
body: ShutdownDevServerRequest;
|
|
830
|
-
};
|
|
831
|
-
type HandleShutdownDevServerResponse = ({
|
|
832
|
-
success: boolean;
|
|
833
|
-
message: string;
|
|
834
|
-
});
|
|
835
|
-
type HandleShutdownDevServerError = ({
|
|
836
|
-
message: string;
|
|
837
|
-
} | InternalServerError);
|
|
838
|
-
type HandleDevServerStatusData = {
|
|
839
|
-
body: DevServerStatusRequest;
|
|
840
|
-
};
|
|
841
|
-
type HandleDevServerStatusResponse = ({
|
|
842
|
-
installing: boolean;
|
|
843
|
-
devRunning: boolean;
|
|
844
|
-
});
|
|
845
|
-
type HandleDevServerStatusError = (InternalServerError);
|
|
846
|
-
type HandleWatchDevServerFilesData = {
|
|
847
|
-
body: DevServerWatchFilesRequest;
|
|
848
|
-
};
|
|
849
|
-
type HandleWatchDevServerFilesResponse = (string);
|
|
850
|
-
type HandleWatchDevServerFilesError = unknown;
|
|
851
|
-
type HandleListExecuteRunsData = {
|
|
852
|
-
query?: {
|
|
853
|
-
limit?: (number) | null;
|
|
854
|
-
offset?: (number) | null;
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
type HandleListExecuteRunsResponse = ({
|
|
858
|
-
entries: Array<ExecuteLogEntry>;
|
|
859
|
-
total: number;
|
|
860
|
-
offset: number;
|
|
861
|
-
});
|
|
862
|
-
type HandleListExecuteRunsError = ({
|
|
863
|
-
message: string;
|
|
864
|
-
});
|
|
865
|
-
type HandleGetExecuteRunData = {
|
|
866
|
-
path: {
|
|
867
|
-
deployment: string;
|
|
868
|
-
};
|
|
869
|
-
};
|
|
870
|
-
type HandleGetExecuteRunResponse = ({
|
|
871
|
-
metadata: ExecuteLogEntry;
|
|
872
|
-
code: ExecuteRunInfo;
|
|
873
|
-
});
|
|
874
|
-
type HandleGetExecuteRunError = ({
|
|
875
|
-
message: string;
|
|
876
|
-
});
|
|
877
|
-
type HandleExecuteScriptData = {
|
|
878
|
-
body: FreestyleExecuteScriptParams;
|
|
879
|
-
};
|
|
880
|
-
type HandleExecuteScriptResponse = ({
|
|
881
|
-
/**
|
|
882
|
-
* The return value of the default export of the script
|
|
883
|
-
*/
|
|
884
|
-
result: unknown;
|
|
885
|
-
logs: Array<FreestyleJavaScriptLog>;
|
|
886
|
-
});
|
|
887
|
-
type HandleExecuteScriptError = ({
|
|
888
|
-
error: string;
|
|
889
|
-
logs?: Array<FreestyleJavaScriptLog> | null;
|
|
890
|
-
});
|
|
891
|
-
type HandleListIdentitiesData = {
|
|
892
|
-
query?: {
|
|
893
|
-
includeManaged?: (boolean) | null;
|
|
894
|
-
limit?: (number) | null;
|
|
895
|
-
offset?: (number) | null;
|
|
896
|
-
};
|
|
897
|
-
};
|
|
898
|
-
type HandleListIdentitiesResponse = ({
|
|
899
|
-
identities: Array<GitIdentity>;
|
|
900
|
-
offset: number;
|
|
901
|
-
total: number;
|
|
902
|
-
});
|
|
903
|
-
type HandleListIdentitiesError = ({
|
|
904
|
-
message: string;
|
|
905
|
-
});
|
|
906
|
-
type HandleCreateIdentityResponse = (GitIdentity);
|
|
907
|
-
type HandleCreateIdentityError = ({
|
|
908
|
-
message: string;
|
|
909
|
-
});
|
|
910
|
-
type HandleDeleteIdentityData = {
|
|
911
|
-
path: {
|
|
912
|
-
identity: string;
|
|
913
|
-
};
|
|
914
|
-
};
|
|
915
|
-
type HandleDeleteIdentityResponse = ({
|
|
916
|
-
[key: string]: unknown;
|
|
917
|
-
});
|
|
918
|
-
type HandleDeleteIdentityError = ({
|
|
919
|
-
message: string;
|
|
920
|
-
});
|
|
921
|
-
type HandleListPermissionsData = {
|
|
922
|
-
path: {
|
|
923
|
-
identity: string;
|
|
924
|
-
};
|
|
925
|
-
query?: {
|
|
926
|
-
/**
|
|
927
|
-
* Maximum number of repositories to return
|
|
928
|
-
*/
|
|
929
|
-
limit?: number;
|
|
930
|
-
/**
|
|
931
|
-
* Offset for the list of repositories
|
|
932
|
-
*/
|
|
933
|
-
offset?: number;
|
|
934
|
-
};
|
|
935
|
-
};
|
|
936
|
-
type HandleListPermissionsResponse = (ListPermissionResponseSuccess);
|
|
937
|
-
type HandleListPermissionsError = ({
|
|
938
|
-
message: string;
|
|
939
|
-
});
|
|
940
|
-
type HandleDescribePermissionData = {
|
|
941
|
-
path: {
|
|
942
|
-
identity: string;
|
|
943
|
-
repo: string;
|
|
944
|
-
};
|
|
945
|
-
};
|
|
946
|
-
type HandleDescribePermissionResponse = (DescribePermissionResponseSuccess);
|
|
947
|
-
type HandleDescribePermissionError = ({
|
|
948
|
-
message: string;
|
|
949
|
-
});
|
|
950
|
-
type HandleGrantPermissionData = {
|
|
951
|
-
body: GrantPermissionRequest;
|
|
952
|
-
path: {
|
|
953
|
-
identity: string;
|
|
954
|
-
repo: string;
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
type HandleGrantPermissionResponse = ({
|
|
958
|
-
[key: string]: unknown;
|
|
959
|
-
});
|
|
960
|
-
type HandleGrantPermissionError = ({
|
|
961
|
-
message: string;
|
|
962
|
-
});
|
|
963
|
-
type HandleRevokePermissionData = {
|
|
964
|
-
path: {
|
|
965
|
-
identity: string;
|
|
966
|
-
repo: string;
|
|
967
|
-
};
|
|
968
|
-
};
|
|
969
|
-
type HandleRevokePermissionResponse = ({
|
|
970
|
-
[key: string]: unknown;
|
|
971
|
-
});
|
|
972
|
-
type HandleRevokePermissionError = ({
|
|
973
|
-
message: string;
|
|
974
|
-
});
|
|
975
|
-
type HandleUpdatePermissionData = {
|
|
976
|
-
body: UpdatePermissionRequest;
|
|
977
|
-
path: {
|
|
978
|
-
identity: string;
|
|
979
|
-
repo: string;
|
|
980
|
-
};
|
|
981
|
-
};
|
|
982
|
-
type HandleUpdatePermissionResponse = ({
|
|
983
|
-
[key: string]: unknown;
|
|
984
|
-
});
|
|
985
|
-
type HandleUpdatePermissionError = ({
|
|
986
|
-
message: string;
|
|
987
|
-
});
|
|
988
|
-
type HandleListGitTokensData = {
|
|
989
|
-
path: {
|
|
990
|
-
identity: string;
|
|
991
|
-
};
|
|
992
|
-
};
|
|
993
|
-
type HandleListGitTokensResponse = (ListGitTokensResponseSuccess);
|
|
994
|
-
type HandleListGitTokensError = ({
|
|
995
|
-
message: string;
|
|
996
|
-
});
|
|
997
|
-
type HandleCreateGitTokenData = {
|
|
998
|
-
path: {
|
|
999
|
-
identity: string;
|
|
1000
|
-
};
|
|
1001
|
-
};
|
|
1002
|
-
type HandleCreateGitTokenResponse = (CreatedToken);
|
|
1003
|
-
type HandleCreateGitTokenError = ({
|
|
1004
|
-
message: string;
|
|
1005
|
-
});
|
|
1006
|
-
type HandleRevokeGitTokenData = {
|
|
1007
|
-
body: RevokeGitTokenRequest;
|
|
1008
|
-
path: {
|
|
1009
|
-
identity: string;
|
|
1010
|
-
};
|
|
1011
|
-
};
|
|
1012
|
-
type HandleRevokeGitTokenResponse = ({
|
|
1013
|
-
[key: string]: unknown;
|
|
1014
|
-
});
|
|
1015
|
-
type HandleRevokeGitTokenError = ({
|
|
1016
|
-
message: string;
|
|
1017
|
-
});
|
|
1018
|
-
type HandleListRepositoriesData = {
|
|
1019
|
-
query?: {
|
|
1020
|
-
/**
|
|
1021
|
-
* Maximum number of repositories to return
|
|
1022
|
-
*/
|
|
1023
|
-
limit?: number;
|
|
1024
|
-
/**
|
|
1025
|
-
* Offset for the list of repositories
|
|
1026
|
-
*/
|
|
1027
|
-
offset?: number;
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
type HandleListRepositoriesResponse = ({
|
|
1031
|
-
repositories: Array<RepositoryInfo>;
|
|
1032
|
-
offset: number;
|
|
1033
|
-
});
|
|
1034
|
-
type HandleListRepositoriesError = ({
|
|
1035
|
-
message: string;
|
|
1036
|
-
});
|
|
1037
|
-
type HandleCreateRepoData = {
|
|
1038
|
-
body: {
|
|
1039
|
-
/**
|
|
1040
|
-
* This name is not visible to users, and is only accessible to you via API and in the
|
|
1041
|
-
* dashboard. Mostly useful for observability.
|
|
1042
|
-
*/
|
|
1043
|
-
name?: (string) | null;
|
|
1044
|
-
public?: boolean;
|
|
1045
|
-
source?: CreateRepoSource;
|
|
1046
|
-
};
|
|
1047
|
-
};
|
|
1048
|
-
type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
|
|
1049
|
-
type HandleCreateRepoError = ({
|
|
1050
|
-
message: string;
|
|
1051
|
-
});
|
|
1052
|
-
type HandleDeleteRepoData = {
|
|
1053
|
-
path: {
|
|
1054
|
-
/**
|
|
1055
|
-
* The repository id
|
|
1056
|
-
*/
|
|
1057
|
-
repo: string;
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
|
-
type HandleDeleteRepoResponse = ({
|
|
1061
|
-
[key: string]: unknown;
|
|
1062
|
-
});
|
|
1063
|
-
type HandleDeleteRepoError = ({
|
|
1064
|
-
message: string;
|
|
1065
|
-
} | {
|
|
1066
|
-
[key: string]: unknown;
|
|
1067
|
-
});
|
|
1068
|
-
type HandleGetContentsData = {
|
|
1069
|
-
path: {
|
|
1070
|
-
/**
|
|
1071
|
-
* The path to the file or directory. Empty for root.
|
|
1072
|
-
*/
|
|
1073
|
-
'*path': (string) | null;
|
|
1074
|
-
/**
|
|
1075
|
-
* The repository ID.
|
|
1076
|
-
*/
|
|
1077
|
-
repo: string;
|
|
1078
|
-
};
|
|
1079
|
-
query?: {
|
|
1080
|
-
/**
|
|
1081
|
-
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
1082
|
-
*/
|
|
1083
|
-
ref?: string;
|
|
1084
|
-
};
|
|
1085
|
-
};
|
|
1086
|
-
type HandleGetContentsResponse = (GitContents);
|
|
1087
|
-
type HandleGetContentsError = ({
|
|
1088
|
-
message: string;
|
|
1089
|
-
});
|
|
1090
|
-
type HandleGetBlobData = {
|
|
1091
|
-
path: {
|
|
1092
|
-
/**
|
|
1093
|
-
* The repository id
|
|
1094
|
-
*/
|
|
1095
|
-
repo: string;
|
|
1096
|
-
};
|
|
1097
|
-
};
|
|
1098
|
-
type HandleGetBlobResponse = (BlobObject);
|
|
1099
|
-
type HandleGetBlobError = ({
|
|
1100
|
-
message: string;
|
|
1101
|
-
});
|
|
1102
|
-
type HandleGetCommitData = {
|
|
1103
|
-
path: {
|
|
1104
|
-
/**
|
|
1105
|
-
* The object's hash
|
|
1106
|
-
*/
|
|
1107
|
-
hash: string;
|
|
1108
|
-
/**
|
|
1109
|
-
* The repository id
|
|
1110
|
-
*/
|
|
1111
|
-
repo: string;
|
|
1112
|
-
};
|
|
1113
|
-
};
|
|
1114
|
-
type HandleGetCommitResponse = (CommitObject);
|
|
1115
|
-
type HandleGetCommitError = ({
|
|
1116
|
-
message: string;
|
|
1117
|
-
});
|
|
1118
|
-
type HandleGetRefBranchData = {
|
|
1119
|
-
path: {
|
|
1120
|
-
/**
|
|
1121
|
-
* The branch's name
|
|
1122
|
-
*/
|
|
1123
|
-
branch: string;
|
|
1124
|
-
/**
|
|
1125
|
-
* The repository id
|
|
1126
|
-
*/
|
|
1127
|
-
repo: string;
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
type HandleGetRefBranchResponse = (GitReference);
|
|
1131
|
-
type HandleGetRefBranchError = (unknown | {
|
|
1132
|
-
message: string;
|
|
1133
|
-
});
|
|
1134
|
-
type HandleGetTagData = {
|
|
1135
|
-
path: {
|
|
1136
|
-
/**
|
|
1137
|
-
* The object's hash
|
|
1138
|
-
*/
|
|
1139
|
-
hash: string;
|
|
1140
|
-
/**
|
|
1141
|
-
* The repository id
|
|
1142
|
-
*/
|
|
1143
|
-
repo: string;
|
|
1144
|
-
};
|
|
1145
|
-
};
|
|
1146
|
-
type HandleGetTagResponse = (TagObject);
|
|
1147
|
-
type HandleGetTagError = ({
|
|
1148
|
-
message: string;
|
|
1149
|
-
});
|
|
1150
|
-
type HandleGetTreeData = {
|
|
1151
|
-
path: {
|
|
1152
|
-
/**
|
|
1153
|
-
* The object's hash
|
|
1154
|
-
*/
|
|
1155
|
-
hash: string;
|
|
1156
|
-
/**
|
|
1157
|
-
* The repository id
|
|
1158
|
-
*/
|
|
1159
|
-
repo: string;
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
1162
|
-
type HandleGetTreeResponse = (TreeObject);
|
|
1163
|
-
type HandleGetTreeError = ({
|
|
1164
|
-
message: string;
|
|
1165
|
-
});
|
|
1166
|
-
type HandleDownloadTarballData = {
|
|
1167
|
-
path: {
|
|
1168
|
-
/**
|
|
1169
|
-
* The repository id
|
|
1170
|
-
*/
|
|
1171
|
-
repo: string;
|
|
1172
|
-
};
|
|
1173
|
-
query?: {
|
|
1174
|
-
/**
|
|
1175
|
-
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
1176
|
-
*/
|
|
1177
|
-
ref?: string;
|
|
1178
|
-
};
|
|
1179
|
-
};
|
|
1180
|
-
type HandleDownloadTarballResponse = (unknown);
|
|
1181
|
-
type HandleDownloadTarballError = ({
|
|
1182
|
-
message: string;
|
|
1183
|
-
});
|
|
1184
|
-
type HandleListGitTriggersData = {
|
|
1185
|
-
path: {
|
|
1186
|
-
/**
|
|
1187
|
-
* The repository id
|
|
1188
|
-
*/
|
|
1189
|
-
repo: string;
|
|
1190
|
-
};
|
|
1191
|
-
};
|
|
1192
|
-
type HandleListGitTriggersResponse = ({
|
|
1193
|
-
triggers: Array<GitRepositoryTrigger>;
|
|
1194
|
-
});
|
|
1195
|
-
type HandleListGitTriggersError = ({
|
|
1196
|
-
message: string;
|
|
1197
|
-
});
|
|
1198
|
-
type HandleCreateGitTriggerData = {
|
|
1199
|
-
body: {
|
|
1200
|
-
trigger: ({
|
|
1201
|
-
branches?: Array<(string)> | null;
|
|
1202
|
-
globs?: Array<(string)> | null;
|
|
1203
|
-
event: 'push';
|
|
1204
|
-
});
|
|
1205
|
-
action: ({
|
|
1206
|
-
endpoint: string;
|
|
1207
|
-
action: 'webhook';
|
|
1208
|
-
});
|
|
1209
|
-
};
|
|
1210
|
-
path: {
|
|
1211
|
-
/**
|
|
1212
|
-
* The repository id
|
|
1213
|
-
*/
|
|
1214
|
-
repo: string;
|
|
1215
|
-
};
|
|
1216
|
-
};
|
|
1217
|
-
type HandleCreateGitTriggerResponse = ({
|
|
1218
|
-
triggerId: string;
|
|
1219
|
-
});
|
|
1220
|
-
type HandleCreateGitTriggerError = ({
|
|
1221
|
-
message: string;
|
|
1222
|
-
});
|
|
1223
|
-
type HandleDeleteGitTriggerData = {
|
|
1224
|
-
path: {
|
|
1225
|
-
/**
|
|
1226
|
-
* The trigger id
|
|
1227
|
-
*/
|
|
1228
|
-
trigger: string;
|
|
1229
|
-
};
|
|
1230
|
-
};
|
|
1231
|
-
type HandleDeleteGitTriggerResponse = ({
|
|
1232
|
-
[key: string]: unknown;
|
|
1233
|
-
});
|
|
1234
|
-
type HandleDeleteGitTriggerError = ({
|
|
1235
|
-
message: string;
|
|
1236
|
-
} | {
|
|
1237
|
-
[key: string]: unknown;
|
|
1238
|
-
});
|
|
1239
|
-
type HandleGetLogsData = {
|
|
1240
|
-
query?: {
|
|
1241
|
-
deploymentId?: (string) | null;
|
|
1242
|
-
domain?: (string) | null;
|
|
1243
|
-
};
|
|
1244
|
-
};
|
|
1245
|
-
type HandleGetLogsResponse = (FreestyleGetLogsResponse);
|
|
1246
|
-
type HandleGetLogsError = unknown;
|
|
1247
|
-
type HandleGetRefTagData = {
|
|
1248
|
-
path: {
|
|
1249
|
-
/**
|
|
1250
|
-
* The repository id
|
|
1251
|
-
*/
|
|
1252
|
-
repo: string;
|
|
1253
|
-
/**
|
|
1254
|
-
* The tag's name
|
|
1255
|
-
*/
|
|
1256
|
-
tag: string;
|
|
1257
|
-
};
|
|
1258
|
-
};
|
|
1259
|
-
type HandleGetRefTagResponse = (GitReference);
|
|
1260
|
-
type HandleGetRefTagError = (unknown | {
|
|
1261
|
-
message: string;
|
|
1262
|
-
});
|
|
1263
|
-
type HandleDeployWebData = {
|
|
1264
|
-
body: FreestyleDeployWebPayload;
|
|
1265
|
-
};
|
|
1266
|
-
type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponseV2);
|
|
1267
|
-
type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
|
|
1268
|
-
type HandleDeployWebV2Data = {
|
|
1269
|
-
body: FreestyleDeployWebPayloadV2;
|
|
1270
|
-
};
|
|
1271
|
-
type HandleDeployWebV2Response = (FreestyleDeployWebSuccessResponseV2);
|
|
1272
|
-
type HandleDeployWebV2Error = (FreestyleDeployWebErrorResponse);
|
|
1273
|
-
type HandleListWebDeploysData = {
|
|
1274
|
-
query: {
|
|
1275
|
-
/**
|
|
1276
|
-
* Maximum number of repositories to return
|
|
1277
|
-
*/
|
|
1278
|
-
limit: number;
|
|
1279
|
-
/**
|
|
1280
|
-
* Offset for the list of repositories
|
|
1281
|
-
*/
|
|
1282
|
-
offset: number;
|
|
1283
|
-
};
|
|
1284
|
-
};
|
|
1285
|
-
type HandleListWebDeploysResponse = ({
|
|
1286
|
-
entries: Array<DeploymentLogEntry>;
|
|
1287
|
-
total: number;
|
|
1288
|
-
offset: number;
|
|
1289
|
-
});
|
|
1290
|
-
type HandleListWebDeploysError = ({
|
|
1291
|
-
message: string;
|
|
1292
|
-
});
|
|
1293
|
-
type HandleGetWebDeployDetailsData = {
|
|
1294
|
-
path: {
|
|
1295
|
-
deployment_id: string;
|
|
1296
|
-
};
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
export type { DevServer as $, AccessLevel as A, HandleCreateGitTriggerResponse as B, CreateRepositoryResponseSuccess as C, DeploymentSource as D, DeploymentBuildOptions as E, FreestyleExecuteScriptParamsConfiguration as F, GitIdentity as G, HandleBackupCloudstateResponse as H, AccessibleRepository as I, AccessTokenInfo as J, Behavior as K, ListPermissionResponseSuccess as L, BlobEncoding as M, BlobObject as N, CommitObject as O, CommitParent as P, CommitTree as Q, CreateDomainMappingRequest as R, CreateRecordParams as S, CreateRepoRequest as T, CreateRepositoryRequest as U, CreateRepoSource as V, type as W, CustomBuildOptions as X, DeploymentLogEntry as Y, kind as Z, DeploymentState as _, FreestyleExecuteScriptResultSuccess as a, HandleCreateRecordData as a$, kind2 as a0, DevServerRequest as a1, DevServerStatusRequest as a2, DevServerWatchFilesRequest as a3, DnsRecord as a4, DnsRecordData as a5, DnsRecordKind as a6, DomainVerificationRequest as a7, ExecRequest as a8, ExecuteLogEntry as a9, action2 as aA, GrantPermissionRequest as aB, InternalServerError as aC, ListRecordsResponse as aD, NetworkPermissionData as aE, ReadFileEphemeralDevServerResponses as aF, ReadFileRequest as aG, RepositoryInfo as aH, RevokeGitTokenRequest as aI, ShutdownDevServerRequest as aJ, Signature as aK, TagObject as aL, TagTarget as aM, TreeEntry as aN, type3 as aO, TreeObject as aP, UpdatePermissionRequest as aQ, Visibility as aR, WriteFileRequest as aS, HandleDeployCloudstateData as aT, HandleDeployCloudstateResponse as aU, HandleDeployCloudstateError as aV, HandleBackupCloudstateData as aW, HandleBackupCloudstateError as aX, HandleListRecordsData as aY, HandleListRecordsResponse as aZ, HandleListRecordsError as a_, ExecuteRunInfo as aa, ExecuteRunState as ab, FileReadContent as ac, kind3 as ad, FreestyleCloudstateDeployConfiguration as ae, FreestyleCloudstateDeployErrorResponse as af, FreestyleDeleteDomainVerificationRequest as ag, FreestyleDeployWebErrorResponse as ah, FreestyleDeployWebPayload as ai, FreestyleDeployWebPayloadV2 as aj, FreestyleDomainVerificationRequest as ak, FreestyleExecuteScriptParams as al, FreestyleFile as am, FreestyleGetLogsResponse as an, FreestyleJavaScriptLog as ao, FreestyleLogResponseObject as ap, FreestyleNetworkPermission as aq, action as ar, FreestyleVerifyDomainRequest as as, GitCommitPushRequest as at, GitContents as au, type2 as av, GitContentsDirEntryItem as aw, GitReference as ax, GitRepositoryTrigger as ay, event as az, FreestyleDeployWebConfiguration as b, HandleDescribePermissionError as b$, HandleCreateRecordResponse as b0, HandleCreateRecordError as b1, HandleDeleteRecordData as b2, HandleDeleteRecordResponse as b3, HandleDeleteRecordError as b4, HandleVerifyWildcardData as b5, HandleVerifyWildcardError as b6, HandleListDomainsError as b7, HandleInsertDomainMappingData as b8, HandleInsertDomainMappingResponse as b9, HandleShutdownDevServerResponse as bA, HandleShutdownDevServerError as bB, HandleDevServerStatusData as bC, HandleDevServerStatusResponse as bD, HandleDevServerStatusError as bE, HandleWatchDevServerFilesData as bF, HandleWatchDevServerFilesResponse as bG, HandleWatchDevServerFilesError as bH, HandleListExecuteRunsData as bI, HandleListExecuteRunsError as bJ, HandleGetExecuteRunData as bK, HandleGetExecuteRunError as bL, HandleExecuteScriptData as bM, HandleExecuteScriptResponse as bN, HandleExecuteScriptError as bO, HandleListIdentitiesData as bP, HandleListIdentitiesResponse as bQ, HandleListIdentitiesError as bR, HandleCreateIdentityResponse as bS, HandleCreateIdentityError as bT, HandleDeleteIdentityData as bU, HandleDeleteIdentityError as bV, HandleListPermissionsData as bW, HandleListPermissionsResponse as bX, HandleListPermissionsError as bY, HandleDescribePermissionData as bZ, HandleDescribePermissionResponse as b_, HandleInsertDomainMappingError as ba, HandleDeleteDomainMappingData as bb, HandleDeleteDomainMappingResponse as bc, HandleDeleteDomainMappingError as bd, HandleListDomainVerificationRequestsError as be, HandleVerifyDomainData as bf, HandleCreateDomainVerificationData as bg, HandleCreateDomainVerificationError as bh, HandleDeleteDomainVerificationData as bi, HandleDeleteDomainVerificationError as bj, HandleEphemeralDevServerData as bk, HandleEphemeralDevServerResponse as bl, HandleEphemeralDevServerError as bm, HandleExecOnEphemeralDevServerData as bn, HandleExecOnEphemeralDevServerResponse as bo, HandleExecOnEphemeralDevServerError as bp, HandleWriteFileFromEphemeralDevServerData as bq, HandleWriteFileFromEphemeralDevServerResponse as br, HandleWriteFileFromEphemeralDevServerError as bs, HandleReadFileFromEphemeralDevServerData as bt, HandleReadFileFromEphemeralDevServerResponse as bu, HandleReadFileFromEphemeralDevServerError as bv, HandleGitCommitPushData as bw, HandleGitCommitPushResponse as bx, HandleGitCommitPushError as by, HandleShutdownDevServerData as bz, FreestyleDeployWebSuccessResponseV2 as c, HandleListWebDeploysData as c$, HandleGrantPermissionData as c0, HandleGrantPermissionError as c1, HandleRevokePermissionData as c2, HandleRevokePermissionResponse as c3, HandleRevokePermissionError as c4, HandleUpdatePermissionData as c5, HandleUpdatePermissionResponse as c6, HandleUpdatePermissionError as c7, HandleListGitTokensData as c8, HandleListGitTokensResponse as c9, HandleGetTagData as cA, HandleGetTagResponse as cB, HandleGetTagError as cC, HandleGetTreeData as cD, HandleGetTreeResponse as cE, HandleGetTreeError as cF, HandleDownloadTarballData as cG, HandleDownloadTarballResponse as cH, HandleDownloadTarballError as cI, HandleListGitTriggersData as cJ, HandleListGitTriggersError as cK, HandleCreateGitTriggerData as cL, HandleCreateGitTriggerError as cM, HandleDeleteGitTriggerData as cN, HandleDeleteGitTriggerResponse as cO, HandleDeleteGitTriggerError as cP, HandleGetLogsData as cQ, HandleGetLogsError as cR, HandleGetRefTagData as cS, HandleGetRefTagResponse as cT, HandleGetRefTagError as cU, HandleDeployWebData as cV, HandleDeployWebResponse as cW, HandleDeployWebError as cX, HandleDeployWebV2Data as cY, HandleDeployWebV2Response as cZ, HandleDeployWebV2Error as c_, HandleListGitTokensError as ca, HandleCreateGitTokenData as cb, HandleCreateGitTokenResponse as cc, HandleCreateGitTokenError as cd, HandleRevokeGitTokenData as ce, HandleRevokeGitTokenResponse as cf, HandleRevokeGitTokenError as cg, HandleListRepositoriesData as ch, HandleListRepositoriesError as ci, HandleCreateRepoData as cj, HandleCreateRepoResponse as ck, HandleCreateRepoError as cl, HandleDeleteRepoData as cm, HandleDeleteRepoError as cn, HandleGetContentsData as co, HandleGetContentsResponse as cp, HandleGetContentsError as cq, HandleGetBlobData as cr, HandleGetBlobResponse as cs, HandleGetBlobError as ct, HandleGetCommitData as cu, HandleGetCommitResponse as cv, HandleGetCommitError as cw, HandleGetRefBranchData as cx, HandleGetRefBranchResponse as cy, HandleGetRefBranchError as cz, FreestyleCloudstateDeployRequest as d, HandleListWebDeploysError as d0, HandleGetWebDeployDetailsData as d1, 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, HandleListGitTriggersResponse as x, GitTrigger as y, GitTriggerAction as z };
|