@netlify/open-api 2.37.0 → 2.39.0
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/index.d.ts +387 -1
- package/dist/swagger.json +2007 -78
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -542,6 +542,73 @@ export interface paths {
|
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
544
|
};
|
|
545
|
+
"/agent_runners": {
|
|
546
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/listAgentRunners | `listAgentRunners`} */
|
|
547
|
+
get: operations["listAgentRunners"];
|
|
548
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/createAgentRunner | `createAgentRunner`} */
|
|
549
|
+
post: operations["createAgentRunner"];
|
|
550
|
+
};
|
|
551
|
+
"/agent_runners/{agent_runner_id}": {
|
|
552
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/getAgentRunner | `getAgentRunner`} */
|
|
553
|
+
get: operations["getAgentRunner"];
|
|
554
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/deleteAgentRunner | `deleteAgentRunner`} */
|
|
555
|
+
delete: operations["deleteAgentRunner"];
|
|
556
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/updateAgentRunner | `updateAgentRunner`} */
|
|
557
|
+
patch: operations["updateAgentRunner"];
|
|
558
|
+
parameters: {
|
|
559
|
+
path: {
|
|
560
|
+
agent_runner_id: string;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
"/agent_runners/{agent_runner_id}/archive": {
|
|
565
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/archiveAgentRunner | `archiveAgentRunner`} */
|
|
566
|
+
post: operations["archiveAgentRunner"];
|
|
567
|
+
parameters: {
|
|
568
|
+
path: {
|
|
569
|
+
agent_runner_id: string;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
"/agent_runners/{agent_runner_id}/pull_request": {
|
|
574
|
+
parameters: {
|
|
575
|
+
path: {
|
|
576
|
+
agent_runner_id: string;
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
"/agent_runners/{agent_runner_id}/commit": {
|
|
581
|
+
parameters: {
|
|
582
|
+
path: {
|
|
583
|
+
agent_runner_id: string;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
"/agent_runners/{agent_runner_id}/sessions": {
|
|
588
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/listAgentRunnerSessions | `listAgentRunnerSessions`} */
|
|
589
|
+
get: operations["listAgentRunnerSessions"];
|
|
590
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/createAgentRunnerSession | `createAgentRunnerSession`} */
|
|
591
|
+
post: operations["createAgentRunnerSession"];
|
|
592
|
+
parameters: {
|
|
593
|
+
path: {
|
|
594
|
+
agent_runner_id: string;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
"/agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}": {
|
|
599
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/getAgentRunnerSession | `getAgentRunnerSession`} */
|
|
600
|
+
get: operations["getAgentRunnerSession"];
|
|
601
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/deleteAgentRunnerSession | `deleteAgentRunnerSession`} */
|
|
602
|
+
delete: operations["deleteAgentRunnerSession"];
|
|
603
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/updateAgentRunnerSession | `updateAgentRunnerSession`} */
|
|
604
|
+
patch: operations["updateAgentRunnerSession"];
|
|
605
|
+
parameters: {
|
|
606
|
+
path: {
|
|
607
|
+
agent_runner_id: string;
|
|
608
|
+
agent_runner_session_id: string;
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
};
|
|
545
612
|
"/submissions/{submission_id}": {
|
|
546
613
|
/** API Reference: {@link https://open-api.netlify.com/#tag/submission/operation/listFormSubmission | `listFormSubmission`} */
|
|
547
614
|
get: operations["listFormSubmission"];
|
|
@@ -774,6 +841,22 @@ export interface paths {
|
|
|
774
841
|
};
|
|
775
842
|
};
|
|
776
843
|
};
|
|
844
|
+
"/ai-gateway/providers": {
|
|
845
|
+
get: {
|
|
846
|
+
responses: {
|
|
847
|
+
/** The mapping of providers and supported models */
|
|
848
|
+
200: {
|
|
849
|
+
content: {
|
|
850
|
+
"application/json": {
|
|
851
|
+
providers?: {
|
|
852
|
+
[key: string]: components["schemas"]["providerDefinition"];
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
};
|
|
777
860
|
}
|
|
778
861
|
|
|
779
862
|
export interface components {
|
|
@@ -1348,6 +1431,80 @@ export interface components {
|
|
|
1348
1431
|
log_type?: string;
|
|
1349
1432
|
} & { [key: string]: { [key: string]: unknown } };
|
|
1350
1433
|
};
|
|
1434
|
+
agentRunner: {
|
|
1435
|
+
id?: string;
|
|
1436
|
+
site_id?: string;
|
|
1437
|
+
parent_agent_runner_id?: string;
|
|
1438
|
+
state?: string;
|
|
1439
|
+
/** Format: dateTime */
|
|
1440
|
+
created_at?: string;
|
|
1441
|
+
/** Format: dateTime */
|
|
1442
|
+
updated_at?: string;
|
|
1443
|
+
/** Format: dateTime */
|
|
1444
|
+
done_at?: string;
|
|
1445
|
+
title?: string;
|
|
1446
|
+
branch?: string;
|
|
1447
|
+
result_branch?: string;
|
|
1448
|
+
pr_url?: string;
|
|
1449
|
+
pr_branch?: string;
|
|
1450
|
+
pr_state?: string;
|
|
1451
|
+
pr_number?: number;
|
|
1452
|
+
pr_is_being_created?: boolean;
|
|
1453
|
+
pr_error?: string;
|
|
1454
|
+
current_task?: string;
|
|
1455
|
+
result_diff?: string;
|
|
1456
|
+
sha?: string;
|
|
1457
|
+
merge_commit_sha?: string;
|
|
1458
|
+
merge_commit_error?: string;
|
|
1459
|
+
merge_commit_is_being_created?: boolean;
|
|
1460
|
+
base_deploy_id?: string;
|
|
1461
|
+
attached_file_keys?: string[];
|
|
1462
|
+
/** Format: dateTime */
|
|
1463
|
+
active_session_created_at?: string;
|
|
1464
|
+
latest_session_deploy_id?: string;
|
|
1465
|
+
latest_session_deploy_url?: string;
|
|
1466
|
+
user?: components["schemas"]["agentRunnerUser"];
|
|
1467
|
+
};
|
|
1468
|
+
agentRunnerSession: {
|
|
1469
|
+
id?: string;
|
|
1470
|
+
agent_runner_id?: string;
|
|
1471
|
+
dev_server_id?: string;
|
|
1472
|
+
state?: string;
|
|
1473
|
+
/** Format: dateTime */
|
|
1474
|
+
created_at?: string;
|
|
1475
|
+
/** Format: dateTime */
|
|
1476
|
+
updated_at?: string;
|
|
1477
|
+
/** Format: dateTime */
|
|
1478
|
+
done_at?: string;
|
|
1479
|
+
title?: string;
|
|
1480
|
+
prompt?: string;
|
|
1481
|
+
agent_config?: components["schemas"]["agentRunnerSessionConfig"];
|
|
1482
|
+
result?: string;
|
|
1483
|
+
result_diff?: string;
|
|
1484
|
+
commit_sha?: string;
|
|
1485
|
+
deploy_id?: string;
|
|
1486
|
+
deploy_url?: string;
|
|
1487
|
+
duration?: number;
|
|
1488
|
+
steps?: components["schemas"]["agentRunnerSessionStep"][];
|
|
1489
|
+
user?: components["schemas"]["agentRunnerUser"];
|
|
1490
|
+
attached_file_keys?: string[];
|
|
1491
|
+
result_zip_file_name?: string;
|
|
1492
|
+
is_published?: boolean;
|
|
1493
|
+
};
|
|
1494
|
+
agentRunnerSessionStep: {
|
|
1495
|
+
title?: string;
|
|
1496
|
+
message?: string;
|
|
1497
|
+
};
|
|
1498
|
+
agentRunnerSessionConfig: {
|
|
1499
|
+
agent?: string;
|
|
1500
|
+
model?: string;
|
|
1501
|
+
};
|
|
1502
|
+
agentRunnerUser: {
|
|
1503
|
+
id?: string;
|
|
1504
|
+
full_name?: string;
|
|
1505
|
+
email?: string;
|
|
1506
|
+
avatar_url?: string;
|
|
1507
|
+
};
|
|
1351
1508
|
accountUsageCapability: {
|
|
1352
1509
|
included?: number;
|
|
1353
1510
|
used?: number;
|
|
@@ -1493,6 +1650,11 @@ export interface components {
|
|
|
1493
1650
|
/** @enum {string} */
|
|
1494
1651
|
type?: "new_dev_server" | "content_refresh";
|
|
1495
1652
|
};
|
|
1653
|
+
providerDefinition: {
|
|
1654
|
+
token_env_var?: string;
|
|
1655
|
+
url_env_var?: string;
|
|
1656
|
+
models?: string[];
|
|
1657
|
+
};
|
|
1496
1658
|
};
|
|
1497
1659
|
responses: {
|
|
1498
1660
|
/** error */
|
|
@@ -3363,7 +3525,7 @@ export interface operations {
|
|
|
3363
3525
|
/** OK */
|
|
3364
3526
|
200: {
|
|
3365
3527
|
content: {
|
|
3366
|
-
"application/json": components["schemas"]["accountMembership"]
|
|
3528
|
+
"application/json": components["schemas"]["accountMembership"];
|
|
3367
3529
|
};
|
|
3368
3530
|
};
|
|
3369
3531
|
default: components["responses"]["error"];
|
|
@@ -3427,6 +3589,230 @@ export interface operations {
|
|
|
3427
3589
|
default: components["responses"]["error"];
|
|
3428
3590
|
};
|
|
3429
3591
|
};
|
|
3592
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/listAgentRunners | `listAgentRunners`} */
|
|
3593
|
+
listAgentRunners: {
|
|
3594
|
+
parameters: {
|
|
3595
|
+
query: {
|
|
3596
|
+
account_id: string;
|
|
3597
|
+
site_id: string;
|
|
3598
|
+
page?: components["parameters"]["page"];
|
|
3599
|
+
per_page?: components["parameters"]["perPage"];
|
|
3600
|
+
state?: "live" | "error";
|
|
3601
|
+
title?: string;
|
|
3602
|
+
branch?: string;
|
|
3603
|
+
result_branch?: string;
|
|
3604
|
+
from?: number;
|
|
3605
|
+
to?: number;
|
|
3606
|
+
};
|
|
3607
|
+
};
|
|
3608
|
+
responses: {
|
|
3609
|
+
/** OK */
|
|
3610
|
+
200: {
|
|
3611
|
+
content: {
|
|
3612
|
+
"application/json": components["schemas"]["agentRunner"][];
|
|
3613
|
+
};
|
|
3614
|
+
};
|
|
3615
|
+
default: components["responses"]["error"];
|
|
3616
|
+
};
|
|
3617
|
+
};
|
|
3618
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/createAgentRunner | `createAgentRunner`} */
|
|
3619
|
+
createAgentRunner: {
|
|
3620
|
+
parameters: {
|
|
3621
|
+
query: {
|
|
3622
|
+
site_id: string;
|
|
3623
|
+
deploy_id?: string;
|
|
3624
|
+
branch?: string;
|
|
3625
|
+
prompt?: string;
|
|
3626
|
+
agent?: string;
|
|
3627
|
+
model?: string;
|
|
3628
|
+
parent_agent_runner_id?: string;
|
|
3629
|
+
dev_server_image?: string;
|
|
3630
|
+
file_keys?: string[];
|
|
3631
|
+
};
|
|
3632
|
+
};
|
|
3633
|
+
responses: {
|
|
3634
|
+
/** OK */
|
|
3635
|
+
200: {
|
|
3636
|
+
content: {
|
|
3637
|
+
"application/json": components["schemas"]["agentRunner"];
|
|
3638
|
+
};
|
|
3639
|
+
};
|
|
3640
|
+
/** Not Found */
|
|
3641
|
+
404: unknown;
|
|
3642
|
+
/** Unprocessable Entity */
|
|
3643
|
+
422: unknown;
|
|
3644
|
+
default: components["responses"]["error"];
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3647
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/getAgentRunner | `getAgentRunner`} */
|
|
3648
|
+
getAgentRunner: {
|
|
3649
|
+
parameters: {
|
|
3650
|
+
path: {
|
|
3651
|
+
agent_runner_id: string;
|
|
3652
|
+
};
|
|
3653
|
+
};
|
|
3654
|
+
responses: {
|
|
3655
|
+
/** OK */
|
|
3656
|
+
200: {
|
|
3657
|
+
content: {
|
|
3658
|
+
"application/json": components["schemas"]["agentRunner"];
|
|
3659
|
+
};
|
|
3660
|
+
};
|
|
3661
|
+
default: components["responses"]["error"];
|
|
3662
|
+
};
|
|
3663
|
+
};
|
|
3664
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/deleteAgentRunner | `deleteAgentRunner`} */
|
|
3665
|
+
deleteAgentRunner: {
|
|
3666
|
+
parameters: {
|
|
3667
|
+
path: {
|
|
3668
|
+
agent_runner_id: string;
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
responses: {
|
|
3672
|
+
/** Accepted */
|
|
3673
|
+
202: unknown;
|
|
3674
|
+
default: components["responses"]["error"];
|
|
3675
|
+
};
|
|
3676
|
+
};
|
|
3677
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/updateAgentRunner | `updateAgentRunner`} */
|
|
3678
|
+
updateAgentRunner: {
|
|
3679
|
+
parameters: {
|
|
3680
|
+
path: {
|
|
3681
|
+
agent_runner_id: string;
|
|
3682
|
+
};
|
|
3683
|
+
};
|
|
3684
|
+
responses: {
|
|
3685
|
+
/** OK */
|
|
3686
|
+
200: {
|
|
3687
|
+
content: {
|
|
3688
|
+
"application/json": components["schemas"]["agentRunner"];
|
|
3689
|
+
};
|
|
3690
|
+
};
|
|
3691
|
+
default: components["responses"]["error"];
|
|
3692
|
+
};
|
|
3693
|
+
};
|
|
3694
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunner/operation/archiveAgentRunner | `archiveAgentRunner`} */
|
|
3695
|
+
archiveAgentRunner: {
|
|
3696
|
+
parameters: {
|
|
3697
|
+
path: {
|
|
3698
|
+
agent_runner_id: string;
|
|
3699
|
+
};
|
|
3700
|
+
};
|
|
3701
|
+
responses: {
|
|
3702
|
+
/** Accepted */
|
|
3703
|
+
202: unknown;
|
|
3704
|
+
/** Not Found */
|
|
3705
|
+
404: unknown;
|
|
3706
|
+
/** Unprocessable Entity */
|
|
3707
|
+
422: unknown;
|
|
3708
|
+
default: components["responses"]["error"];
|
|
3709
|
+
};
|
|
3710
|
+
};
|
|
3711
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/listAgentRunnerSessions | `listAgentRunnerSessions`} */
|
|
3712
|
+
listAgentRunnerSessions: {
|
|
3713
|
+
parameters: {
|
|
3714
|
+
path: {
|
|
3715
|
+
agent_runner_id: string;
|
|
3716
|
+
};
|
|
3717
|
+
query: {
|
|
3718
|
+
page?: components["parameters"]["page"];
|
|
3719
|
+
per_page?: components["parameters"]["perPage"];
|
|
3720
|
+
state?: "live" | "error";
|
|
3721
|
+
from?: number;
|
|
3722
|
+
to?: number;
|
|
3723
|
+
order_by?: "asc" | "desc";
|
|
3724
|
+
};
|
|
3725
|
+
};
|
|
3726
|
+
responses: {
|
|
3727
|
+
/** OK */
|
|
3728
|
+
200: {
|
|
3729
|
+
content: {
|
|
3730
|
+
"application/json": components["schemas"]["agentRunnerSession"][];
|
|
3731
|
+
};
|
|
3732
|
+
};
|
|
3733
|
+
default: components["responses"]["error"];
|
|
3734
|
+
};
|
|
3735
|
+
};
|
|
3736
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/createAgentRunnerSession | `createAgentRunnerSession`} */
|
|
3737
|
+
createAgentRunnerSession: {
|
|
3738
|
+
parameters: {
|
|
3739
|
+
path: {
|
|
3740
|
+
agent_runner_id: string;
|
|
3741
|
+
};
|
|
3742
|
+
query: {
|
|
3743
|
+
prompt?: string;
|
|
3744
|
+
agent?: string;
|
|
3745
|
+
model?: string;
|
|
3746
|
+
file_keys?: string[];
|
|
3747
|
+
};
|
|
3748
|
+
};
|
|
3749
|
+
responses: {
|
|
3750
|
+
/** OK */
|
|
3751
|
+
200: {
|
|
3752
|
+
content: {
|
|
3753
|
+
"application/json": components["schemas"]["agentRunnerSession"];
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
/** Not Found */
|
|
3757
|
+
404: unknown;
|
|
3758
|
+
/** Unprocessable Entity */
|
|
3759
|
+
422: unknown;
|
|
3760
|
+
default: components["responses"]["error"];
|
|
3761
|
+
};
|
|
3762
|
+
};
|
|
3763
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/getAgentRunnerSession | `getAgentRunnerSession`} */
|
|
3764
|
+
getAgentRunnerSession: {
|
|
3765
|
+
parameters: {
|
|
3766
|
+
path: {
|
|
3767
|
+
agent_runner_id: string;
|
|
3768
|
+
agent_runner_session_id: string;
|
|
3769
|
+
};
|
|
3770
|
+
};
|
|
3771
|
+
responses: {
|
|
3772
|
+
/** OK */
|
|
3773
|
+
200: {
|
|
3774
|
+
content: {
|
|
3775
|
+
"application/json": components["schemas"]["agentRunnerSession"];
|
|
3776
|
+
};
|
|
3777
|
+
};
|
|
3778
|
+
default: components["responses"]["error"];
|
|
3779
|
+
};
|
|
3780
|
+
};
|
|
3781
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/deleteAgentRunnerSession | `deleteAgentRunnerSession`} */
|
|
3782
|
+
deleteAgentRunnerSession: {
|
|
3783
|
+
parameters: {
|
|
3784
|
+
path: {
|
|
3785
|
+
agent_runner_id: string;
|
|
3786
|
+
agent_runner_session_id: string;
|
|
3787
|
+
};
|
|
3788
|
+
};
|
|
3789
|
+
responses: {
|
|
3790
|
+
/** Accepted */
|
|
3791
|
+
202: unknown;
|
|
3792
|
+
default: components["responses"]["error"];
|
|
3793
|
+
};
|
|
3794
|
+
};
|
|
3795
|
+
/** API Reference: {@link https://open-api.netlify.com/#tag/agentRunnerSession/operation/updateAgentRunnerSession | `updateAgentRunnerSession`} */
|
|
3796
|
+
updateAgentRunnerSession: {
|
|
3797
|
+
parameters: {
|
|
3798
|
+
path: {
|
|
3799
|
+
agent_runner_id: string;
|
|
3800
|
+
agent_runner_session_id: string;
|
|
3801
|
+
};
|
|
3802
|
+
query: {
|
|
3803
|
+
is_published?: boolean;
|
|
3804
|
+
};
|
|
3805
|
+
};
|
|
3806
|
+
responses: {
|
|
3807
|
+
/** OK */
|
|
3808
|
+
200: {
|
|
3809
|
+
content: {
|
|
3810
|
+
"application/json": components["schemas"]["agentRunnerSession"];
|
|
3811
|
+
};
|
|
3812
|
+
};
|
|
3813
|
+
default: components["responses"]["error"];
|
|
3814
|
+
};
|
|
3815
|
+
};
|
|
3430
3816
|
/** API Reference: {@link https://open-api.netlify.com/#tag/submission/operation/listFormSubmission | `listFormSubmission`} */
|
|
3431
3817
|
listFormSubmission: {
|
|
3432
3818
|
parameters: {
|