vercel-api-js 0.21.2 → 0.22.1
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +23 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +577 -335
- package/dist/index.d.mts +577 -335
- package/dist/index.d.ts +577 -335
- package/dist/index.mjs +8 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -186,7 +186,7 @@ type TeamLimited = {
|
|
|
186
186
|
accessRequestedAt?: number;
|
|
187
187
|
role: 'BILLING' | 'CONTRIBUTOR' | 'DEVELOPER' | 'MEMBER' | 'OWNER' | 'SECURITY' | 'VIEWER';
|
|
188
188
|
teamRoles?: ('BILLING' | 'CONTRIBUTOR' | 'DEVELOPER' | 'MEMBER' | 'OWNER' | 'SECURITY' | 'VIEWER')[];
|
|
189
|
-
teamPermissions?: ('CreateProject' | 'FullProductionDeployment')[];
|
|
189
|
+
teamPermissions?: ('CreateProject' | 'FullProductionDeployment' | 'UsageViewer')[];
|
|
190
190
|
teamId?: string;
|
|
191
191
|
createdAt: number;
|
|
192
192
|
created: number;
|
|
@@ -298,7 +298,7 @@ type AuthUser = {
|
|
|
298
298
|
softBlock: {
|
|
299
299
|
blockedAt: number;
|
|
300
300
|
reason: 'BLOCKED_FOR_PLATFORM_ABUSE' | 'ENTERPRISE_TRIAL_ENDED' | 'FAIR_USE_LIMITS_EXCEEDED' | 'SUBSCRIPTION_CANCELED' | 'SUBSCRIPTION_EXPIRED' | 'UNPAID_INVOICE';
|
|
301
|
-
blockedDueToOverageType?: 'aiCredits' | 'analyticsUsage' | 'artifacts' | 'bandwidth' | '
|
|
301
|
+
blockedDueToOverageType?: 'aiCredits' | 'analyticsUsage' | 'artifacts' | 'bandwidth' | 'blobTotalAdvancedRequests' | 'blobTotalAvgSizeInBytes' | 'blobTotalGetResponseObjectSizeInBytes' | 'blobTotalSimpleRequests' | 'dataCacheRead' | 'dataCacheWrite' | 'edgeConfigRead' | 'edgeConfigWrite' | 'edgeFunctionExecutionUnits' | 'edgeMiddlewareInvocations' | 'edgeRequest' | 'edgeRequestAdditionalCpuDuration' | 'elasticConcurrencyBuildSlots' | 'fastDataTransfer' | 'fastOriginTransfer' | 'functionDuration' | 'functionInvocation' | 'imageOptimizationCacheRead' | 'imageOptimizationCacheWrite' | 'imageOptimizationTransformation' | 'logDrainsVolume' | 'monitoringMetric' | 'objectDataTransfer' | 'observabilityEvent' | 'postgresComputeTime' | 'postgresDataStorage' | 'postgresDataTransfer' | 'postgresDatabase' | 'postgresWrittenData' | 'serverlessFunctionExecution' | 'sourceImages' | 'storageRedisTotalBandwidthInBytes' | 'storageRedisTotalCommands' | 'storageRedisTotalDailyAvgStorageInBytes' | 'storageRedisTotalDatabases' | 'wafOwaspExcessBytes' | 'wafOwaspRequests' | 'wafRateLimitRequest' | 'webAnalyticsEvent';
|
|
302
302
|
} | null;
|
|
303
303
|
/**
|
|
304
304
|
* An object containing billing infomation associated with the User account.
|
|
@@ -308,10 +308,6 @@ type AuthUser = {
|
|
|
308
308
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
309
309
|
*/
|
|
310
310
|
resourceConfig: {
|
|
311
|
-
/**
|
|
312
|
-
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
313
|
-
*/
|
|
314
|
-
blobStores?: number;
|
|
315
311
|
/**
|
|
316
312
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
317
313
|
*/
|
|
@@ -364,6 +360,10 @@ type AuthUser = {
|
|
|
364
360
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
365
361
|
*/
|
|
366
362
|
postgresDatabases?: number;
|
|
363
|
+
/**
|
|
364
|
+
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
365
|
+
*/
|
|
366
|
+
blobStores?: number;
|
|
367
367
|
/**
|
|
368
368
|
* An object containing infomation related to the amount of platform resources may be allocated to the User account.
|
|
369
369
|
*/
|
|
@@ -722,6 +722,19 @@ type ReadAccessGroupResponse = {
|
|
|
722
722
|
* @example 2
|
|
723
723
|
*/
|
|
724
724
|
projectsCount: number;
|
|
725
|
+
/**
|
|
726
|
+
* Roles that the team has in the access group.
|
|
727
|
+
*
|
|
728
|
+
* @example BILLING
|
|
729
|
+
* @example DEVELOPER
|
|
730
|
+
*/
|
|
731
|
+
teamRoles?: string[];
|
|
732
|
+
/**
|
|
733
|
+
* Permissions that the team has in the access group.
|
|
734
|
+
*
|
|
735
|
+
* @example CreateProject
|
|
736
|
+
*/
|
|
737
|
+
teamPermissions?: string[];
|
|
725
738
|
};
|
|
726
739
|
type ReadAccessGroupVariables = {
|
|
727
740
|
pathParams: ReadAccessGroupPathParams;
|
|
@@ -789,6 +802,19 @@ type UpdateAccessGroupResponse = {
|
|
|
789
802
|
* @example 2
|
|
790
803
|
*/
|
|
791
804
|
projectsCount: number;
|
|
805
|
+
/**
|
|
806
|
+
* Roles that the team has in the access group.
|
|
807
|
+
*
|
|
808
|
+
* @example BILLING
|
|
809
|
+
* @example DEVELOPER
|
|
810
|
+
*/
|
|
811
|
+
teamRoles?: string[];
|
|
812
|
+
/**
|
|
813
|
+
* Permissions that the team has in the access group.
|
|
814
|
+
*
|
|
815
|
+
* @example CreateProject
|
|
816
|
+
*/
|
|
817
|
+
teamPermissions?: string[];
|
|
792
818
|
};
|
|
793
819
|
type UpdateAccessGroupRequestBody = {
|
|
794
820
|
/**
|
|
@@ -1017,6 +1043,19 @@ declare const listAccessGroups: (variables: ListAccessGroupsVariables, signal?:
|
|
|
1017
1043
|
* @example 2
|
|
1018
1044
|
*/
|
|
1019
1045
|
projectsCount: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* Roles that the team has in the access group.
|
|
1048
|
+
*
|
|
1049
|
+
* @example DEVELOPER
|
|
1050
|
+
* @example BILLING
|
|
1051
|
+
*/
|
|
1052
|
+
teamRoles?: string[];
|
|
1053
|
+
/**
|
|
1054
|
+
* Permissions that the team has in the access group.
|
|
1055
|
+
*
|
|
1056
|
+
* @example CreateProject
|
|
1057
|
+
*/
|
|
1058
|
+
teamPermissions?: string[];
|
|
1020
1059
|
}[];
|
|
1021
1060
|
pagination: {
|
|
1022
1061
|
count: number;
|
|
@@ -1067,6 +1106,19 @@ type CreateAccessGroupResponse = {
|
|
|
1067
1106
|
* @example ag_123a6c5209bc3778245d011443644c8d27dc2c50
|
|
1068
1107
|
*/
|
|
1069
1108
|
accessGroupId: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* Roles that the team has in the access group.
|
|
1111
|
+
*
|
|
1112
|
+
* @example BILLING
|
|
1113
|
+
* @example DEVELOPER
|
|
1114
|
+
*/
|
|
1115
|
+
teamRoles?: string[];
|
|
1116
|
+
/**
|
|
1117
|
+
* Permissions that the team has in the access group.
|
|
1118
|
+
*
|
|
1119
|
+
* @example CreateProject
|
|
1120
|
+
*/
|
|
1121
|
+
teamPermissions?: string[];
|
|
1070
1122
|
};
|
|
1071
1123
|
type CreateAccessGroupRequestBody = {
|
|
1072
1124
|
/**
|
|
@@ -2442,6 +2494,25 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2442
2494
|
functionZeroConfigFailover?: boolean;
|
|
2443
2495
|
elasticConcurrencyEnabled?: boolean;
|
|
2444
2496
|
};
|
|
2497
|
+
rollingRelease?: {
|
|
2498
|
+
/**
|
|
2499
|
+
* The environment that the release targets, currently only supports production. Adding in case we want to configure with alias groups or custom environments.
|
|
2500
|
+
*/
|
|
2501
|
+
target: string;
|
|
2502
|
+
/**
|
|
2503
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth 0-100 stage. So once we have fetched the document with the start time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving. There is no approval required, and for the case of Vercel, it would just slowly shift traffic 0 to 100%.
|
|
2504
|
+
*/
|
|
2505
|
+
minutesToRelease?: number;
|
|
2506
|
+
/**
|
|
2507
|
+
* An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
|
|
2508
|
+
*/
|
|
2509
|
+
stages?: {
|
|
2510
|
+
/**
|
|
2511
|
+
* The percentage of traffic to serve to the new deployment
|
|
2512
|
+
*/
|
|
2513
|
+
targetPercentage: number;
|
|
2514
|
+
}[] | null;
|
|
2515
|
+
} | null;
|
|
2445
2516
|
defaultResourceConfig: {
|
|
2446
2517
|
fluid?: boolean;
|
|
2447
2518
|
functionDefaultRegions: string[];
|
|
@@ -2582,6 +2653,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2582
2653
|
ownEvent?: ACLAction[];
|
|
2583
2654
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
2584
2655
|
fileUpload?: ACLAction[];
|
|
2656
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
2585
2657
|
gitRepository?: ACLAction[];
|
|
2586
2658
|
ipBlocking?: ACLAction[];
|
|
2587
2659
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -2603,6 +2675,7 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2603
2675
|
marketplaceExperimentationItem?: ACLAction[];
|
|
2604
2676
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
2605
2677
|
jobGlobal?: ACLAction[];
|
|
2678
|
+
drain?: ACLAction[];
|
|
2606
2679
|
logDrain?: ACLAction[];
|
|
2607
2680
|
Monitoring?: ACLAction[];
|
|
2608
2681
|
monitoringSettings?: ACLAction[];
|
|
@@ -2768,6 +2841,12 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2768
2841
|
*/
|
|
2769
2842
|
onCommit: boolean;
|
|
2770
2843
|
};
|
|
2844
|
+
gitProviderOptions?: {
|
|
2845
|
+
/**
|
|
2846
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
2847
|
+
*/
|
|
2848
|
+
createDeployments: 'disabled' | 'enabled';
|
|
2849
|
+
};
|
|
2771
2850
|
paused?: boolean;
|
|
2772
2851
|
concurrencyBucketName?: string;
|
|
2773
2852
|
webAnalytics?: {
|
|
@@ -2851,6 +2930,12 @@ type UpdateProjectDataCacheResponse = {
|
|
|
2851
2930
|
ja3Enabled?: boolean;
|
|
2852
2931
|
ja4Enabled?: boolean;
|
|
2853
2932
|
firewallBypassIps?: string[];
|
|
2933
|
+
managedRules?: {
|
|
2934
|
+
[key: string]: {
|
|
2935
|
+
active: boolean;
|
|
2936
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
2937
|
+
};
|
|
2938
|
+
} | null;
|
|
2854
2939
|
};
|
|
2855
2940
|
oidcTokenConfig?: {
|
|
2856
2941
|
enabled: boolean;
|
|
@@ -3144,9 +3229,9 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3144
3229
|
action?: string;
|
|
3145
3230
|
} | null;
|
|
3146
3231
|
id: string;
|
|
3232
|
+
name: string;
|
|
3147
3233
|
type: "LAMBDAS";
|
|
3148
3234
|
createdAt: number;
|
|
3149
|
-
name: string;
|
|
3150
3235
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
3151
3236
|
aliasError?: {
|
|
3152
3237
|
code: string;
|
|
@@ -3494,9 +3579,9 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
|
|
|
3494
3579
|
action?: string;
|
|
3495
3580
|
} | null;
|
|
3496
3581
|
id: string;
|
|
3582
|
+
name: string;
|
|
3497
3583
|
type: "LAMBDAS";
|
|
3498
3584
|
createdAt: number;
|
|
3499
|
-
name: string;
|
|
3500
3585
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
3501
3586
|
aliasError?: {
|
|
3502
3587
|
code: string;
|
|
@@ -3759,8 +3844,8 @@ type CreateDeploymentResponse = {
|
|
|
3759
3844
|
id: string;
|
|
3760
3845
|
};
|
|
3761
3846
|
type: 'LAMBDAS';
|
|
3762
|
-
createdAt: number;
|
|
3763
3847
|
name: string;
|
|
3848
|
+
createdAt: number;
|
|
3764
3849
|
deletedAt?: number | null;
|
|
3765
3850
|
id: string;
|
|
3766
3851
|
version: 2;
|
|
@@ -3886,6 +3971,7 @@ type CreateDeploymentResponse = {
|
|
|
3886
3971
|
project_id: string;
|
|
3887
3972
|
environment: string;
|
|
3888
3973
|
};
|
|
3974
|
+
plan: 'enterprise' | 'hobby' | 'pro';
|
|
3889
3975
|
projectId: string;
|
|
3890
3976
|
ownerId: string;
|
|
3891
3977
|
microfrontends?: {
|
|
@@ -4016,7 +4102,6 @@ type CreateDeploymentResponse = {
|
|
|
4016
4102
|
schedule: string;
|
|
4017
4103
|
path: string;
|
|
4018
4104
|
}[];
|
|
4019
|
-
plan: 'enterprise' | 'hobby' | 'pro';
|
|
4020
4105
|
connectBuildsEnabled?: boolean;
|
|
4021
4106
|
connectConfigurationId?: string;
|
|
4022
4107
|
createdIn: string;
|
|
@@ -6459,7 +6544,7 @@ type CreateEdgeConfigRequestBody = {
|
|
|
6459
6544
|
*/
|
|
6460
6545
|
slug: string;
|
|
6461
6546
|
items?: {
|
|
6462
|
-
[key: string]:
|
|
6547
|
+
[key: string]: any;
|
|
6463
6548
|
};
|
|
6464
6549
|
};
|
|
6465
6550
|
type CreateEdgeConfigVariables = {
|
|
@@ -7311,7 +7396,7 @@ type SubmitBillingDataRequestBody = {
|
|
|
7311
7396
|
/**
|
|
7312
7397
|
* Partner's resource ID.
|
|
7313
7398
|
*/
|
|
7314
|
-
resourceId
|
|
7399
|
+
resourceId?: string;
|
|
7315
7400
|
/**
|
|
7316
7401
|
* Metric name.
|
|
7317
7402
|
*/
|
|
@@ -7585,6 +7670,10 @@ type UpdateResourceSecretsRequestBody = {
|
|
|
7585
7670
|
value: string;
|
|
7586
7671
|
prefix?: string;
|
|
7587
7672
|
}[];
|
|
7673
|
+
/**
|
|
7674
|
+
* If true, will only update the provided secrets
|
|
7675
|
+
*/
|
|
7676
|
+
partial?: boolean;
|
|
7588
7677
|
};
|
|
7589
7678
|
type UpdateResourceSecretsVariables = {
|
|
7590
7679
|
body: UpdateResourceSecretsRequestBody;
|
|
@@ -7605,6 +7694,10 @@ type UpdateResourceSecretsByIdRequestBody = {
|
|
|
7605
7694
|
value: string;
|
|
7606
7695
|
prefix?: string;
|
|
7607
7696
|
}[];
|
|
7697
|
+
/**
|
|
7698
|
+
* If true, will only update the provided secrets
|
|
7699
|
+
*/
|
|
7700
|
+
partial?: boolean;
|
|
7608
7701
|
};
|
|
7609
7702
|
type UpdateResourceSecretsByIdVariables = {
|
|
7610
7703
|
body: UpdateResourceSecretsByIdRequestBody;
|
|
@@ -8713,7 +8806,7 @@ type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentat
|
|
|
8713
8806
|
};
|
|
8714
8807
|
type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody = {
|
|
8715
8808
|
data: {
|
|
8716
|
-
[key: string]:
|
|
8809
|
+
[key: string]: any;
|
|
8717
8810
|
};
|
|
8718
8811
|
};
|
|
8719
8812
|
type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigVariables = {
|
|
@@ -9425,6 +9518,25 @@ type GetProjectsResponse = {
|
|
|
9425
9518
|
functionZeroConfigFailover?: boolean;
|
|
9426
9519
|
elasticConcurrencyEnabled?: boolean;
|
|
9427
9520
|
};
|
|
9521
|
+
rollingRelease?: {
|
|
9522
|
+
/**
|
|
9523
|
+
* The environment that the release targets, currently only supports production. Adding in case we want to configure with alias groups or custom environments.
|
|
9524
|
+
*/
|
|
9525
|
+
target: string;
|
|
9526
|
+
/**
|
|
9527
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth 0-100 stage. So once we have fetched the document with the start time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving. There is no approval required, and for the case of Vercel, it would just slowly shift traffic 0 to 100%.
|
|
9528
|
+
*/
|
|
9529
|
+
minutesToRelease?: number;
|
|
9530
|
+
/**
|
|
9531
|
+
* An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
|
|
9532
|
+
*/
|
|
9533
|
+
stages?: {
|
|
9534
|
+
/**
|
|
9535
|
+
* The percentage of traffic to serve to the new deployment
|
|
9536
|
+
*/
|
|
9537
|
+
targetPercentage: number;
|
|
9538
|
+
}[] | null;
|
|
9539
|
+
} | null;
|
|
9428
9540
|
defaultResourceConfig: {
|
|
9429
9541
|
fluid?: boolean;
|
|
9430
9542
|
functionDefaultRegions: string[];
|
|
@@ -9565,6 +9677,7 @@ type GetProjectsResponse = {
|
|
|
9565
9677
|
ownEvent?: ACLAction[];
|
|
9566
9678
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
9567
9679
|
fileUpload?: ACLAction[];
|
|
9680
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
9568
9681
|
gitRepository?: ACLAction[];
|
|
9569
9682
|
ipBlocking?: ACLAction[];
|
|
9570
9683
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -9586,6 +9699,7 @@ type GetProjectsResponse = {
|
|
|
9586
9699
|
marketplaceExperimentationItem?: ACLAction[];
|
|
9587
9700
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
9588
9701
|
jobGlobal?: ACLAction[];
|
|
9702
|
+
drain?: ACLAction[];
|
|
9589
9703
|
logDrain?: ACLAction[];
|
|
9590
9704
|
Monitoring?: ACLAction[];
|
|
9591
9705
|
monitoringSettings?: ACLAction[];
|
|
@@ -9751,6 +9865,12 @@ type GetProjectsResponse = {
|
|
|
9751
9865
|
*/
|
|
9752
9866
|
onCommit: boolean;
|
|
9753
9867
|
};
|
|
9868
|
+
gitProviderOptions?: {
|
|
9869
|
+
/**
|
|
9870
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
9871
|
+
*/
|
|
9872
|
+
createDeployments: 'disabled' | 'enabled';
|
|
9873
|
+
};
|
|
9754
9874
|
paused?: boolean;
|
|
9755
9875
|
concurrencyBucketName?: string;
|
|
9756
9876
|
webAnalytics?: {
|
|
@@ -9834,6 +9954,12 @@ type GetProjectsResponse = {
|
|
|
9834
9954
|
ja3Enabled?: boolean;
|
|
9835
9955
|
ja4Enabled?: boolean;
|
|
9836
9956
|
firewallBypassIps?: string[];
|
|
9957
|
+
managedRules?: {
|
|
9958
|
+
[key: string]: {
|
|
9959
|
+
active: boolean;
|
|
9960
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
9961
|
+
};
|
|
9962
|
+
} | null;
|
|
9837
9963
|
};
|
|
9838
9964
|
oidcTokenConfig?: {
|
|
9839
9965
|
enabled: boolean;
|
|
@@ -10228,6 +10354,25 @@ type CreateProjectResponse = {
|
|
|
10228
10354
|
functionZeroConfigFailover?: boolean;
|
|
10229
10355
|
elasticConcurrencyEnabled?: boolean;
|
|
10230
10356
|
};
|
|
10357
|
+
rollingRelease?: {
|
|
10358
|
+
/**
|
|
10359
|
+
* The environment that the release targets, currently only supports production. Adding in case we want to configure with alias groups or custom environments.
|
|
10360
|
+
*/
|
|
10361
|
+
target: string;
|
|
10362
|
+
/**
|
|
10363
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth 0-100 stage. So once we have fetched the document with the start time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving. There is no approval required, and for the case of Vercel, it would just slowly shift traffic 0 to 100%.
|
|
10364
|
+
*/
|
|
10365
|
+
minutesToRelease?: number;
|
|
10366
|
+
/**
|
|
10367
|
+
* An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
|
|
10368
|
+
*/
|
|
10369
|
+
stages?: {
|
|
10370
|
+
/**
|
|
10371
|
+
* The percentage of traffic to serve to the new deployment
|
|
10372
|
+
*/
|
|
10373
|
+
targetPercentage: number;
|
|
10374
|
+
}[] | null;
|
|
10375
|
+
} | null;
|
|
10231
10376
|
defaultResourceConfig: {
|
|
10232
10377
|
fluid?: boolean;
|
|
10233
10378
|
functionDefaultRegions: string[];
|
|
@@ -10368,6 +10513,7 @@ type CreateProjectResponse = {
|
|
|
10368
10513
|
ownEvent?: ACLAction[];
|
|
10369
10514
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
10370
10515
|
fileUpload?: ACLAction[];
|
|
10516
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
10371
10517
|
gitRepository?: ACLAction[];
|
|
10372
10518
|
ipBlocking?: ACLAction[];
|
|
10373
10519
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -10389,6 +10535,7 @@ type CreateProjectResponse = {
|
|
|
10389
10535
|
marketplaceExperimentationItem?: ACLAction[];
|
|
10390
10536
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
10391
10537
|
jobGlobal?: ACLAction[];
|
|
10538
|
+
drain?: ACLAction[];
|
|
10392
10539
|
logDrain?: ACLAction[];
|
|
10393
10540
|
Monitoring?: ACLAction[];
|
|
10394
10541
|
monitoringSettings?: ACLAction[];
|
|
@@ -10554,6 +10701,12 @@ type CreateProjectResponse = {
|
|
|
10554
10701
|
*/
|
|
10555
10702
|
onCommit: boolean;
|
|
10556
10703
|
};
|
|
10704
|
+
gitProviderOptions?: {
|
|
10705
|
+
/**
|
|
10706
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
10707
|
+
*/
|
|
10708
|
+
createDeployments: 'disabled' | 'enabled';
|
|
10709
|
+
};
|
|
10557
10710
|
paused?: boolean;
|
|
10558
10711
|
concurrencyBucketName?: string;
|
|
10559
10712
|
webAnalytics?: {
|
|
@@ -10637,6 +10790,12 @@ type CreateProjectResponse = {
|
|
|
10637
10790
|
ja3Enabled?: boolean;
|
|
10638
10791
|
ja4Enabled?: boolean;
|
|
10639
10792
|
firewallBypassIps?: string[];
|
|
10793
|
+
managedRules?: {
|
|
10794
|
+
[key: string]: {
|
|
10795
|
+
active: boolean;
|
|
10796
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
10797
|
+
};
|
|
10798
|
+
} | null;
|
|
10640
10799
|
};
|
|
10641
10800
|
oidcTokenConfig?: {
|
|
10642
10801
|
enabled: boolean;
|
|
@@ -11163,6 +11322,25 @@ type GetProjectResponse = {
|
|
|
11163
11322
|
functionZeroConfigFailover?: boolean;
|
|
11164
11323
|
elasticConcurrencyEnabled?: boolean;
|
|
11165
11324
|
};
|
|
11325
|
+
rollingRelease?: {
|
|
11326
|
+
/**
|
|
11327
|
+
* The environment that the release targets, currently only supports production. Adding in case we want to configure with alias groups or custom environments.
|
|
11328
|
+
*/
|
|
11329
|
+
target: string;
|
|
11330
|
+
/**
|
|
11331
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth 0-100 stage. So once we have fetched the document with the start time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving. There is no approval required, and for the case of Vercel, it would just slowly shift traffic 0 to 100%.
|
|
11332
|
+
*/
|
|
11333
|
+
minutesToRelease?: number;
|
|
11334
|
+
/**
|
|
11335
|
+
* An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
|
|
11336
|
+
*/
|
|
11337
|
+
stages?: {
|
|
11338
|
+
/**
|
|
11339
|
+
* The percentage of traffic to serve to the new deployment
|
|
11340
|
+
*/
|
|
11341
|
+
targetPercentage: number;
|
|
11342
|
+
}[] | null;
|
|
11343
|
+
} | null;
|
|
11166
11344
|
defaultResourceConfig: {
|
|
11167
11345
|
fluid?: boolean;
|
|
11168
11346
|
functionDefaultRegions: string[];
|
|
@@ -11303,6 +11481,7 @@ type GetProjectResponse = {
|
|
|
11303
11481
|
ownEvent?: ACLAction[];
|
|
11304
11482
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
11305
11483
|
fileUpload?: ACLAction[];
|
|
11484
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
11306
11485
|
gitRepository?: ACLAction[];
|
|
11307
11486
|
ipBlocking?: ACLAction[];
|
|
11308
11487
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -11324,6 +11503,7 @@ type GetProjectResponse = {
|
|
|
11324
11503
|
marketplaceExperimentationItem?: ACLAction[];
|
|
11325
11504
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
11326
11505
|
jobGlobal?: ACLAction[];
|
|
11506
|
+
drain?: ACLAction[];
|
|
11327
11507
|
logDrain?: ACLAction[];
|
|
11328
11508
|
Monitoring?: ACLAction[];
|
|
11329
11509
|
monitoringSettings?: ACLAction[];
|
|
@@ -11489,6 +11669,12 @@ type GetProjectResponse = {
|
|
|
11489
11669
|
*/
|
|
11490
11670
|
onCommit: boolean;
|
|
11491
11671
|
};
|
|
11672
|
+
gitProviderOptions?: {
|
|
11673
|
+
/**
|
|
11674
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
11675
|
+
*/
|
|
11676
|
+
createDeployments: 'disabled' | 'enabled';
|
|
11677
|
+
};
|
|
11492
11678
|
paused?: boolean;
|
|
11493
11679
|
concurrencyBucketName?: string;
|
|
11494
11680
|
webAnalytics?: {
|
|
@@ -11572,6 +11758,12 @@ type GetProjectResponse = {
|
|
|
11572
11758
|
ja3Enabled?: boolean;
|
|
11573
11759
|
ja4Enabled?: boolean;
|
|
11574
11760
|
firewallBypassIps?: string[];
|
|
11761
|
+
managedRules?: {
|
|
11762
|
+
[key: string]: {
|
|
11763
|
+
active: boolean;
|
|
11764
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
11765
|
+
};
|
|
11766
|
+
} | null;
|
|
11575
11767
|
};
|
|
11576
11768
|
oidcTokenConfig?: {
|
|
11577
11769
|
enabled: boolean;
|
|
@@ -11973,6 +12165,25 @@ type UpdateProjectResponse = {
|
|
|
11973
12165
|
functionZeroConfigFailover?: boolean;
|
|
11974
12166
|
elasticConcurrencyEnabled?: boolean;
|
|
11975
12167
|
};
|
|
12168
|
+
rollingRelease?: {
|
|
12169
|
+
/**
|
|
12170
|
+
* The environment that the release targets, currently only supports production. Adding in case we want to configure with alias groups or custom environments.
|
|
12171
|
+
*/
|
|
12172
|
+
target: string;
|
|
12173
|
+
/**
|
|
12174
|
+
* minutesToRelease is the total time to gradually shift percentages. This value overrides stages and instead creates a single smooth 0-100 stage. So once we have fetched the document with the start time, subtract from the current time, and divide by total minutesToRelease, to determine what percentage of traffic the new deployment should be serving. There is no approval required, and for the case of Vercel, it would just slowly shift traffic 0 to 100%.
|
|
12175
|
+
*/
|
|
12176
|
+
minutesToRelease?: number;
|
|
12177
|
+
/**
|
|
12178
|
+
* An array of all the stages required during a deployment release. each stage requires an approval before advancing to the next stage.
|
|
12179
|
+
*/
|
|
12180
|
+
stages?: {
|
|
12181
|
+
/**
|
|
12182
|
+
* The percentage of traffic to serve to the new deployment
|
|
12183
|
+
*/
|
|
12184
|
+
targetPercentage: number;
|
|
12185
|
+
}[] | null;
|
|
12186
|
+
} | null;
|
|
11976
12187
|
defaultResourceConfig: {
|
|
11977
12188
|
fluid?: boolean;
|
|
11978
12189
|
functionDefaultRegions: string[];
|
|
@@ -12113,6 +12324,7 @@ type UpdateProjectResponse = {
|
|
|
12113
12324
|
ownEvent?: ACLAction[];
|
|
12114
12325
|
sensitiveEnvironmentVariablePolicy?: ACLAction[];
|
|
12115
12326
|
fileUpload?: ACLAction[];
|
|
12327
|
+
flagsExplorerSubscription?: ACLAction[];
|
|
12116
12328
|
gitRepository?: ACLAction[];
|
|
12117
12329
|
ipBlocking?: ACLAction[];
|
|
12118
12330
|
imageOptimizationNewPrice?: ACLAction[];
|
|
@@ -12134,6 +12346,7 @@ type UpdateProjectResponse = {
|
|
|
12134
12346
|
marketplaceExperimentationItem?: ACLAction[];
|
|
12135
12347
|
marketplaceExperimentationEdgeConfigData?: ACLAction[];
|
|
12136
12348
|
jobGlobal?: ACLAction[];
|
|
12349
|
+
drain?: ACLAction[];
|
|
12137
12350
|
logDrain?: ACLAction[];
|
|
12138
12351
|
Monitoring?: ACLAction[];
|
|
12139
12352
|
monitoringSettings?: ACLAction[];
|
|
@@ -12299,6 +12512,12 @@ type UpdateProjectResponse = {
|
|
|
12299
12512
|
*/
|
|
12300
12513
|
onCommit: boolean;
|
|
12301
12514
|
};
|
|
12515
|
+
gitProviderOptions?: {
|
|
12516
|
+
/**
|
|
12517
|
+
* Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
|
|
12518
|
+
*/
|
|
12519
|
+
createDeployments: 'disabled' | 'enabled';
|
|
12520
|
+
};
|
|
12302
12521
|
paused?: boolean;
|
|
12303
12522
|
concurrencyBucketName?: string;
|
|
12304
12523
|
webAnalytics?: {
|
|
@@ -12382,6 +12601,12 @@ type UpdateProjectResponse = {
|
|
|
12382
12601
|
ja3Enabled?: boolean;
|
|
12383
12602
|
ja4Enabled?: boolean;
|
|
12384
12603
|
firewallBypassIps?: string[];
|
|
12604
|
+
managedRules?: {
|
|
12605
|
+
[key: string]: {
|
|
12606
|
+
active: boolean;
|
|
12607
|
+
action?: 'challenge' | 'deny' | 'log';
|
|
12608
|
+
};
|
|
12609
|
+
} | null;
|
|
12385
12610
|
};
|
|
12386
12611
|
oidcTokenConfig?: {
|
|
12387
12612
|
enabled: boolean;
|
|
@@ -13569,19 +13794,21 @@ declare const filterProjectEnvs: (variables: FilterProjectEnvsVariables, signal?
|
|
|
13569
13794
|
system?: boolean;
|
|
13570
13795
|
}[];
|
|
13571
13796
|
}>;
|
|
13572
|
-
type
|
|
13797
|
+
type CreateProjectEnvPathParams = {
|
|
13573
13798
|
/**
|
|
13574
13799
|
* The unique project identifier or the project name
|
|
13575
13800
|
*
|
|
13576
13801
|
* @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA
|
|
13577
13802
|
*/
|
|
13578
13803
|
idOrName: string;
|
|
13804
|
+
};
|
|
13805
|
+
type CreateProjectEnvQueryParams = {
|
|
13579
13806
|
/**
|
|
13580
|
-
*
|
|
13807
|
+
* Allow override of environment variable if it already exists
|
|
13808
|
+
*
|
|
13809
|
+
* @example true
|
|
13581
13810
|
*/
|
|
13582
|
-
|
|
13583
|
-
};
|
|
13584
|
-
type GetProjectEnvQueryParams = {
|
|
13811
|
+
upsert?: string;
|
|
13585
13812
|
/**
|
|
13586
13813
|
* The Team identifier to perform the request on behalf of.
|
|
13587
13814
|
*/
|
|
@@ -13591,293 +13818,13 @@ type GetProjectEnvQueryParams = {
|
|
|
13591
13818
|
*/
|
|
13592
13819
|
slug?: string;
|
|
13593
13820
|
};
|
|
13594
|
-
type
|
|
13595
|
-
type
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
/**
|
|
13600
|
-
* Retrieve the environment variable for a given project.
|
|
13601
|
-
*/
|
|
13602
|
-
declare const getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
13603
|
-
decrypted: boolean;
|
|
13604
|
-
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
13605
|
-
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
13606
|
-
/**
|
|
13607
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13608
|
-
*/
|
|
13609
|
-
sunsetSecretId?: string;
|
|
13610
|
-
id?: string;
|
|
13611
|
-
key: string;
|
|
13612
|
-
configurationId?: string | null;
|
|
13613
|
-
createdAt?: number;
|
|
13614
|
-
updatedAt?: number;
|
|
13615
|
-
createdBy?: string | null;
|
|
13616
|
-
updatedBy?: string | null;
|
|
13617
|
-
gitBranch?: string;
|
|
13618
|
-
edgeConfigId?: string | null;
|
|
13619
|
-
edgeConfigTokenId?: string | null;
|
|
13620
|
-
contentHint?: {
|
|
13621
|
-
type: "redis-url";
|
|
13622
|
-
storeId: string;
|
|
13623
|
-
} | {
|
|
13624
|
-
type: "redis-rest-api-url";
|
|
13625
|
-
storeId: string;
|
|
13626
|
-
} | {
|
|
13627
|
-
type: "redis-rest-api-token";
|
|
13628
|
-
storeId: string;
|
|
13629
|
-
} | {
|
|
13630
|
-
type: "redis-rest-api-read-only-token";
|
|
13631
|
-
storeId: string;
|
|
13632
|
-
} | {
|
|
13633
|
-
type: "blob-read-write-token";
|
|
13634
|
-
storeId: string;
|
|
13635
|
-
} | {
|
|
13636
|
-
type: "postgres-url";
|
|
13637
|
-
storeId: string;
|
|
13638
|
-
} | {
|
|
13639
|
-
type: "postgres-url-non-pooling";
|
|
13640
|
-
storeId: string;
|
|
13641
|
-
} | {
|
|
13642
|
-
type: "postgres-prisma-url";
|
|
13643
|
-
storeId: string;
|
|
13644
|
-
} | {
|
|
13645
|
-
type: "postgres-user";
|
|
13646
|
-
storeId: string;
|
|
13647
|
-
} | {
|
|
13648
|
-
type: "postgres-host";
|
|
13649
|
-
storeId: string;
|
|
13650
|
-
} | {
|
|
13651
|
-
type: "postgres-password";
|
|
13652
|
-
storeId: string;
|
|
13653
|
-
} | {
|
|
13654
|
-
type: "postgres-database";
|
|
13655
|
-
storeId: string;
|
|
13656
|
-
} | {
|
|
13657
|
-
type: "postgres-url-no-ssl";
|
|
13658
|
-
storeId: string;
|
|
13659
|
-
} | {
|
|
13660
|
-
type: "integration-store-secret";
|
|
13661
|
-
storeId: string;
|
|
13662
|
-
integrationId: string;
|
|
13663
|
-
integrationProductId: string;
|
|
13664
|
-
integrationConfigurationId: string;
|
|
13665
|
-
} | {
|
|
13666
|
-
type: "flags-connection-string";
|
|
13667
|
-
projectId: string;
|
|
13668
|
-
} | null;
|
|
13669
|
-
/**
|
|
13670
|
-
* Similar to `contentHints`, but should not be exposed to the user.
|
|
13671
|
-
*/
|
|
13672
|
-
internalContentHint?: {
|
|
13673
|
-
type: "flags-secret";
|
|
13821
|
+
type CreateProjectEnvError = ErrorWrapper<undefined>;
|
|
13822
|
+
type CreateProjectEnvResponse = {
|
|
13823
|
+
created: {
|
|
13824
|
+
target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
|
|
13825
|
+
type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
|
|
13674
13826
|
/**
|
|
13675
|
-
*
|
|
13676
|
-
*/
|
|
13677
|
-
encryptedValue: string;
|
|
13678
|
-
} | null;
|
|
13679
|
-
comment?: string;
|
|
13680
|
-
customEnvironmentIds?: string[];
|
|
13681
|
-
vsmValue?: string;
|
|
13682
|
-
} | {
|
|
13683
|
-
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
13684
|
-
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
13685
|
-
/**
|
|
13686
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13687
|
-
*/
|
|
13688
|
-
sunsetSecretId?: string;
|
|
13689
|
-
id?: string;
|
|
13690
|
-
key: string;
|
|
13691
|
-
value: string;
|
|
13692
|
-
configurationId?: string | null;
|
|
13693
|
-
createdAt?: number;
|
|
13694
|
-
updatedAt?: number;
|
|
13695
|
-
createdBy?: string | null;
|
|
13696
|
-
updatedBy?: string | null;
|
|
13697
|
-
gitBranch?: string;
|
|
13698
|
-
edgeConfigId?: string | null;
|
|
13699
|
-
edgeConfigTokenId?: string | null;
|
|
13700
|
-
contentHint?: {
|
|
13701
|
-
type: "redis-url";
|
|
13702
|
-
storeId: string;
|
|
13703
|
-
} | {
|
|
13704
|
-
type: "redis-rest-api-url";
|
|
13705
|
-
storeId: string;
|
|
13706
|
-
} | {
|
|
13707
|
-
type: "redis-rest-api-token";
|
|
13708
|
-
storeId: string;
|
|
13709
|
-
} | {
|
|
13710
|
-
type: "redis-rest-api-read-only-token";
|
|
13711
|
-
storeId: string;
|
|
13712
|
-
} | {
|
|
13713
|
-
type: "blob-read-write-token";
|
|
13714
|
-
storeId: string;
|
|
13715
|
-
} | {
|
|
13716
|
-
type: "postgres-url";
|
|
13717
|
-
storeId: string;
|
|
13718
|
-
} | {
|
|
13719
|
-
type: "postgres-url-non-pooling";
|
|
13720
|
-
storeId: string;
|
|
13721
|
-
} | {
|
|
13722
|
-
type: "postgres-prisma-url";
|
|
13723
|
-
storeId: string;
|
|
13724
|
-
} | {
|
|
13725
|
-
type: "postgres-user";
|
|
13726
|
-
storeId: string;
|
|
13727
|
-
} | {
|
|
13728
|
-
type: "postgres-host";
|
|
13729
|
-
storeId: string;
|
|
13730
|
-
} | {
|
|
13731
|
-
type: "postgres-password";
|
|
13732
|
-
storeId: string;
|
|
13733
|
-
} | {
|
|
13734
|
-
type: "postgres-database";
|
|
13735
|
-
storeId: string;
|
|
13736
|
-
} | {
|
|
13737
|
-
type: "postgres-url-no-ssl";
|
|
13738
|
-
storeId: string;
|
|
13739
|
-
} | {
|
|
13740
|
-
type: "integration-store-secret";
|
|
13741
|
-
storeId: string;
|
|
13742
|
-
integrationId: string;
|
|
13743
|
-
integrationProductId: string;
|
|
13744
|
-
integrationConfigurationId: string;
|
|
13745
|
-
} | {
|
|
13746
|
-
type: "flags-connection-string";
|
|
13747
|
-
projectId: string;
|
|
13748
|
-
} | null;
|
|
13749
|
-
/**
|
|
13750
|
-
* Similar to `contentHints`, but should not be exposed to the user.
|
|
13751
|
-
*/
|
|
13752
|
-
internalContentHint?: {
|
|
13753
|
-
type: "flags-secret";
|
|
13754
|
-
/**
|
|
13755
|
-
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
13756
|
-
*/
|
|
13757
|
-
encryptedValue: string;
|
|
13758
|
-
} | null;
|
|
13759
|
-
/**
|
|
13760
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
13761
|
-
*/
|
|
13762
|
-
decrypted?: boolean;
|
|
13763
|
-
comment?: string;
|
|
13764
|
-
customEnvironmentIds?: string[];
|
|
13765
|
-
vsmValue?: string;
|
|
13766
|
-
} | {
|
|
13767
|
-
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
13768
|
-
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
13769
|
-
/**
|
|
13770
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13771
|
-
*/
|
|
13772
|
-
sunsetSecretId?: string;
|
|
13773
|
-
id?: string;
|
|
13774
|
-
key: string;
|
|
13775
|
-
value: string;
|
|
13776
|
-
configurationId?: string | null;
|
|
13777
|
-
createdAt?: number;
|
|
13778
|
-
updatedAt?: number;
|
|
13779
|
-
createdBy?: string | null;
|
|
13780
|
-
updatedBy?: string | null;
|
|
13781
|
-
gitBranch?: string;
|
|
13782
|
-
edgeConfigId?: string | null;
|
|
13783
|
-
edgeConfigTokenId?: string | null;
|
|
13784
|
-
contentHint?: {
|
|
13785
|
-
type: "redis-url";
|
|
13786
|
-
storeId: string;
|
|
13787
|
-
} | {
|
|
13788
|
-
type: "redis-rest-api-url";
|
|
13789
|
-
storeId: string;
|
|
13790
|
-
} | {
|
|
13791
|
-
type: "redis-rest-api-token";
|
|
13792
|
-
storeId: string;
|
|
13793
|
-
} | {
|
|
13794
|
-
type: "redis-rest-api-read-only-token";
|
|
13795
|
-
storeId: string;
|
|
13796
|
-
} | {
|
|
13797
|
-
type: "blob-read-write-token";
|
|
13798
|
-
storeId: string;
|
|
13799
|
-
} | {
|
|
13800
|
-
type: "postgres-url";
|
|
13801
|
-
storeId: string;
|
|
13802
|
-
} | {
|
|
13803
|
-
type: "postgres-url-non-pooling";
|
|
13804
|
-
storeId: string;
|
|
13805
|
-
} | {
|
|
13806
|
-
type: "postgres-prisma-url";
|
|
13807
|
-
storeId: string;
|
|
13808
|
-
} | {
|
|
13809
|
-
type: "postgres-user";
|
|
13810
|
-
storeId: string;
|
|
13811
|
-
} | {
|
|
13812
|
-
type: "postgres-host";
|
|
13813
|
-
storeId: string;
|
|
13814
|
-
} | {
|
|
13815
|
-
type: "postgres-password";
|
|
13816
|
-
storeId: string;
|
|
13817
|
-
} | {
|
|
13818
|
-
type: "postgres-database";
|
|
13819
|
-
storeId: string;
|
|
13820
|
-
} | {
|
|
13821
|
-
type: "postgres-url-no-ssl";
|
|
13822
|
-
storeId: string;
|
|
13823
|
-
} | {
|
|
13824
|
-
type: "integration-store-secret";
|
|
13825
|
-
storeId: string;
|
|
13826
|
-
integrationId: string;
|
|
13827
|
-
integrationProductId: string;
|
|
13828
|
-
integrationConfigurationId: string;
|
|
13829
|
-
} | {
|
|
13830
|
-
type: "flags-connection-string";
|
|
13831
|
-
projectId: string;
|
|
13832
|
-
} | null;
|
|
13833
|
-
/**
|
|
13834
|
-
* Similar to `contentHints`, but should not be exposed to the user.
|
|
13835
|
-
*/
|
|
13836
|
-
internalContentHint?: {
|
|
13837
|
-
type: "flags-secret";
|
|
13838
|
-
/**
|
|
13839
|
-
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
13840
|
-
*/
|
|
13841
|
-
encryptedValue: string;
|
|
13842
|
-
} | null;
|
|
13843
|
-
/**
|
|
13844
|
-
* Whether `value` and `vsmValue` are decrypted.
|
|
13845
|
-
*/
|
|
13846
|
-
decrypted?: boolean;
|
|
13847
|
-
comment?: string;
|
|
13848
|
-
customEnvironmentIds?: string[];
|
|
13849
|
-
}>;
|
|
13850
|
-
type CreateProjectEnvPathParams = {
|
|
13851
|
-
/**
|
|
13852
|
-
* The unique project identifier or the project name
|
|
13853
|
-
*
|
|
13854
|
-
* @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA
|
|
13855
|
-
*/
|
|
13856
|
-
idOrName: string;
|
|
13857
|
-
};
|
|
13858
|
-
type CreateProjectEnvQueryParams = {
|
|
13859
|
-
/**
|
|
13860
|
-
* Allow override of environment variable if it already exists
|
|
13861
|
-
*
|
|
13862
|
-
* @example true
|
|
13863
|
-
*/
|
|
13864
|
-
upsert?: string;
|
|
13865
|
-
/**
|
|
13866
|
-
* The Team identifier to perform the request on behalf of.
|
|
13867
|
-
*/
|
|
13868
|
-
teamId?: string;
|
|
13869
|
-
/**
|
|
13870
|
-
* The Team slug to perform the request on behalf of.
|
|
13871
|
-
*/
|
|
13872
|
-
slug?: string;
|
|
13873
|
-
};
|
|
13874
|
-
type CreateProjectEnvError = ErrorWrapper<undefined>;
|
|
13875
|
-
type CreateProjectEnvResponse = {
|
|
13876
|
-
created: {
|
|
13877
|
-
target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
|
|
13878
|
-
type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
|
|
13879
|
-
/**
|
|
13880
|
-
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13827
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
13881
13828
|
*/
|
|
13882
13829
|
sunsetSecretId?: string;
|
|
13883
13830
|
id?: string;
|
|
@@ -14241,6 +14188,284 @@ type CreateProjectEnvVariables = {
|
|
|
14241
14188
|
* Create one or more environment variables for a project by passing its `key`, `value`, `type` and `target` and by specifying the project by either passing the project `id` or `name` in the URL. If you include `upsert=true` as a query parameter, a new environment variable will not be created if it already exists but, the existing variable's value will be updated.
|
|
14242
14189
|
*/
|
|
14243
14190
|
declare const createProjectEnv: (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
14191
|
+
type GetProjectEnvPathParams = {
|
|
14192
|
+
/**
|
|
14193
|
+
* The unique project identifier or the project name
|
|
14194
|
+
*
|
|
14195
|
+
* @example prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA
|
|
14196
|
+
*/
|
|
14197
|
+
idOrName: string;
|
|
14198
|
+
/**
|
|
14199
|
+
* The unique ID for the environment variable to get the decrypted value.
|
|
14200
|
+
*/
|
|
14201
|
+
id: string;
|
|
14202
|
+
};
|
|
14203
|
+
type GetProjectEnvQueryParams = {
|
|
14204
|
+
/**
|
|
14205
|
+
* The Team identifier to perform the request on behalf of.
|
|
14206
|
+
*/
|
|
14207
|
+
teamId?: string;
|
|
14208
|
+
/**
|
|
14209
|
+
* The Team slug to perform the request on behalf of.
|
|
14210
|
+
*/
|
|
14211
|
+
slug?: string;
|
|
14212
|
+
};
|
|
14213
|
+
type GetProjectEnvError = ErrorWrapper<undefined>;
|
|
14214
|
+
type GetProjectEnvVariables = {
|
|
14215
|
+
pathParams: GetProjectEnvPathParams;
|
|
14216
|
+
queryParams?: GetProjectEnvQueryParams;
|
|
14217
|
+
} & FetcherExtraProps;
|
|
14218
|
+
/**
|
|
14219
|
+
* Retrieve the environment variable for a given project.
|
|
14220
|
+
*/
|
|
14221
|
+
declare const getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
14222
|
+
decrypted: boolean;
|
|
14223
|
+
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
14224
|
+
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
14225
|
+
/**
|
|
14226
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
14227
|
+
*/
|
|
14228
|
+
sunsetSecretId?: string;
|
|
14229
|
+
id?: string;
|
|
14230
|
+
key: string;
|
|
14231
|
+
configurationId?: string | null;
|
|
14232
|
+
createdAt?: number;
|
|
14233
|
+
updatedAt?: number;
|
|
14234
|
+
createdBy?: string | null;
|
|
14235
|
+
updatedBy?: string | null;
|
|
14236
|
+
gitBranch?: string;
|
|
14237
|
+
edgeConfigId?: string | null;
|
|
14238
|
+
edgeConfigTokenId?: string | null;
|
|
14239
|
+
contentHint?: {
|
|
14240
|
+
type: "redis-url";
|
|
14241
|
+
storeId: string;
|
|
14242
|
+
} | {
|
|
14243
|
+
type: "redis-rest-api-url";
|
|
14244
|
+
storeId: string;
|
|
14245
|
+
} | {
|
|
14246
|
+
type: "redis-rest-api-token";
|
|
14247
|
+
storeId: string;
|
|
14248
|
+
} | {
|
|
14249
|
+
type: "redis-rest-api-read-only-token";
|
|
14250
|
+
storeId: string;
|
|
14251
|
+
} | {
|
|
14252
|
+
type: "blob-read-write-token";
|
|
14253
|
+
storeId: string;
|
|
14254
|
+
} | {
|
|
14255
|
+
type: "postgres-url";
|
|
14256
|
+
storeId: string;
|
|
14257
|
+
} | {
|
|
14258
|
+
type: "postgres-url-non-pooling";
|
|
14259
|
+
storeId: string;
|
|
14260
|
+
} | {
|
|
14261
|
+
type: "postgres-prisma-url";
|
|
14262
|
+
storeId: string;
|
|
14263
|
+
} | {
|
|
14264
|
+
type: "postgres-user";
|
|
14265
|
+
storeId: string;
|
|
14266
|
+
} | {
|
|
14267
|
+
type: "postgres-host";
|
|
14268
|
+
storeId: string;
|
|
14269
|
+
} | {
|
|
14270
|
+
type: "postgres-password";
|
|
14271
|
+
storeId: string;
|
|
14272
|
+
} | {
|
|
14273
|
+
type: "postgres-database";
|
|
14274
|
+
storeId: string;
|
|
14275
|
+
} | {
|
|
14276
|
+
type: "postgres-url-no-ssl";
|
|
14277
|
+
storeId: string;
|
|
14278
|
+
} | {
|
|
14279
|
+
type: "integration-store-secret";
|
|
14280
|
+
storeId: string;
|
|
14281
|
+
integrationId: string;
|
|
14282
|
+
integrationProductId: string;
|
|
14283
|
+
integrationConfigurationId: string;
|
|
14284
|
+
} | {
|
|
14285
|
+
type: "flags-connection-string";
|
|
14286
|
+
projectId: string;
|
|
14287
|
+
} | null;
|
|
14288
|
+
/**
|
|
14289
|
+
* Similar to `contentHints`, but should not be exposed to the user.
|
|
14290
|
+
*/
|
|
14291
|
+
internalContentHint?: {
|
|
14292
|
+
type: "flags-secret";
|
|
14293
|
+
/**
|
|
14294
|
+
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
14295
|
+
*/
|
|
14296
|
+
encryptedValue: string;
|
|
14297
|
+
} | null;
|
|
14298
|
+
comment?: string;
|
|
14299
|
+
customEnvironmentIds?: string[];
|
|
14300
|
+
vsmValue?: string;
|
|
14301
|
+
} | {
|
|
14302
|
+
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
14303
|
+
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
14304
|
+
/**
|
|
14305
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
14306
|
+
*/
|
|
14307
|
+
sunsetSecretId?: string;
|
|
14308
|
+
id?: string;
|
|
14309
|
+
key: string;
|
|
14310
|
+
value: string;
|
|
14311
|
+
configurationId?: string | null;
|
|
14312
|
+
createdAt?: number;
|
|
14313
|
+
updatedAt?: number;
|
|
14314
|
+
createdBy?: string | null;
|
|
14315
|
+
updatedBy?: string | null;
|
|
14316
|
+
gitBranch?: string;
|
|
14317
|
+
edgeConfigId?: string | null;
|
|
14318
|
+
edgeConfigTokenId?: string | null;
|
|
14319
|
+
contentHint?: {
|
|
14320
|
+
type: "redis-url";
|
|
14321
|
+
storeId: string;
|
|
14322
|
+
} | {
|
|
14323
|
+
type: "redis-rest-api-url";
|
|
14324
|
+
storeId: string;
|
|
14325
|
+
} | {
|
|
14326
|
+
type: "redis-rest-api-token";
|
|
14327
|
+
storeId: string;
|
|
14328
|
+
} | {
|
|
14329
|
+
type: "redis-rest-api-read-only-token";
|
|
14330
|
+
storeId: string;
|
|
14331
|
+
} | {
|
|
14332
|
+
type: "blob-read-write-token";
|
|
14333
|
+
storeId: string;
|
|
14334
|
+
} | {
|
|
14335
|
+
type: "postgres-url";
|
|
14336
|
+
storeId: string;
|
|
14337
|
+
} | {
|
|
14338
|
+
type: "postgres-url-non-pooling";
|
|
14339
|
+
storeId: string;
|
|
14340
|
+
} | {
|
|
14341
|
+
type: "postgres-prisma-url";
|
|
14342
|
+
storeId: string;
|
|
14343
|
+
} | {
|
|
14344
|
+
type: "postgres-user";
|
|
14345
|
+
storeId: string;
|
|
14346
|
+
} | {
|
|
14347
|
+
type: "postgres-host";
|
|
14348
|
+
storeId: string;
|
|
14349
|
+
} | {
|
|
14350
|
+
type: "postgres-password";
|
|
14351
|
+
storeId: string;
|
|
14352
|
+
} | {
|
|
14353
|
+
type: "postgres-database";
|
|
14354
|
+
storeId: string;
|
|
14355
|
+
} | {
|
|
14356
|
+
type: "postgres-url-no-ssl";
|
|
14357
|
+
storeId: string;
|
|
14358
|
+
} | {
|
|
14359
|
+
type: "integration-store-secret";
|
|
14360
|
+
storeId: string;
|
|
14361
|
+
integrationId: string;
|
|
14362
|
+
integrationProductId: string;
|
|
14363
|
+
integrationConfigurationId: string;
|
|
14364
|
+
} | {
|
|
14365
|
+
type: "flags-connection-string";
|
|
14366
|
+
projectId: string;
|
|
14367
|
+
} | null;
|
|
14368
|
+
/**
|
|
14369
|
+
* Similar to `contentHints`, but should not be exposed to the user.
|
|
14370
|
+
*/
|
|
14371
|
+
internalContentHint?: {
|
|
14372
|
+
type: "flags-secret";
|
|
14373
|
+
/**
|
|
14374
|
+
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
14375
|
+
*/
|
|
14376
|
+
encryptedValue: string;
|
|
14377
|
+
} | null;
|
|
14378
|
+
/**
|
|
14379
|
+
* Whether `value` and `vsmValue` are decrypted.
|
|
14380
|
+
*/
|
|
14381
|
+
decrypted?: boolean;
|
|
14382
|
+
comment?: string;
|
|
14383
|
+
customEnvironmentIds?: string[];
|
|
14384
|
+
vsmValue?: string;
|
|
14385
|
+
} | {
|
|
14386
|
+
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
14387
|
+
type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
14388
|
+
/**
|
|
14389
|
+
* This is used to identiy variables that have been migrated from type secret to sensitive.
|
|
14390
|
+
*/
|
|
14391
|
+
sunsetSecretId?: string;
|
|
14392
|
+
id?: string;
|
|
14393
|
+
key: string;
|
|
14394
|
+
value: string;
|
|
14395
|
+
configurationId?: string | null;
|
|
14396
|
+
createdAt?: number;
|
|
14397
|
+
updatedAt?: number;
|
|
14398
|
+
createdBy?: string | null;
|
|
14399
|
+
updatedBy?: string | null;
|
|
14400
|
+
gitBranch?: string;
|
|
14401
|
+
edgeConfigId?: string | null;
|
|
14402
|
+
edgeConfigTokenId?: string | null;
|
|
14403
|
+
contentHint?: {
|
|
14404
|
+
type: "redis-url";
|
|
14405
|
+
storeId: string;
|
|
14406
|
+
} | {
|
|
14407
|
+
type: "redis-rest-api-url";
|
|
14408
|
+
storeId: string;
|
|
14409
|
+
} | {
|
|
14410
|
+
type: "redis-rest-api-token";
|
|
14411
|
+
storeId: string;
|
|
14412
|
+
} | {
|
|
14413
|
+
type: "redis-rest-api-read-only-token";
|
|
14414
|
+
storeId: string;
|
|
14415
|
+
} | {
|
|
14416
|
+
type: "blob-read-write-token";
|
|
14417
|
+
storeId: string;
|
|
14418
|
+
} | {
|
|
14419
|
+
type: "postgres-url";
|
|
14420
|
+
storeId: string;
|
|
14421
|
+
} | {
|
|
14422
|
+
type: "postgres-url-non-pooling";
|
|
14423
|
+
storeId: string;
|
|
14424
|
+
} | {
|
|
14425
|
+
type: "postgres-prisma-url";
|
|
14426
|
+
storeId: string;
|
|
14427
|
+
} | {
|
|
14428
|
+
type: "postgres-user";
|
|
14429
|
+
storeId: string;
|
|
14430
|
+
} | {
|
|
14431
|
+
type: "postgres-host";
|
|
14432
|
+
storeId: string;
|
|
14433
|
+
} | {
|
|
14434
|
+
type: "postgres-password";
|
|
14435
|
+
storeId: string;
|
|
14436
|
+
} | {
|
|
14437
|
+
type: "postgres-database";
|
|
14438
|
+
storeId: string;
|
|
14439
|
+
} | {
|
|
14440
|
+
type: "postgres-url-no-ssl";
|
|
14441
|
+
storeId: string;
|
|
14442
|
+
} | {
|
|
14443
|
+
type: "integration-store-secret";
|
|
14444
|
+
storeId: string;
|
|
14445
|
+
integrationId: string;
|
|
14446
|
+
integrationProductId: string;
|
|
14447
|
+
integrationConfigurationId: string;
|
|
14448
|
+
} | {
|
|
14449
|
+
type: "flags-connection-string";
|
|
14450
|
+
projectId: string;
|
|
14451
|
+
} | null;
|
|
14452
|
+
/**
|
|
14453
|
+
* Similar to `contentHints`, but should not be exposed to the user.
|
|
14454
|
+
*/
|
|
14455
|
+
internalContentHint?: {
|
|
14456
|
+
type: "flags-secret";
|
|
14457
|
+
/**
|
|
14458
|
+
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
|
|
14459
|
+
*/
|
|
14460
|
+
encryptedValue: string;
|
|
14461
|
+
} | null;
|
|
14462
|
+
/**
|
|
14463
|
+
* Whether `value` and `vsmValue` are decrypted.
|
|
14464
|
+
*/
|
|
14465
|
+
decrypted?: boolean;
|
|
14466
|
+
comment?: string;
|
|
14467
|
+
customEnvironmentIds?: string[];
|
|
14468
|
+
}>;
|
|
14244
14469
|
type RemoveProjectEnvPathParams = {
|
|
14245
14470
|
/**
|
|
14246
14471
|
* The unique project identifier or the project name
|
|
@@ -15627,7 +15852,7 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15627
15852
|
UpdatedAt: string;
|
|
15628
15853
|
UpdatedAtHour: string;
|
|
15629
15854
|
DeletedAt?: string;
|
|
15630
|
-
ExpiresAt?: number;
|
|
15855
|
+
ExpiresAt?: number | null;
|
|
15631
15856
|
}[];
|
|
15632
15857
|
pagination: void | null;
|
|
15633
15858
|
} | {
|
|
@@ -15645,7 +15870,7 @@ declare const getBypassIp: (variables: GetBypassIpVariables, signal?: AbortSigna
|
|
|
15645
15870
|
UpdatedAt: string;
|
|
15646
15871
|
UpdatedAtHour: string;
|
|
15647
15872
|
DeletedAt?: string;
|
|
15648
|
-
ExpiresAt?: number;
|
|
15873
|
+
ExpiresAt?: number | null;
|
|
15649
15874
|
}[];
|
|
15650
15875
|
pagination?: {
|
|
15651
15876
|
OwnerId: string;
|
|
@@ -15738,7 +15963,7 @@ declare const addBypassIp: (variables: AddBypassIpVariables, signal?: AbortSigna
|
|
|
15738
15963
|
UpdatedAt: string;
|
|
15739
15964
|
UpdatedAtHour: string;
|
|
15740
15965
|
DeletedAt?: string;
|
|
15741
|
-
ExpiresAt?: number;
|
|
15966
|
+
ExpiresAt?: number | null;
|
|
15742
15967
|
}[];
|
|
15743
15968
|
}>;
|
|
15744
15969
|
type RemoveBypassIpQueryParams = {
|
|
@@ -16063,13 +16288,13 @@ declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?:
|
|
|
16063
16288
|
*
|
|
16064
16289
|
* @example CreateProject
|
|
16065
16290
|
*/
|
|
16066
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
16291
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
16067
16292
|
} | {
|
|
16068
16293
|
uid: string;
|
|
16069
16294
|
username: string;
|
|
16070
16295
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
16071
16296
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
16072
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
16297
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
16073
16298
|
}>;
|
|
16074
16299
|
type RequestAccessToTeamError = ErrorWrapper<undefined>;
|
|
16075
16300
|
type RequestAccessToTeamResponse = {
|
|
@@ -18716,6 +18941,19 @@ declare const operationsByTag: {
|
|
|
18716
18941
|
* @example 2
|
|
18717
18942
|
*/
|
|
18718
18943
|
projectsCount: number;
|
|
18944
|
+
/**
|
|
18945
|
+
* Roles that the team has in the access group.
|
|
18946
|
+
*
|
|
18947
|
+
* @example DEVELOPER
|
|
18948
|
+
* @example BILLING
|
|
18949
|
+
*/
|
|
18950
|
+
teamRoles?: string[];
|
|
18951
|
+
/**
|
|
18952
|
+
* Permissions that the team has in the access group.
|
|
18953
|
+
*
|
|
18954
|
+
* @example CreateProject
|
|
18955
|
+
*/
|
|
18956
|
+
teamPermissions?: string[];
|
|
18719
18957
|
}[];
|
|
18720
18958
|
pagination: {
|
|
18721
18959
|
count: number;
|
|
@@ -19017,6 +19255,7 @@ declare const operationsByTag: {
|
|
|
19017
19255
|
system?: boolean;
|
|
19018
19256
|
}[];
|
|
19019
19257
|
}>;
|
|
19258
|
+
createProjectEnv: (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
19020
19259
|
getProjectEnv: (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
19021
19260
|
decrypted: boolean;
|
|
19022
19261
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -19265,7 +19504,6 @@ declare const operationsByTag: {
|
|
|
19265
19504
|
comment?: string;
|
|
19266
19505
|
customEnvironmentIds?: string[];
|
|
19267
19506
|
}>;
|
|
19268
|
-
createProjectEnv: (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
19269
19507
|
removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
19270
19508
|
system?: boolean;
|
|
19271
19509
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -19752,9 +19990,9 @@ declare const operationsByTag: {
|
|
|
19752
19990
|
action?: string;
|
|
19753
19991
|
} | null;
|
|
19754
19992
|
id: string;
|
|
19993
|
+
name: string;
|
|
19755
19994
|
type: "LAMBDAS";
|
|
19756
19995
|
createdAt: number;
|
|
19757
|
-
name: string;
|
|
19758
19996
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
19759
19997
|
aliasError?: {
|
|
19760
19998
|
code: string;
|
|
@@ -20102,9 +20340,9 @@ declare const operationsByTag: {
|
|
|
20102
20340
|
action?: string;
|
|
20103
20341
|
} | null;
|
|
20104
20342
|
id: string;
|
|
20343
|
+
name: string;
|
|
20105
20344
|
type: "LAMBDAS";
|
|
20106
20345
|
createdAt: number;
|
|
20107
|
-
name: string;
|
|
20108
20346
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
20109
20347
|
aliasError?: {
|
|
20110
20348
|
code: string;
|
|
@@ -21007,7 +21245,7 @@ declare const operationsByTag: {
|
|
|
21007
21245
|
UpdatedAt: string;
|
|
21008
21246
|
UpdatedAtHour: string;
|
|
21009
21247
|
DeletedAt?: string;
|
|
21010
|
-
ExpiresAt?: number;
|
|
21248
|
+
ExpiresAt?: number | null;
|
|
21011
21249
|
}[];
|
|
21012
21250
|
pagination: void | null;
|
|
21013
21251
|
} | {
|
|
@@ -21025,7 +21263,7 @@ declare const operationsByTag: {
|
|
|
21025
21263
|
UpdatedAt: string;
|
|
21026
21264
|
UpdatedAtHour: string;
|
|
21027
21265
|
DeletedAt?: string;
|
|
21028
|
-
ExpiresAt?: number;
|
|
21266
|
+
ExpiresAt?: number | null;
|
|
21029
21267
|
}[];
|
|
21030
21268
|
pagination?: {
|
|
21031
21269
|
OwnerId: string;
|
|
@@ -21059,7 +21297,7 @@ declare const operationsByTag: {
|
|
|
21059
21297
|
UpdatedAt: string;
|
|
21060
21298
|
UpdatedAtHour: string;
|
|
21061
21299
|
DeletedAt?: string;
|
|
21062
|
-
ExpiresAt?: number;
|
|
21300
|
+
ExpiresAt?: number | null;
|
|
21063
21301
|
}[];
|
|
21064
21302
|
}>;
|
|
21065
21303
|
removeBypassIp: (variables: RemoveBypassIpVariables, signal?: AbortSignal) => Promise<RemoveBypassIpResponse>;
|
|
@@ -21102,13 +21340,13 @@ declare const operationsByTag: {
|
|
|
21102
21340
|
*
|
|
21103
21341
|
* @example CreateProject
|
|
21104
21342
|
*/
|
|
21105
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
21343
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
21106
21344
|
} | {
|
|
21107
21345
|
uid: string;
|
|
21108
21346
|
username: string;
|
|
21109
21347
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
21110
21348
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
21111
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
21349
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
21112
21350
|
}>;
|
|
21113
21351
|
requestAccessToTeam: (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
21114
21352
|
getTeamAccessRequest: (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|
|
@@ -22208,6 +22446,8 @@ declare const operationsByPath: {
|
|
|
22208
22446
|
accessGroupId: string;
|
|
22209
22447
|
membersCount: number;
|
|
22210
22448
|
projectsCount: number;
|
|
22449
|
+
teamRoles?: string[];
|
|
22450
|
+
teamPermissions?: string[];
|
|
22211
22451
|
}[];
|
|
22212
22452
|
pagination: {
|
|
22213
22453
|
count: number;
|
|
@@ -22344,9 +22584,9 @@ declare const operationsByPath: {
|
|
|
22344
22584
|
action?: string;
|
|
22345
22585
|
} | null;
|
|
22346
22586
|
id: string;
|
|
22587
|
+
name: string;
|
|
22347
22588
|
type: "LAMBDAS";
|
|
22348
22589
|
createdAt: number;
|
|
22349
|
-
name: string;
|
|
22350
22590
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
22351
22591
|
aliasError?: {
|
|
22352
22592
|
code: string;
|
|
@@ -22637,9 +22877,9 @@ declare const operationsByPath: {
|
|
|
22637
22877
|
action?: string;
|
|
22638
22878
|
} | null;
|
|
22639
22879
|
id: string;
|
|
22880
|
+
name: string;
|
|
22640
22881
|
type: "LAMBDAS";
|
|
22641
22882
|
createdAt: number;
|
|
22642
|
-
name: string;
|
|
22643
22883
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
22644
22884
|
aliasError?: {
|
|
22645
22885
|
code: string;
|
|
@@ -23057,7 +23297,7 @@ declare const operationsByPath: {
|
|
|
23057
23297
|
'DELETE /v9/projects/{idOrName}/domains/{domain}': (variables: RemoveProjectDomainVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
|
|
23058
23298
|
'POST /v10/projects/{idOrName}/domains': (variables: AddProjectDomainVariables, signal?: AbortSignal) => Promise<AddProjectDomainResponse>;
|
|
23059
23299
|
'POST /v9/projects/{idOrName}/domains/{domain}/verify': (variables: VerifyProjectDomainVariables, signal?: AbortSignal) => Promise<VerifyProjectDomainResponse>;
|
|
23060
|
-
'GET /
|
|
23300
|
+
'GET /v10/projects/{idOrName}/env': (variables: FilterProjectEnvsVariables, signal?: AbortSignal) => Promise<{
|
|
23061
23301
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
23062
23302
|
type?: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
23063
23303
|
sunsetSecretId?: string;
|
|
@@ -23282,6 +23522,7 @@ declare const operationsByPath: {
|
|
|
23282
23522
|
system?: boolean;
|
|
23283
23523
|
}[];
|
|
23284
23524
|
}>;
|
|
23525
|
+
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
23285
23526
|
'GET /v1/projects/{idOrName}/env/{id}': (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
23286
23527
|
decrypted: boolean;
|
|
23287
23528
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -23497,7 +23738,6 @@ declare const operationsByPath: {
|
|
|
23497
23738
|
comment?: string;
|
|
23498
23739
|
customEnvironmentIds?: string[];
|
|
23499
23740
|
}>;
|
|
23500
|
-
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
23501
23741
|
'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
23502
23742
|
system?: boolean;
|
|
23503
23743
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -23850,7 +24090,7 @@ declare const operationsByPath: {
|
|
|
23850
24090
|
UpdatedAt: string;
|
|
23851
24091
|
UpdatedAtHour: string;
|
|
23852
24092
|
DeletedAt?: string;
|
|
23853
|
-
ExpiresAt?: number;
|
|
24093
|
+
ExpiresAt?: number | null;
|
|
23854
24094
|
}[];
|
|
23855
24095
|
pagination: void | null;
|
|
23856
24096
|
} | {
|
|
@@ -23868,7 +24108,7 @@ declare const operationsByPath: {
|
|
|
23868
24108
|
UpdatedAt: string;
|
|
23869
24109
|
UpdatedAtHour: string;
|
|
23870
24110
|
DeletedAt?: string;
|
|
23871
|
-
ExpiresAt?: number;
|
|
24111
|
+
ExpiresAt?: number | null;
|
|
23872
24112
|
}[];
|
|
23873
24113
|
pagination?: {
|
|
23874
24114
|
OwnerId: string;
|
|
@@ -23902,7 +24142,7 @@ declare const operationsByPath: {
|
|
|
23902
24142
|
UpdatedAt: string;
|
|
23903
24143
|
UpdatedAtHour: string;
|
|
23904
24144
|
DeletedAt?: string;
|
|
23905
|
-
ExpiresAt?: number;
|
|
24145
|
+
ExpiresAt?: number | null;
|
|
23906
24146
|
}[];
|
|
23907
24147
|
}>;
|
|
23908
24148
|
'DELETE /v1/security/firewall/bypass': (variables: RemoveBypassIpVariables, signal?: AbortSignal) => Promise<RemoveBypassIpResponse>;
|
|
@@ -23913,13 +24153,13 @@ declare const operationsByPath: {
|
|
|
23913
24153
|
email?: string;
|
|
23914
24154
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
23915
24155
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
23916
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
24156
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
23917
24157
|
} | {
|
|
23918
24158
|
uid: string;
|
|
23919
24159
|
username: string;
|
|
23920
24160
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
23921
24161
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
23922
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
24162
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
23923
24163
|
}>;
|
|
23924
24164
|
'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
23925
24165
|
'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|
|
@@ -24027,6 +24267,8 @@ declare class VercelApi {
|
|
|
24027
24267
|
accessGroupId: string;
|
|
24028
24268
|
membersCount: number;
|
|
24029
24269
|
projectsCount: number;
|
|
24270
|
+
teamRoles?: string[];
|
|
24271
|
+
teamPermissions?: string[];
|
|
24030
24272
|
}[];
|
|
24031
24273
|
pagination: {
|
|
24032
24274
|
count: number;
|
|
@@ -24163,9 +24405,9 @@ declare class VercelApi {
|
|
|
24163
24405
|
action?: string;
|
|
24164
24406
|
} | null;
|
|
24165
24407
|
id: string;
|
|
24408
|
+
name: string;
|
|
24166
24409
|
type: "LAMBDAS";
|
|
24167
24410
|
createdAt: number;
|
|
24168
|
-
name: string;
|
|
24169
24411
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
24170
24412
|
aliasError?: {
|
|
24171
24413
|
code: string;
|
|
@@ -24456,9 +24698,9 @@ declare class VercelApi {
|
|
|
24456
24698
|
action?: string;
|
|
24457
24699
|
} | null;
|
|
24458
24700
|
id: string;
|
|
24701
|
+
name: string;
|
|
24459
24702
|
type: "LAMBDAS";
|
|
24460
24703
|
createdAt: number;
|
|
24461
|
-
name: string;
|
|
24462
24704
|
readyState: "QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED";
|
|
24463
24705
|
aliasError?: {
|
|
24464
24706
|
code: string;
|
|
@@ -24876,7 +25118,7 @@ declare class VercelApi {
|
|
|
24876
25118
|
'DELETE /v9/projects/{idOrName}/domains/{domain}': (variables: RemoveProjectDomainVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
|
|
24877
25119
|
'POST /v10/projects/{idOrName}/domains': (variables: AddProjectDomainVariables, signal?: AbortSignal) => Promise<AddProjectDomainResponse>;
|
|
24878
25120
|
'POST /v9/projects/{idOrName}/domains/{domain}/verify': (variables: VerifyProjectDomainVariables, signal?: AbortSignal) => Promise<VerifyProjectDomainResponse>;
|
|
24879
|
-
'GET /
|
|
25121
|
+
'GET /v10/projects/{idOrName}/env': (variables: FilterProjectEnvsVariables, signal?: AbortSignal) => Promise<{
|
|
24880
25122
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
24881
25123
|
type?: "system" | "encrypted" | "plain" | "sensitive" | "secret";
|
|
24882
25124
|
sunsetSecretId?: string;
|
|
@@ -25101,6 +25343,7 @@ declare class VercelApi {
|
|
|
25101
25343
|
system?: boolean;
|
|
25102
25344
|
}[];
|
|
25103
25345
|
}>;
|
|
25346
|
+
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
25104
25347
|
'GET /v1/projects/{idOrName}/env/{id}': (variables: GetProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
25105
25348
|
decrypted: boolean;
|
|
25106
25349
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -25316,7 +25559,6 @@ declare class VercelApi {
|
|
|
25316
25559
|
comment?: string;
|
|
25317
25560
|
customEnvironmentIds?: string[];
|
|
25318
25561
|
}>;
|
|
25319
|
-
'POST /v10/projects/{idOrName}/env': (variables: CreateProjectEnvVariables, signal?: AbortSignal) => Promise<CreateProjectEnvResponse>;
|
|
25320
25562
|
'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
|
|
25321
25563
|
system?: boolean;
|
|
25322
25564
|
target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
|
|
@@ -25669,7 +25911,7 @@ declare class VercelApi {
|
|
|
25669
25911
|
UpdatedAt: string;
|
|
25670
25912
|
UpdatedAtHour: string;
|
|
25671
25913
|
DeletedAt?: string;
|
|
25672
|
-
ExpiresAt?: number;
|
|
25914
|
+
ExpiresAt?: number | null;
|
|
25673
25915
|
}[];
|
|
25674
25916
|
pagination: void | null;
|
|
25675
25917
|
} | {
|
|
@@ -25687,7 +25929,7 @@ declare class VercelApi {
|
|
|
25687
25929
|
UpdatedAt: string;
|
|
25688
25930
|
UpdatedAtHour: string;
|
|
25689
25931
|
DeletedAt?: string;
|
|
25690
|
-
ExpiresAt?: number;
|
|
25932
|
+
ExpiresAt?: number | null;
|
|
25691
25933
|
}[];
|
|
25692
25934
|
pagination?: {
|
|
25693
25935
|
OwnerId: string;
|
|
@@ -25721,7 +25963,7 @@ declare class VercelApi {
|
|
|
25721
25963
|
UpdatedAt: string;
|
|
25722
25964
|
UpdatedAtHour: string;
|
|
25723
25965
|
DeletedAt?: string;
|
|
25724
|
-
ExpiresAt?: number;
|
|
25966
|
+
ExpiresAt?: number | null;
|
|
25725
25967
|
}[];
|
|
25726
25968
|
}>;
|
|
25727
25969
|
'DELETE /v1/security/firewall/bypass': (variables: RemoveBypassIpVariables, signal?: AbortSignal) => Promise<RemoveBypassIpResponse>;
|
|
@@ -25732,13 +25974,13 @@ declare class VercelApi {
|
|
|
25732
25974
|
email?: string;
|
|
25733
25975
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
25734
25976
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
25735
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
25977
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
25736
25978
|
} | {
|
|
25737
25979
|
uid: string;
|
|
25738
25980
|
username: string;
|
|
25739
25981
|
role: "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR";
|
|
25740
25982
|
teamRoles?: ("OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "CONTRIBUTOR")[];
|
|
25741
|
-
teamPermissions?: ("CreateProject" | "FullProductionDeployment")[];
|
|
25983
|
+
teamPermissions?: ("CreateProject" | "FullProductionDeployment" | "UsageViewer")[];
|
|
25742
25984
|
}>;
|
|
25743
25985
|
'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
|
|
25744
25986
|
'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
|