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