vercel-api-js 1.11.0 → 1.13.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
@@ -3,6 +3,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  /**
4
4
  * Generated by Kubb (https://kubb.dev/).
5
5
  * Do not edit manually.
6
+ */ /**
7
+ * @description Arbitrary per-provider AI SDK options, keyed by gateway provider slug.
8
+ * @type object
6
9
  */ const scopeEnum = {
7
10
  global: "global",
8
11
  specific: "specific",
@@ -236,10 +239,12 @@ const userEventTypeEnum = {
236
239
  "ai-gateway-api-key-created": "ai-gateway-api-key-created",
237
240
  "ai-gateway-api-key-deleted": "ai-gateway-api-key-deleted",
238
241
  "ai-gateway-api-key-quota-updated": "ai-gateway-api-key-quota-updated",
242
+ "ai-gateway-auto-reload-updated": "ai-gateway-auto-reload-updated",
239
243
  "ai-gateway-budget-default-updated": "ai-gateway-budget-default-updated",
240
244
  "ai-gateway-byok-credential-created": "ai-gateway-byok-credential-created",
241
245
  "ai-gateway-byok-credential-deleted": "ai-gateway-byok-credential-deleted",
242
246
  "ai-gateway-byok-credential-updated": "ai-gateway-byok-credential-updated",
247
+ "ai-gateway-credits-purchased": "ai-gateway-credits-purchased",
243
248
  "ai-gateway-guardrails-updated": "ai-gateway-guardrails-updated",
244
249
  "ai-gateway-model-allowlist-models-updated": "ai-gateway-model-allowlist-models-updated",
245
250
  "ai-gateway-model-allowlist-toggled": "ai-gateway-model-allowlist-toggled",
@@ -426,6 +431,9 @@ const userEventTypeEnum = {
426
431
  "env-variable-read:unknown-source": "env-variable-read:unknown-source",
427
432
  "env-variable-read:v0:env:pull": "env-variable-read:v0:env:pull",
428
433
  "env-variable-rotated": "env-variable-rotated",
434
+ "experiment-created": "experiment-created",
435
+ "experiment-transitioned": "experiment-transitioned",
436
+ "experiment-updated": "experiment-updated",
429
437
  "firewall-bypass-created": "firewall-bypass-created",
430
438
  "firewall-bypass-deleted": "firewall-bypass-deleted",
431
439
  "firewall-config-modified": "firewall-config-modified",
@@ -450,6 +458,7 @@ const userEventTypeEnum = {
450
458
  "git-integration-repo-push": "git-integration-repo-push",
451
459
  git_account_integration_link_added: "git_account_integration_link_added",
452
460
  "instant-rollback-created": "instant-rollback-created",
461
+ "integration-configuration-credential-rotated": "integration-configuration-credential-rotated",
453
462
  "integration-configuration-owner-changed": "integration-configuration-owner-changed",
454
463
  "integration-configuration-scope-change-confirmed": "integration-configuration-scope-change-confirmed",
455
464
  "integration-configuration-transfer-in-success": "integration-configuration-transfer-in-success",
@@ -944,16 +953,17 @@ const planSlugEnum = {
944
953
  v0_teams: "v0_teams"
945
954
  };
946
955
  const reasonEnum = {
947
- BLOCKED_FOR_PLATFORM_ABUSE: "BLOCKED_FOR_PLATFORM_ABUSE",
948
- DOMAIN_OWNER_DELETION_REQUEST: "DOMAIN_OWNER_DELETION_REQUEST",
949
- ENTERPRISE_TRIAL_ENDED: "ENTERPRISE_TRIAL_ENDED",
950
- ENTERPRISE_UNPAID_INVOICE: "ENTERPRISE_UNPAID_INVOICE",
951
- EXPOSURE_CAP_EXCEEDED: "EXPOSURE_CAP_EXCEEDED",
952
- FAIR_USE_LIMITS_EXCEEDED: "FAIR_USE_LIMITS_EXCEEDED",
953
- HOBBY_ALLOCATION_PAUSED: "HOBBY_ALLOCATION_PAUSED",
954
- SUBSCRIPTION_CANCELED: "SUBSCRIPTION_CANCELED",
955
- SUBSCRIPTION_EXPIRED: "SUBSCRIPTION_EXPIRED",
956
- UNPAID_INVOICE: "UNPAID_INVOICE"
956
+ "basic-floor": "basic-floor",
957
+ "build-timeout-failure": "build-timeout-failure",
958
+ "enospc-failure": "enospc-failure",
959
+ "enterprise-floor": "enterprise-floor",
960
+ "high-peak-disk": "high-peak-disk",
961
+ "high-peak-memory": "high-peak-memory",
962
+ "long-build-duration": "long-build-duration",
963
+ "oom-failure": "oom-failure",
964
+ "plan-change": "plan-change",
965
+ "short-build-duration": "short-build-duration",
966
+ "sustained-high-cpu": "sustained-high-cpu"
957
967
  };
958
968
  const subjectTypeEnum = {
959
969
  app: "app",
@@ -1482,10 +1492,12 @@ const listEventTypeNameEnum = {
1482
1492
  "ai-gateway-api-key-created": "ai-gateway-api-key-created",
1483
1493
  "ai-gateway-api-key-deleted": "ai-gateway-api-key-deleted",
1484
1494
  "ai-gateway-api-key-quota-updated": "ai-gateway-api-key-quota-updated",
1495
+ "ai-gateway-auto-reload-updated": "ai-gateway-auto-reload-updated",
1485
1496
  "ai-gateway-budget-default-updated": "ai-gateway-budget-default-updated",
1486
1497
  "ai-gateway-byok-credential-created": "ai-gateway-byok-credential-created",
1487
1498
  "ai-gateway-byok-credential-deleted": "ai-gateway-byok-credential-deleted",
1488
1499
  "ai-gateway-byok-credential-updated": "ai-gateway-byok-credential-updated",
1500
+ "ai-gateway-credits-purchased": "ai-gateway-credits-purchased",
1489
1501
  "ai-gateway-guardrails-updated": "ai-gateway-guardrails-updated",
1490
1502
  "ai-gateway-model-allowlist-models-updated": "ai-gateway-model-allowlist-models-updated",
1491
1503
  "ai-gateway-model-allowlist-toggled": "ai-gateway-model-allowlist-toggled",
@@ -1672,6 +1684,9 @@ const listEventTypeNameEnum = {
1672
1684
  "env-variable-read:unknown-source": "env-variable-read:unknown-source",
1673
1685
  "env-variable-read:v0:env:pull": "env-variable-read:v0:env:pull",
1674
1686
  "env-variable-rotated": "env-variable-rotated",
1687
+ "experiment-created": "experiment-created",
1688
+ "experiment-transitioned": "experiment-transitioned",
1689
+ "experiment-updated": "experiment-updated",
1675
1690
  "firewall-bypass-created": "firewall-bypass-created",
1676
1691
  "firewall-bypass-deleted": "firewall-bypass-deleted",
1677
1692
  "firewall-config-modified": "firewall-config-modified",
@@ -1696,6 +1711,7 @@ const listEventTypeNameEnum = {
1696
1711
  "git-integration-repo-push": "git-integration-repo-push",
1697
1712
  git_account_integration_link_added: "git_account_integration_link_added",
1698
1713
  "instant-rollback-created": "instant-rollback-created",
1714
+ "integration-configuration-credential-rotated": "integration-configuration-credential-rotated",
1699
1715
  "integration-configuration-owner-changed": "integration-configuration-owner-changed",
1700
1716
  "integration-configuration-scope-change-confirmed": "integration-configuration-scope-change-confirmed",
1701
1717
  "integration-configuration-transfer-in-success": "integration-configuration-transfer-in-success",
@@ -2141,10 +2157,12 @@ const listEventTypeReplacedByEnum = {
2141
2157
  "ai-gateway-api-key-created": "ai-gateway-api-key-created",
2142
2158
  "ai-gateway-api-key-deleted": "ai-gateway-api-key-deleted",
2143
2159
  "ai-gateway-api-key-quota-updated": "ai-gateway-api-key-quota-updated",
2160
+ "ai-gateway-auto-reload-updated": "ai-gateway-auto-reload-updated",
2144
2161
  "ai-gateway-budget-default-updated": "ai-gateway-budget-default-updated",
2145
2162
  "ai-gateway-byok-credential-created": "ai-gateway-byok-credential-created",
2146
2163
  "ai-gateway-byok-credential-deleted": "ai-gateway-byok-credential-deleted",
2147
2164
  "ai-gateway-byok-credential-updated": "ai-gateway-byok-credential-updated",
2165
+ "ai-gateway-credits-purchased": "ai-gateway-credits-purchased",
2148
2166
  "ai-gateway-guardrails-updated": "ai-gateway-guardrails-updated",
2149
2167
  "ai-gateway-model-allowlist-models-updated": "ai-gateway-model-allowlist-models-updated",
2150
2168
  "ai-gateway-model-allowlist-toggled": "ai-gateway-model-allowlist-toggled",
@@ -2331,6 +2349,9 @@ const listEventTypeReplacedByEnum = {
2331
2349
  "env-variable-read:unknown-source": "env-variable-read:unknown-source",
2332
2350
  "env-variable-read:v0:env:pull": "env-variable-read:v0:env:pull",
2333
2351
  "env-variable-rotated": "env-variable-rotated",
2352
+ "experiment-created": "experiment-created",
2353
+ "experiment-transitioned": "experiment-transitioned",
2354
+ "experiment-updated": "experiment-updated",
2334
2355
  "firewall-bypass-created": "firewall-bypass-created",
2335
2356
  "firewall-bypass-deleted": "firewall-bypass-deleted",
2336
2357
  "firewall-config-modified": "firewall-config-modified",
@@ -2355,6 +2376,7 @@ const listEventTypeReplacedByEnum = {
2355
2376
  "git-integration-repo-push": "git-integration-repo-push",
2356
2377
  git_account_integration_link_added: "git_account_integration_link_added",
2357
2378
  "instant-rollback-created": "instant-rollback-created",
2379
+ "integration-configuration-credential-rotated": "integration-configuration-credential-rotated",
2358
2380
  "integration-configuration-owner-changed": "integration-configuration-owner-changed",
2359
2381
  "integration-configuration-scope-change-confirmed": "integration-configuration-scope-change-confirmed",
2360
2382
  "integration-configuration-transfer-in-success": "integration-configuration-transfer-in-success",
@@ -2747,40 +2769,8 @@ const listEventTypeReplacedByEnum = {
2747
2769
  "webhook-updated": "webhook-updated",
2748
2770
  "workflow-deployment-key-accessed": "workflow-deployment-key-accessed"
2749
2771
  };
2750
- const metricTypeEnum = {
2751
- count: "count",
2752
- currency: "currency",
2753
- percentage: "percentage"
2754
- };
2755
- const metricUnitEnum = {
2756
- session: "session",
2757
- user: "user",
2758
- visitor: "visitor"
2759
- };
2760
- const directionalityEnum = {
2761
- decreaseIsGood: "decreaseIsGood",
2762
- increaseIsGood: "increaseIsGood"
2763
- };
2764
- const flagExperimentDeviceEnum = {
2765
- android: "android",
2766
- desktop: "desktop",
2767
- ios: "ios",
2768
- mweb: "mweb"
2769
- };
2770
- const flagExperimentDurationUnitEnum = {
2771
- days: "days",
2772
- exposures: "exposures"
2773
- };
2774
- const flagExperimentAllocationUnitEnum = {
2775
- cookieId: "cookieId",
2776
- userId: "userId",
2777
- visitorId: "visitorId"
2778
- };
2779
- const flagExperimentStatusEnum = {
2780
- closed: "closed",
2781
- draft: "draft",
2782
- paused: "paused",
2783
- running: "running"
2772
+ const flagExperimentBaseTypeEnum = {
2773
+ entity: "entity"
2784
2774
  };
2785
2775
  const cmpEnum = {
2786
2776
  after: "after",
@@ -3323,7 +3313,6 @@ exports.decisionEnum = decisionEnum;
3323
3313
  exports.defaultEnum = defaultEnum;
3324
3314
  exports.defaultModeEnum = defaultModeEnum;
3325
3315
  exports.deploymentTypeEnum = deploymentTypeEnum;
3326
- exports.directionalityEnum = directionalityEnum;
3327
3316
  exports.domainAlreadyOwnedCodeEnum = domainAlreadyOwnedCodeEnum;
3328
3317
  exports.domainAlreadyOwnedStatusEnum = domainAlreadyOwnedStatusEnum;
3329
3318
  exports.domainAlreadyRenewingCodeEnum = domainAlreadyRenewingCodeEnum;
@@ -3352,10 +3341,7 @@ exports.expectedPriceMismatchStatusEnum = expectedPriceMismatchStatusEnum;
3352
3341
  exports.failureStageEnum = failureStageEnum;
3353
3342
  exports.favoritesViewPreferenceEnum = favoritesViewPreferenceEnum;
3354
3343
  exports.fileTreeTypeEnum = fileTreeTypeEnum;
3355
- exports.flagExperimentAllocationUnitEnum = flagExperimentAllocationUnitEnum;
3356
- exports.flagExperimentDeviceEnum = flagExperimentDeviceEnum;
3357
- exports.flagExperimentDurationUnitEnum = flagExperimentDurationUnitEnum;
3358
- exports.flagExperimentStatusEnum = flagExperimentStatusEnum;
3344
+ exports.flagExperimentBaseTypeEnum = flagExperimentBaseTypeEnum;
3359
3345
  exports.flagKindEnum = flagKindEnum;
3360
3346
  exports.flagStateEnum = flagStateEnum;
3361
3347
  exports.flagTypeNameEnum = flagTypeNameEnum;
@@ -3386,8 +3372,6 @@ exports.marketplaceFlagCategoryEnum = marketplaceFlagCategoryEnum;
3386
3372
  exports.marketplaceFlagStateEnum = marketplaceFlagStateEnum;
3387
3373
  exports.marketplaceFlagTypeNameEnum = marketplaceFlagTypeNameEnum;
3388
3374
  exports.methodEnum = methodEnum;
3389
- exports.metricTypeEnum = metricTypeEnum;
3390
- exports.metricUnitEnum = metricUnitEnum;
3391
3375
  exports.modeEnum = modeEnum;
3392
3376
  exports.mxOutcomeEnum = mxOutcomeEnum;
3393
3377
  exports.nameEnum = nameEnum;