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