vercel-api-js 1.7.1 → 1.8.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/types.cjs CHANGED
@@ -188,6 +188,7 @@ const userEventTypeEnum = {
188
188
  "ai-gateway-api-key-created": "ai-gateway-api-key-created",
189
189
  "ai-gateway-api-key-deleted": "ai-gateway-api-key-deleted",
190
190
  "ai-gateway-api-key-quota-updated": "ai-gateway-api-key-quota-updated",
191
+ "ai-gateway-budget-default-updated": "ai-gateway-budget-default-updated",
191
192
  "ai-gateway-byok-credential-created": "ai-gateway-byok-credential-created",
192
193
  "ai-gateway-byok-credential-deleted": "ai-gateway-byok-credential-deleted",
193
194
  "ai-gateway-byok-credential-updated": "ai-gateway-byok-credential-updated",
@@ -205,6 +206,7 @@ const userEventTypeEnum = {
205
206
  "ai-gateway-rule-created": "ai-gateway-rule-created",
206
207
  "ai-gateway-rule-deleted": "ai-gateway-rule-deleted",
207
208
  "ai-gateway-rule-updated": "ai-gateway-rule-updated",
209
+ "ai-gateway-scope-budget-updated": "ai-gateway-scope-budget-updated",
208
210
  "ai-gateway-virtual-model-config-archived": "ai-gateway-virtual-model-config-archived",
209
211
  "ai-gateway-virtual-model-config-created": "ai-gateway-virtual-model-config-created",
210
212
  "ai-gateway-virtual-model-config-restored": "ai-gateway-virtual-model-config-restored",
@@ -250,6 +252,7 @@ const userEventTypeEnum = {
250
252
  "cert-system-create": "cert-system-create",
251
253
  "code-owners-config-updated": "code-owners-config-updated",
252
254
  "compliance-document-downloaded": "compliance-document-downloaded",
255
+ "compliance-documents-bulk-downloaded": "compliance-documents-bulk-downloaded",
253
256
  "concurrent-builds-update": "concurrent-builds-update",
254
257
  "connect-attach-project": "connect-attach-project",
255
258
  "connect-bitbucket": "connect-bitbucket",
@@ -648,6 +651,7 @@ const userEventTypeEnum = {
648
651
  "subscription-product-removed": "subscription-product-removed",
649
652
  "subscription-updated": "subscription-updated",
650
653
  team: "team",
654
+ "team-agent-billing-migration-decision-changed": "team-agent-billing-migration-decision-changed",
651
655
  "team-avatar-update": "team-avatar-update",
652
656
  "team-collaboration-settings-updated": "team-collaboration-settings-updated",
653
657
  "team-default-build-machine-updated": "team-default-build-machine-updated",
@@ -802,6 +806,10 @@ const changeEnum = {
802
806
  remove: "remove",
803
807
  set: "set"
804
808
  };
809
+ const scopeTypeEnum = {
810
+ project: "project",
811
+ team: "team"
812
+ };
805
813
  const nextRoleEnum = {
806
814
  ADMIN: "ADMIN",
807
815
  PROJECT_DEVELOPER: "PROJECT_DEVELOPER",
@@ -838,6 +846,7 @@ const reasonEnum = {
838
846
  ENTERPRISE_UNPAID_INVOICE: "ENTERPRISE_UNPAID_INVOICE",
839
847
  EXPOSURE_CAP_EXCEEDED: "EXPOSURE_CAP_EXCEEDED",
840
848
  FAIR_USE_LIMITS_EXCEEDED: "FAIR_USE_LIMITS_EXCEEDED",
849
+ HOBBY_ALLOCATION_PAUSED: "HOBBY_ALLOCATION_PAUSED",
841
850
  SUBSCRIPTION_CANCELED: "SUBSCRIPTION_CANCELED",
842
851
  SUBSCRIPTION_EXPIRED: "SUBSCRIPTION_EXPIRED",
843
852
  UNPAID_INVOICE: "UNPAID_INVOICE"
@@ -943,6 +952,47 @@ const blockedDueToOverageTypeEnum = {
943
952
  wafRateLimitRequest: "wafRateLimitRequest",
944
953
  webAnalyticsEvent: "webAnalyticsEvent"
945
954
  };
955
+ const allocationEnum = {
956
+ analyticsUsage: "analyticsUsage",
957
+ artifacts: "artifacts",
958
+ bandwidth: "bandwidth",
959
+ blobDataTransfer: "blobDataTransfer",
960
+ blobTotalAdvancedRequests: "blobTotalAdvancedRequests",
961
+ blobTotalAvgSizeInBytes: "blobTotalAvgSizeInBytes",
962
+ blobTotalGetResponseObjectSizeInBytes: "blobTotalGetResponseObjectSizeInBytes",
963
+ blobTotalSimpleRequests: "blobTotalSimpleRequests",
964
+ connectDataTransfer: "connectDataTransfer",
965
+ dataCacheRead: "dataCacheRead",
966
+ dataCacheWrite: "dataCacheWrite",
967
+ edgeConfigRead: "edgeConfigRead",
968
+ edgeConfigWrite: "edgeConfigWrite",
969
+ edgeFunctionExecutionUnits: "edgeFunctionExecutionUnits",
970
+ edgeMiddlewareInvocations: "edgeMiddlewareInvocations",
971
+ edgeRequest: "edgeRequest",
972
+ edgeRequestAdditionalCpuDuration: "edgeRequestAdditionalCpuDuration",
973
+ elasticConcurrencyBuildSlots: "elasticConcurrencyBuildSlots",
974
+ fastDataTransfer: "fastDataTransfer",
975
+ fastOriginTransfer: "fastOriginTransfer",
976
+ fluidCpuDuration: "fluidCpuDuration",
977
+ fluidDuration: "fluidDuration",
978
+ functionDuration: "functionDuration",
979
+ functionInvocation: "functionInvocation",
980
+ imageOptimizationCacheRead: "imageOptimizationCacheRead",
981
+ imageOptimizationCacheWrite: "imageOptimizationCacheWrite",
982
+ imageOptimizationTransformation: "imageOptimizationTransformation",
983
+ logDrainsVolume: "logDrainsVolume",
984
+ monitoringMetric: "monitoringMetric",
985
+ observabilityEvent: "observabilityEvent",
986
+ onDemandConcurrencyMinutes: "onDemandConcurrencyMinutes",
987
+ runtimeCacheRead: "runtimeCacheRead",
988
+ runtimeCacheWrite: "runtimeCacheWrite",
989
+ serverlessFunctionExecution: "serverlessFunctionExecution",
990
+ sourceImages: "sourceImages",
991
+ wafOwaspExcessBytes: "wafOwaspExcessBytes",
992
+ wafOwaspRequests: "wafOwaspRequests",
993
+ wafRateLimitRequest: "wafRateLimitRequest",
994
+ webAnalyticsEvent: "webAnalyticsEvent"
995
+ };
946
996
  const roleEnum = {
947
997
  BILLING: "BILLING",
948
998
  CONTRIBUTOR: "CONTRIBUTOR",
@@ -1209,6 +1259,10 @@ const sourceEnum = {
1209
1259
  saml: "saml",
1210
1260
  teams: "teams"
1211
1261
  };
1262
+ const decisionEnum = {
1263
+ keep_on: "keep_on",
1264
+ turn_off: "turn_off"
1265
+ };
1212
1266
  const envEnum = {
1213
1267
  preview: "preview",
1214
1268
  production: "production"
@@ -1270,6 +1324,7 @@ const listEventTypeNameEnum = {
1270
1324
  "ai-gateway-api-key-created": "ai-gateway-api-key-created",
1271
1325
  "ai-gateway-api-key-deleted": "ai-gateway-api-key-deleted",
1272
1326
  "ai-gateway-api-key-quota-updated": "ai-gateway-api-key-quota-updated",
1327
+ "ai-gateway-budget-default-updated": "ai-gateway-budget-default-updated",
1273
1328
  "ai-gateway-byok-credential-created": "ai-gateway-byok-credential-created",
1274
1329
  "ai-gateway-byok-credential-deleted": "ai-gateway-byok-credential-deleted",
1275
1330
  "ai-gateway-byok-credential-updated": "ai-gateway-byok-credential-updated",
@@ -1287,6 +1342,7 @@ const listEventTypeNameEnum = {
1287
1342
  "ai-gateway-rule-created": "ai-gateway-rule-created",
1288
1343
  "ai-gateway-rule-deleted": "ai-gateway-rule-deleted",
1289
1344
  "ai-gateway-rule-updated": "ai-gateway-rule-updated",
1345
+ "ai-gateway-scope-budget-updated": "ai-gateway-scope-budget-updated",
1290
1346
  "ai-gateway-virtual-model-config-archived": "ai-gateway-virtual-model-config-archived",
1291
1347
  "ai-gateway-virtual-model-config-created": "ai-gateway-virtual-model-config-created",
1292
1348
  "ai-gateway-virtual-model-config-restored": "ai-gateway-virtual-model-config-restored",
@@ -1332,6 +1388,7 @@ const listEventTypeNameEnum = {
1332
1388
  "cert-system-create": "cert-system-create",
1333
1389
  "code-owners-config-updated": "code-owners-config-updated",
1334
1390
  "compliance-document-downloaded": "compliance-document-downloaded",
1391
+ "compliance-documents-bulk-downloaded": "compliance-documents-bulk-downloaded",
1335
1392
  "concurrent-builds-update": "concurrent-builds-update",
1336
1393
  "connect-attach-project": "connect-attach-project",
1337
1394
  "connect-bitbucket": "connect-bitbucket",
@@ -1730,6 +1787,7 @@ const listEventTypeNameEnum = {
1730
1787
  "subscription-product-removed": "subscription-product-removed",
1731
1788
  "subscription-updated": "subscription-updated",
1732
1789
  team: "team",
1790
+ "team-agent-billing-migration-decision-changed": "team-agent-billing-migration-decision-changed",
1733
1791
  "team-avatar-update": "team-avatar-update",
1734
1792
  "team-collaboration-settings-updated": "team-collaboration-settings-updated",
1735
1793
  "team-default-build-machine-updated": "team-default-build-machine-updated",
@@ -1869,6 +1927,7 @@ const listEventTypeReplacedByEnum = {
1869
1927
  "ai-gateway-api-key-created": "ai-gateway-api-key-created",
1870
1928
  "ai-gateway-api-key-deleted": "ai-gateway-api-key-deleted",
1871
1929
  "ai-gateway-api-key-quota-updated": "ai-gateway-api-key-quota-updated",
1930
+ "ai-gateway-budget-default-updated": "ai-gateway-budget-default-updated",
1872
1931
  "ai-gateway-byok-credential-created": "ai-gateway-byok-credential-created",
1873
1932
  "ai-gateway-byok-credential-deleted": "ai-gateway-byok-credential-deleted",
1874
1933
  "ai-gateway-byok-credential-updated": "ai-gateway-byok-credential-updated",
@@ -1886,6 +1945,7 @@ const listEventTypeReplacedByEnum = {
1886
1945
  "ai-gateway-rule-created": "ai-gateway-rule-created",
1887
1946
  "ai-gateway-rule-deleted": "ai-gateway-rule-deleted",
1888
1947
  "ai-gateway-rule-updated": "ai-gateway-rule-updated",
1948
+ "ai-gateway-scope-budget-updated": "ai-gateway-scope-budget-updated",
1889
1949
  "ai-gateway-virtual-model-config-archived": "ai-gateway-virtual-model-config-archived",
1890
1950
  "ai-gateway-virtual-model-config-created": "ai-gateway-virtual-model-config-created",
1891
1951
  "ai-gateway-virtual-model-config-restored": "ai-gateway-virtual-model-config-restored",
@@ -1931,6 +1991,7 @@ const listEventTypeReplacedByEnum = {
1931
1991
  "cert-system-create": "cert-system-create",
1932
1992
  "code-owners-config-updated": "code-owners-config-updated",
1933
1993
  "compliance-document-downloaded": "compliance-document-downloaded",
1994
+ "compliance-documents-bulk-downloaded": "compliance-documents-bulk-downloaded",
1934
1995
  "concurrent-builds-update": "concurrent-builds-update",
1935
1996
  "connect-attach-project": "connect-attach-project",
1936
1997
  "connect-bitbucket": "connect-bitbucket",
@@ -2329,6 +2390,7 @@ const listEventTypeReplacedByEnum = {
2329
2390
  "subscription-product-removed": "subscription-product-removed",
2330
2391
  "subscription-updated": "subscription-updated",
2331
2392
  team: "team",
2393
+ "team-agent-billing-migration-decision-changed": "team-agent-billing-migration-decision-changed",
2332
2394
  "team-avatar-update": "team-avatar-update",
2333
2395
  "team-collaboration-settings-updated": "team-collaboration-settings-updated",
2334
2396
  "team-default-build-machine-updated": "team-default-build-machine-updated",
@@ -2816,6 +2878,7 @@ const authUserSoftBlockReasonEnum = {
2816
2878
  ENTERPRISE_UNPAID_INVOICE: "ENTERPRISE_UNPAID_INVOICE",
2817
2879
  EXPOSURE_CAP_EXCEEDED: "EXPOSURE_CAP_EXCEEDED",
2818
2880
  FAIR_USE_LIMITS_EXCEEDED: "FAIR_USE_LIMITS_EXCEEDED",
2881
+ HOBBY_ALLOCATION_PAUSED: "HOBBY_ALLOCATION_PAUSED",
2819
2882
  SUBSCRIPTION_CANCELED: "SUBSCRIPTION_CANCELED",
2820
2883
  SUBSCRIPTION_EXPIRED: "SUBSCRIPTION_EXPIRED",
2821
2884
  UNPAID_INVOICE: "UNPAID_INVOICE"
@@ -2941,6 +3004,7 @@ exports.actorTypeEnum = actorTypeEnum;
2941
3004
  exports.additionalContactInfoRequiredCodeEnum = additionalContactInfoRequiredCodeEnum;
2942
3005
  exports.additionalContactInfoRequiredStatusEnum = additionalContactInfoRequiredStatusEnum;
2943
3006
  exports.aiGatewayRuleTypeEnum = aiGatewayRuleTypeEnum;
3007
+ exports.allocationEnum = allocationEnum;
2944
3008
  exports.allowListedReadyStateReasonInternalEnum = allowListedReadyStateReasonInternalEnum;
2945
3009
  exports.approvalScopeEnum = approvalScopeEnum;
2946
3010
  exports.april2026SecurityIncidentMigrationAppliedFromEnum = april2026SecurityIncidentMigrationAppliedFromEnum;
@@ -2965,6 +3029,7 @@ exports.configurationEnum = configurationEnum;
2965
3029
  exports.consentEnum = consentEnum;
2966
3030
  exports.createDeploymentsEnum = createDeploymentsEnum;
2967
3031
  exports.cve55182MigrationAppliedFromEnum = cve55182MigrationAppliedFromEnum;
3032
+ exports.decisionEnum = decisionEnum;
2968
3033
  exports.defaultEnum = defaultEnum;
2969
3034
  exports.deploymentTypeEnum = deploymentTypeEnum;
2970
3035
  exports.directionalityEnum = directionalityEnum;
@@ -3070,6 +3135,7 @@ exports.ruleNameEnum = ruleNameEnum;
3070
3135
  exports.ruleProvenanceEnum = ruleProvenanceEnum;
3071
3136
  exports.sandboxNetworkPolicyModeEnum = sandboxNetworkPolicyModeEnum;
3072
3137
  exports.scopeEnum = scopeEnum;
3138
+ exports.scopeTypeEnum = scopeTypeEnum;
3073
3139
  exports.segmentTypeNameEnum = segmentTypeNameEnum;
3074
3140
  exports.sessionStatusEnum = sessionStatusEnum;
3075
3141
  exports.settlementMethodEnum = settlementMethodEnum;