freestyle-sandboxes 0.0.94 → 0.0.96

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