@distilled.cloud/vercel 1.0.0-rc.7 → 1.0.0-rc.9
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/LICENSE +201 -0
- package/lib/services/access_groups.d.ts +1 -1
- package/lib/services/access_groups.d.ts.map +1 -1
- package/lib/services/access_groups.js +1 -1
- package/lib/services/access_groups.js.map +1 -1
- package/lib/services/ai_gateway.js +1 -1
- package/lib/services/ai_gateway.js.map +1 -1
- package/lib/services/aliases.d.ts +3 -3
- package/lib/services/aliases.d.ts.map +1 -1
- package/lib/services/aliases.js +4 -4
- package/lib/services/aliases.js.map +1 -1
- package/lib/services/api_ai_gateway.d.ts +275 -0
- package/lib/services/api_ai_gateway.d.ts.map +1 -0
- package/lib/services/api_ai_gateway.js +229 -0
- package/lib/services/api_ai_gateway.js.map +1 -0
- package/lib/services/artifacts.d.ts +1 -1
- package/lib/services/artifacts.d.ts.map +1 -1
- package/lib/services/artifacts.js +12 -12
- package/lib/services/artifacts.js.map +1 -1
- package/lib/services/authentication.js +1 -1
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/billing.d.ts +145 -7
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +121 -5
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bulk_redirects.d.ts +4 -4
- package/lib/services/bulk_redirects.d.ts.map +1 -1
- package/lib/services/bulk_redirects.js +4 -4
- package/lib/services/bulk_redirects.js.map +1 -1
- package/lib/services/certs.d.ts +9 -9
- package/lib/services/certs.d.ts.map +1 -1
- package/lib/services/certs.js +10 -12
- package/lib/services/certs.js.map +1 -1
- package/lib/services/checks_v2.d.ts +5 -0
- package/lib/services/checks_v2.d.ts.map +1 -1
- package/lib/services/checks_v2.js +6 -1
- package/lib/services/checks_v2.js.map +1 -1
- package/lib/services/connect.d.ts +1721 -527
- package/lib/services/connect.d.ts.map +1 -1
- package/lib/services/connect.js +1034 -414
- package/lib/services/connect.js.map +1 -1
- package/lib/services/deployments.d.ts +338 -30
- package/lib/services/deployments.d.ts.map +1 -1
- package/lib/services/deployments.js +335 -11
- package/lib/services/deployments.js.map +1 -1
- package/lib/services/dns.d.ts +13 -13
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +13 -14
- package/lib/services/dns.js.map +1 -1
- package/lib/services/domains.d.ts +55 -27
- package/lib/services/domains.d.ts.map +1 -1
- package/lib/services/domains.js +38 -25
- package/lib/services/domains.js.map +1 -1
- package/lib/services/domains_registrar.d.ts.map +1 -1
- package/lib/services/domains_registrar.js +1 -1
- package/lib/services/domains_registrar.js.map +1 -1
- package/lib/services/drains.d.ts +8 -8
- package/lib/services/drains.d.ts.map +1 -1
- package/lib/services/drains.js +1 -1
- package/lib/services/drains.js.map +1 -1
- package/lib/services/edge_cache.js +1 -1
- package/lib/services/edge_cache.js.map +1 -1
- package/lib/services/environment.d.ts +39 -39
- package/lib/services/environment.d.ts.map +1 -1
- package/lib/services/environment.js +35 -37
- package/lib/services/environment.js.map +1 -1
- package/lib/services/feature_flags.d.ts +93 -309
- package/lib/services/feature_flags.d.ts.map +1 -1
- package/lib/services/feature_flags.js +93 -303
- package/lib/services/feature_flags.js.map +1 -1
- package/lib/services/global_config.d.ts +40 -40
- package/lib/services/global_config.d.ts.map +1 -1
- package/lib/services/global_config.js +16 -14
- package/lib/services/global_config.js.map +1 -1
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/integrations.d.ts +44 -17
- package/lib/services/integrations.d.ts.map +1 -1
- package/lib/services/integrations.js +32 -7
- package/lib/services/integrations.js.map +1 -1
- package/lib/services/kms.d.ts +1095 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +982 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/log_drains.d.ts +4 -4
- package/lib/services/log_drains.d.ts.map +1 -1
- package/lib/services/log_drains.js +1 -1
- package/lib/services/log_drains.js.map +1 -1
- package/lib/services/logs.js +1 -1
- package/lib/services/logs.js.map +1 -1
- package/lib/services/marketplace.d.ts +95 -33
- package/lib/services/marketplace.d.ts.map +1 -1
- package/lib/services/marketplace.js +123 -31
- package/lib/services/marketplace.js.map +1 -1
- package/lib/services/microfrontends.d.ts +290 -250
- package/lib/services/microfrontends.d.ts.map +1 -1
- package/lib/services/microfrontends.js +281 -244
- package/lib/services/microfrontends.js.map +1 -1
- package/lib/services/misc.d.ts +192 -0
- package/lib/services/misc.d.ts.map +1 -0
- package/lib/services/misc.js +125 -0
- package/lib/services/misc.js.map +1 -0
- package/lib/services/networking.d.ts +123 -2
- package/lib/services/networking.d.ts.map +1 -1
- package/lib/services/networking.js +132 -2
- package/lib/services/networking.js.map +1 -1
- package/lib/services/observability.js +1 -1
- package/lib/services/observability.js.map +1 -1
- package/lib/services/project_members.js +1 -1
- package/lib/services/project_members.js.map +1 -1
- package/lib/services/project_routes.d.ts.map +1 -1
- package/lib/services/project_routes.js +1 -1
- package/lib/services/project_routes.js.map +1 -1
- package/lib/services/projects.d.ts +356 -116
- package/lib/services/projects.d.ts.map +1 -1
- package/lib/services/projects.js +260 -64
- package/lib/services/projects.js.map +1 -1
- package/lib/services/rolling_release.d.ts +2 -2
- package/lib/services/rolling_release.d.ts.map +1 -1
- package/lib/services/rolling_release.js +1 -1
- package/lib/services/rolling_release.js.map +1 -1
- package/lib/services/sandboxes.d.ts +1007 -410
- package/lib/services/sandboxes.d.ts.map +1 -1
- package/lib/services/sandboxes.js +732 -293
- package/lib/services/sandboxes.js.map +1 -1
- package/lib/services/security.d.ts +590 -275
- package/lib/services/security.d.ts.map +1 -1
- package/lib/services/security.js +562 -208
- package/lib/services/security.js.map +1 -1
- package/lib/services/storage.d.ts +69 -69
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +59 -59
- package/lib/services/storage.js.map +1 -1
- package/lib/services/teams.d.ts +351 -328
- package/lib/services/teams.d.ts.map +1 -1
- package/lib/services/teams.js +299 -284
- package/lib/services/teams.js.map +1 -1
- package/lib/services/user.d.ts +4237 -3650
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +3426 -2935
- package/lib/services/user.js.map +1 -1
- package/lib/services/vcr.d.ts +80 -122
- package/lib/services/vcr.d.ts.map +1 -1
- package/lib/services/vcr.js +89 -144
- package/lib/services/vcr.js.map +1 -1
- package/lib/services/web_analytics.d.ts +42 -10
- package/lib/services/web_analytics.d.ts.map +1 -1
- package/lib/services/web_analytics.js +39 -9
- package/lib/services/web_analytics.js.map +1 -1
- package/lib/services/webhooks.d.ts +13 -1
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +11 -1
- package/lib/services/webhooks.js.map +1 -1
- package/package.json +6 -5
- package/src/services/access_groups.ts +5 -2
- package/src/services/ai_gateway.ts +1 -1
- package/src/services/aliases.ts +9 -8
- package/src/services/api_ai_gateway.ts +607 -0
- package/src/services/artifacts.ts +13 -13
- package/src/services/authentication.ts +1 -1
- package/src/services/billing.ts +358 -26
- package/src/services/bulk_redirects.ts +10 -10
- package/src/services/certs.ts +20 -26
- package/src/services/checks_v2.ts +11 -1
- package/src/services/connect.ts +3330 -1121
- package/src/services/deployments.ts +1513 -429
- package/src/services/dns.ts +26 -27
- package/src/services/domains.ts +119 -63
- package/src/services/domains_registrar.ts +37 -37
- package/src/services/drains.ts +35 -18
- package/src/services/edge_cache.ts +1 -1
- package/src/services/environment.ts +99 -95
- package/src/services/feature_flags.ts +332 -884
- package/src/services/global_config.ts +59 -57
- package/src/services/index.ts +3 -0
- package/src/services/integrations.ts +870 -668
- package/src/services/kms.ts +2631 -0
- package/src/services/log_drains.ts +73 -41
- package/src/services/logs.ts +1 -1
- package/src/services/marketplace.ts +324 -96
- package/src/services/microfrontends.ts +1582 -1306
- package/src/services/misc.ts +364 -0
- package/src/services/networking.ts +339 -4
- package/src/services/observability.ts +1 -1
- package/src/services/project_members.ts +1 -1
- package/src/services/project_routes.ts +25 -16
- package/src/services/projects.ts +1987 -691
- package/src/services/rolling_release.ts +100 -96
- package/src/services/sandboxes.ts +3013 -1268
- package/src/services/security.ts +3433 -1845
- package/src/services/storage.ts +145 -141
- package/src/services/teams.ts +1061 -986
- package/src/services/user.ts +8490 -6901
- package/src/services/vcr.ts +349 -443
- package/src/services/web_analytics.ts +83 -13
- package/src/services/webhooks.ts +32 -1
package/src/services/drains.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit.
|
|
2
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
3
|
import * as Redacted from "effect/Redacted";
|
|
4
4
|
import * as API from "@distilled.cloud/core/api";
|
|
@@ -492,7 +492,8 @@ export type CreateDrainResponseBodyCase0DisabledReason =
|
|
|
492
492
|
| "account-plan-downgrade"
|
|
493
493
|
| "disabled-by-admin"
|
|
494
494
|
| "disabled-by-owner"
|
|
495
|
-
| "feature-not-available"
|
|
495
|
+
| "feature-not-available"
|
|
496
|
+
| "limits-exceeded";
|
|
496
497
|
export const CreateDrainResponseBodyCase0DisabledReason =
|
|
497
498
|
/*@__PURE__*/ S.String;
|
|
498
499
|
|
|
@@ -920,7 +921,8 @@ export const CreateDrainResponseBodyCase0FilterV2FilterCase0Log =
|
|
|
920
921
|
}) as any as S.Schema<CreateDrainResponseBodyCase0FilterV2FilterCase0Log>;
|
|
921
922
|
|
|
922
923
|
export type CreateDrainResponseBodyCase0FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
923
|
-
|
|
924
|
+
| "preview"
|
|
925
|
+
| "production";
|
|
924
926
|
export const CreateDrainResponseBodyCase0FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
925
927
|
/*@__PURE__*/ S.String;
|
|
926
928
|
|
|
@@ -1063,7 +1065,8 @@ export type CreateDrainResponseBodyCase1DisabledReason =
|
|
|
1063
1065
|
| "account-plan-downgrade"
|
|
1064
1066
|
| "disabled-by-admin"
|
|
1065
1067
|
| "disabled-by-owner"
|
|
1066
|
-
| "feature-not-available"
|
|
1068
|
+
| "feature-not-available"
|
|
1069
|
+
| "limits-exceeded";
|
|
1067
1070
|
export const CreateDrainResponseBodyCase1DisabledReason =
|
|
1068
1071
|
/*@__PURE__*/ S.String;
|
|
1069
1072
|
|
|
@@ -1473,7 +1476,8 @@ export const CreateDrainResponseBodyCase1FilterV2FilterCase0Log =
|
|
|
1473
1476
|
}) as any as S.Schema<CreateDrainResponseBodyCase1FilterV2FilterCase0Log>;
|
|
1474
1477
|
|
|
1475
1478
|
export type CreateDrainResponseBodyCase1FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
1476
|
-
|
|
1479
|
+
| "preview"
|
|
1480
|
+
| "production";
|
|
1477
1481
|
export const CreateDrainResponseBodyCase1FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
1478
1482
|
/*@__PURE__*/ S.String;
|
|
1479
1483
|
|
|
@@ -1741,7 +1745,8 @@ export type GetDrainResponseBodyCase0DisabledReason =
|
|
|
1741
1745
|
| "account-plan-downgrade"
|
|
1742
1746
|
| "disabled-by-admin"
|
|
1743
1747
|
| "disabled-by-owner"
|
|
1744
|
-
| "feature-not-available"
|
|
1748
|
+
| "feature-not-available"
|
|
1749
|
+
| "limits-exceeded";
|
|
1745
1750
|
export const GetDrainResponseBodyCase0DisabledReason = /*@__PURE__*/ S.String;
|
|
1746
1751
|
|
|
1747
1752
|
export type GetDrainResponseBodyCase0Schemas =
|
|
@@ -2135,7 +2140,8 @@ export const GetDrainResponseBodyCase0FilterV2FilterCase0Log =
|
|
|
2135
2140
|
}) as any as S.Schema<GetDrainResponseBodyCase0FilterV2FilterCase0Log>;
|
|
2136
2141
|
|
|
2137
2142
|
export type GetDrainResponseBodyCase0FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
2138
|
-
|
|
2143
|
+
| "preview"
|
|
2144
|
+
| "production";
|
|
2139
2145
|
export const GetDrainResponseBodyCase0FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
2140
2146
|
/*@__PURE__*/ S.String;
|
|
2141
2147
|
|
|
@@ -2275,7 +2281,8 @@ export type GetDrainResponseBodyCase1DisabledReason =
|
|
|
2275
2281
|
| "account-plan-downgrade"
|
|
2276
2282
|
| "disabled-by-admin"
|
|
2277
2283
|
| "disabled-by-owner"
|
|
2278
|
-
| "feature-not-available"
|
|
2284
|
+
| "feature-not-available"
|
|
2285
|
+
| "limits-exceeded";
|
|
2279
2286
|
export const GetDrainResponseBodyCase1DisabledReason = /*@__PURE__*/ S.String;
|
|
2280
2287
|
|
|
2281
2288
|
export type GetDrainResponseBodyCase1Schemas =
|
|
@@ -2669,7 +2676,8 @@ export const GetDrainResponseBodyCase1FilterV2FilterCase0Log =
|
|
|
2669
2676
|
}) as any as S.Schema<GetDrainResponseBodyCase1FilterV2FilterCase0Log>;
|
|
2670
2677
|
|
|
2671
2678
|
export type GetDrainResponseBodyCase1FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
2672
|
-
|
|
2679
|
+
| "preview"
|
|
2680
|
+
| "production";
|
|
2673
2681
|
export const GetDrainResponseBodyCase1FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
2674
2682
|
/*@__PURE__*/ S.String;
|
|
2675
2683
|
|
|
@@ -2913,7 +2921,8 @@ export type GetDrainsResponseDrainsCase0ItemDisabledReason =
|
|
|
2913
2921
|
| "account-plan-downgrade"
|
|
2914
2922
|
| "disabled-by-admin"
|
|
2915
2923
|
| "disabled-by-owner"
|
|
2916
|
-
| "feature-not-available"
|
|
2924
|
+
| "feature-not-available"
|
|
2925
|
+
| "limits-exceeded";
|
|
2917
2926
|
export const GetDrainsResponseDrainsCase0ItemDisabledReason =
|
|
2918
2927
|
/*@__PURE__*/ S.String;
|
|
2919
2928
|
|
|
@@ -3326,7 +3335,8 @@ export const GetDrainsResponseDrainsCase0ItemFilterV2FilterCase0Log =
|
|
|
3326
3335
|
}) as any as S.Schema<GetDrainsResponseDrainsCase0ItemFilterV2FilterCase0Log>;
|
|
3327
3336
|
|
|
3328
3337
|
export type GetDrainsResponseDrainsCase0ItemFilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
3329
|
-
|
|
3338
|
+
| "preview"
|
|
3339
|
+
| "production";
|
|
3330
3340
|
export const GetDrainsResponseDrainsCase0ItemFilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
3331
3341
|
/*@__PURE__*/ S.String;
|
|
3332
3342
|
|
|
@@ -3476,7 +3486,8 @@ export type GetDrainsResponseDrainsCase1ItemDisabledReason =
|
|
|
3476
3486
|
| "account-plan-downgrade"
|
|
3477
3487
|
| "disabled-by-admin"
|
|
3478
3488
|
| "disabled-by-owner"
|
|
3479
|
-
| "feature-not-available"
|
|
3489
|
+
| "feature-not-available"
|
|
3490
|
+
| "limits-exceeded";
|
|
3480
3491
|
export const GetDrainsResponseDrainsCase1ItemDisabledReason =
|
|
3481
3492
|
/*@__PURE__*/ S.String;
|
|
3482
3493
|
|
|
@@ -3889,7 +3900,8 @@ export const GetDrainsResponseDrainsCase1ItemFilterV2FilterCase0Log =
|
|
|
3889
3900
|
}) as any as S.Schema<GetDrainsResponseDrainsCase1ItemFilterV2FilterCase0Log>;
|
|
3890
3901
|
|
|
3891
3902
|
export type GetDrainsResponseDrainsCase1ItemFilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
3892
|
-
|
|
3903
|
+
| "preview"
|
|
3904
|
+
| "production";
|
|
3893
3905
|
export const GetDrainsResponseDrainsCase1ItemFilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
3894
3906
|
/*@__PURE__*/ S.String;
|
|
3895
3907
|
|
|
@@ -4360,7 +4372,8 @@ export const UpdateDrainRequestFilterCase1FilterCase0Log =
|
|
|
4360
4372
|
}) as any as S.Schema<UpdateDrainRequestFilterCase1FilterCase0Log>;
|
|
4361
4373
|
|
|
4362
4374
|
export type UpdateDrainRequestFilterCase1FilterCase0DeploymentEnvironmentsItem =
|
|
4363
|
-
|
|
4375
|
+
| "production"
|
|
4376
|
+
| "preview";
|
|
4364
4377
|
export const UpdateDrainRequestFilterCase1FilterCase0DeploymentEnvironmentsItem =
|
|
4365
4378
|
/*@__PURE__*/ S.String;
|
|
4366
4379
|
|
|
@@ -4706,7 +4719,8 @@ export type UpdateDrainResponseBodyCase0DisabledReason =
|
|
|
4706
4719
|
| "account-plan-downgrade"
|
|
4707
4720
|
| "disabled-by-admin"
|
|
4708
4721
|
| "disabled-by-owner"
|
|
4709
|
-
| "feature-not-available"
|
|
4722
|
+
| "feature-not-available"
|
|
4723
|
+
| "limits-exceeded";
|
|
4710
4724
|
export const UpdateDrainResponseBodyCase0DisabledReason =
|
|
4711
4725
|
/*@__PURE__*/ S.String;
|
|
4712
4726
|
|
|
@@ -5116,7 +5130,8 @@ export const UpdateDrainResponseBodyCase0FilterV2FilterCase0Log =
|
|
|
5116
5130
|
}) as any as S.Schema<UpdateDrainResponseBodyCase0FilterV2FilterCase0Log>;
|
|
5117
5131
|
|
|
5118
5132
|
export type UpdateDrainResponseBodyCase0FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
5119
|
-
|
|
5133
|
+
| "preview"
|
|
5134
|
+
| "production";
|
|
5120
5135
|
export const UpdateDrainResponseBodyCase0FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
5121
5136
|
/*@__PURE__*/ S.String;
|
|
5122
5137
|
|
|
@@ -5259,7 +5274,8 @@ export type UpdateDrainResponseBodyCase1DisabledReason =
|
|
|
5259
5274
|
| "account-plan-downgrade"
|
|
5260
5275
|
| "disabled-by-admin"
|
|
5261
5276
|
| "disabled-by-owner"
|
|
5262
|
-
| "feature-not-available"
|
|
5277
|
+
| "feature-not-available"
|
|
5278
|
+
| "limits-exceeded";
|
|
5263
5279
|
export const UpdateDrainResponseBodyCase1DisabledReason =
|
|
5264
5280
|
/*@__PURE__*/ S.String;
|
|
5265
5281
|
|
|
@@ -5669,7 +5685,8 @@ export const UpdateDrainResponseBodyCase1FilterV2FilterCase0Log =
|
|
|
5669
5685
|
}) as any as S.Schema<UpdateDrainResponseBodyCase1FilterV2FilterCase0Log>;
|
|
5670
5686
|
|
|
5671
5687
|
export type UpdateDrainResponseBodyCase1FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
5672
|
-
|
|
5688
|
+
| "preview"
|
|
5689
|
+
| "production";
|
|
5673
5690
|
export const UpdateDrainResponseBodyCase1FilterV2FilterCase0DeploymentEnvironmentsItem =
|
|
5674
5691
|
/*@__PURE__*/ S.String;
|
|
5675
5692
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit.
|
|
2
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
3
|
import * as API from "@distilled.cloud/core/api";
|
|
4
4
|
import * as C from "@distilled.cloud/core/category";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit.
|
|
2
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
3
|
import * as API from "@distilled.cloud/core/api";
|
|
4
4
|
import * as C from "@distilled.cloud/core/category";
|
|
@@ -893,7 +893,7 @@ export const GetCustomEnvironmentResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
893
893
|
identifier: "GetCustomEnvironmentResponse",
|
|
894
894
|
}) as any as S.Schema<GetCustomEnvironmentResponse>;
|
|
895
895
|
|
|
896
|
-
export interface
|
|
896
|
+
export interface GetProjectCustomEnvironmentsRequest {
|
|
897
897
|
/** The unique project identifier or the project name */
|
|
898
898
|
idOrName: string;
|
|
899
899
|
/** Fetch custom environments for a specific git branch */
|
|
@@ -903,69 +903,73 @@ export interface GetProjectsByIdOrNameCustomEnvironmentsRequest {
|
|
|
903
903
|
/** The Team slug to perform the request on behalf of. */
|
|
904
904
|
slug?: string;
|
|
905
905
|
}
|
|
906
|
-
export const
|
|
907
|
-
|
|
908
|
-
S.
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}) as any as S.Schema<GetProjectsByIdOrNameCustomEnvironmentsRequest>;
|
|
906
|
+
export const GetProjectCustomEnvironmentsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
907
|
+
S.Struct({
|
|
908
|
+
idOrName: S.String.pipe(T.Label()),
|
|
909
|
+
gitBranch: S.optional(S.String.pipe(T.Query())),
|
|
910
|
+
teamId: S.optional(S.String.pipe(T.Query())),
|
|
911
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
912
|
+
}).pipe(
|
|
913
|
+
T.Http({
|
|
914
|
+
method: "GET",
|
|
915
|
+
uri: "/v9/projects/{idOrName}/custom-environments",
|
|
916
|
+
code: 200,
|
|
917
|
+
}),
|
|
918
|
+
),
|
|
919
|
+
).annotate({
|
|
920
|
+
identifier: "GetProjectCustomEnvironmentsRequest",
|
|
921
|
+
}) as any as S.Schema<GetProjectCustomEnvironmentsRequest>;
|
|
923
922
|
|
|
924
923
|
/** The maximum number of custom environments allowed either by the team's plan type or a custom override. */
|
|
925
|
-
export interface
|
|
924
|
+
export interface GetProjectCustomEnvironmentsResponseAccountLimit {
|
|
926
925
|
total: number;
|
|
927
926
|
}
|
|
928
|
-
export const
|
|
927
|
+
export const GetProjectCustomEnvironmentsResponseAccountLimit =
|
|
929
928
|
/*@__PURE__*/ S.suspend(() =>
|
|
930
929
|
S.Struct({
|
|
931
930
|
total: S.Number,
|
|
932
931
|
}),
|
|
933
932
|
).annotate({
|
|
934
|
-
identifier: "
|
|
935
|
-
}) as any as S.Schema<
|
|
933
|
+
identifier: "GetProjectCustomEnvironmentsResponseAccountLimit",
|
|
934
|
+
}) as any as S.Schema<GetProjectCustomEnvironmentsResponseAccountLimit>;
|
|
936
935
|
|
|
937
936
|
/** The type of environment (production, preview, or development) */
|
|
938
|
-
export type
|
|
939
|
-
|
|
940
|
-
|
|
937
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemType =
|
|
938
|
+
| "development"
|
|
939
|
+
| "preview"
|
|
940
|
+
| "production";
|
|
941
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemType =
|
|
941
942
|
/*@__PURE__*/ S.String;
|
|
942
943
|
|
|
943
|
-
export type
|
|
944
|
-
|
|
945
|
-
|
|
944
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemRedirectStatusCode =
|
|
945
|
+
| 301
|
|
946
|
+
| 302
|
|
947
|
+
| 307
|
|
948
|
+
| 308;
|
|
949
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemRedirectStatusCode =
|
|
946
950
|
/*@__PURE__*/ S.Number;
|
|
947
951
|
|
|
948
952
|
/** A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. */
|
|
949
|
-
export type
|
|
953
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationItem =
|
|
950
954
|
CreateCustomEnvironmentResponseDomainsItemVerificationItem;
|
|
951
|
-
export const
|
|
955
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationItem =
|
|
952
956
|
CreateCustomEnvironmentResponseDomainsItemVerificationItem;
|
|
953
957
|
|
|
954
958
|
/** A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. */
|
|
955
|
-
export type
|
|
959
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationList =
|
|
956
960
|
Array<CreateCustomEnvironmentResponseDomainsItemVerificationItem>;
|
|
957
|
-
export const
|
|
961
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationList =
|
|
958
962
|
/*@__PURE__*/ S.Array(
|
|
959
963
|
CreateCustomEnvironmentResponseDomainsItemVerificationItem,
|
|
960
|
-
) as any as S.Schema<
|
|
964
|
+
) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationList>;
|
|
961
965
|
|
|
962
966
|
/** List of domains associated with this environment */
|
|
963
|
-
export interface
|
|
967
|
+
export interface GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItem {
|
|
964
968
|
name: string;
|
|
965
969
|
apexName: string;
|
|
966
970
|
projectId: string;
|
|
967
971
|
redirect?: string | null;
|
|
968
|
-
redirectStatusCode?:
|
|
972
|
+
redirectStatusCode?: GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemRedirectStatusCode | null;
|
|
969
973
|
gitBranch?: string | null;
|
|
970
974
|
customEnvironmentId?: string | null;
|
|
971
975
|
updatedAt?: number;
|
|
@@ -973,9 +977,9 @@ export interface GetProjectsByIdOrNameCustomEnvironmentsResponseEnvironmentsItem
|
|
|
973
977
|
/** `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. */
|
|
974
978
|
verified: boolean;
|
|
975
979
|
/** A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. */
|
|
976
|
-
verification?:
|
|
980
|
+
verification?: GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationList;
|
|
977
981
|
}
|
|
978
|
-
export const
|
|
982
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItem =
|
|
979
983
|
/*@__PURE__*/ S.suspend(() =>
|
|
980
984
|
S.Struct({
|
|
981
985
|
name: S.String,
|
|
@@ -984,7 +988,7 @@ export const GetProjectsByIdOrNameCustomEnvironmentsResponseEnvironmentsItemDoma
|
|
|
984
988
|
redirect: S.optional(S.NullOr(S.String)),
|
|
985
989
|
redirectStatusCode: S.optional(
|
|
986
990
|
S.NullOr(
|
|
987
|
-
|
|
991
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemRedirectStatusCode,
|
|
988
992
|
),
|
|
989
993
|
),
|
|
990
994
|
gitBranch: S.optional(S.NullOr(S.String)),
|
|
@@ -993,57 +997,59 @@ export const GetProjectsByIdOrNameCustomEnvironmentsResponseEnvironmentsItemDoma
|
|
|
993
997
|
createdAt: S.optional(S.Number),
|
|
994
998
|
verified: S.Boolean,
|
|
995
999
|
verification: S.optional(
|
|
996
|
-
|
|
1000
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItemVerificationList,
|
|
997
1001
|
),
|
|
998
1002
|
}),
|
|
999
1003
|
).annotate({
|
|
1000
1004
|
identifier:
|
|
1001
|
-
"
|
|
1002
|
-
}) as any as S.Schema<
|
|
1005
|
+
"GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItem",
|
|
1006
|
+
}) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItem>;
|
|
1003
1007
|
|
|
1004
1008
|
/** List of domains associated with this environment */
|
|
1005
|
-
export type
|
|
1006
|
-
Array<
|
|
1007
|
-
export const
|
|
1009
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsList =
|
|
1010
|
+
Array<GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItem>;
|
|
1011
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsList =
|
|
1008
1012
|
/*@__PURE__*/ S.Array(
|
|
1009
|
-
|
|
1010
|
-
) as any as S.Schema<
|
|
1013
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsItem,
|
|
1014
|
+
) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsList>;
|
|
1011
1015
|
|
|
1012
1016
|
/** The type of matching to perform */
|
|
1013
|
-
export type
|
|
1014
|
-
|
|
1015
|
-
|
|
1017
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcherType =
|
|
1018
|
+
| "endsWith"
|
|
1019
|
+
| "equals"
|
|
1020
|
+
| "startsWith";
|
|
1021
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcherType =
|
|
1016
1022
|
/*@__PURE__*/ S.String;
|
|
1017
1023
|
|
|
1018
1024
|
/** Configuration for matching git branches to this environment */
|
|
1019
|
-
export interface
|
|
1025
|
+
export interface GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcher {
|
|
1020
1026
|
/** The type of matching to perform */
|
|
1021
|
-
type:
|
|
1027
|
+
type: GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcherType;
|
|
1022
1028
|
/** The pattern to match against branch names */
|
|
1023
1029
|
pattern: string;
|
|
1024
1030
|
}
|
|
1025
|
-
export const
|
|
1031
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcher =
|
|
1026
1032
|
/*@__PURE__*/ S.suspend(() =>
|
|
1027
1033
|
S.Struct({
|
|
1028
|
-
type:
|
|
1034
|
+
type: GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcherType,
|
|
1029
1035
|
pattern: S.String,
|
|
1030
1036
|
}),
|
|
1031
1037
|
).annotate({
|
|
1032
1038
|
identifier:
|
|
1033
|
-
"
|
|
1034
|
-
}) as any as S.Schema<
|
|
1039
|
+
"GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcher",
|
|
1040
|
+
}) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcher>;
|
|
1035
1041
|
|
|
1036
1042
|
/** List of aliases for the current deployment */
|
|
1037
|
-
export type
|
|
1043
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsItemCurrentDeploymentAliasesList =
|
|
1038
1044
|
Array<string>;
|
|
1039
|
-
export const
|
|
1045
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItemCurrentDeploymentAliasesList =
|
|
1040
1046
|
/*@__PURE__*/ S.Array(
|
|
1041
1047
|
S.String,
|
|
1042
|
-
) as any as S.Schema<
|
|
1048
|
+
) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsItemCurrentDeploymentAliasesList>;
|
|
1043
1049
|
|
|
1044
|
-
export interface
|
|
1050
|
+
export interface GetProjectCustomEnvironmentsResponseEnvironmentsItem {
|
|
1045
1051
|
/** The type of environment (production, preview, or development) */
|
|
1046
|
-
type:
|
|
1052
|
+
type: GetProjectCustomEnvironmentsResponseEnvironmentsItemType;
|
|
1047
1053
|
/** Optional description of the environment's purpose */
|
|
1048
1054
|
description?: string;
|
|
1049
1055
|
/** Timestamp when the environment was created */
|
|
@@ -1055,58 +1061,56 @@ export interface GetProjectsByIdOrNameCustomEnvironmentsResponseEnvironmentsItem
|
|
|
1055
1061
|
/** Unique identifier for the custom environment (format: env_*) */
|
|
1056
1062
|
id: string;
|
|
1057
1063
|
/** List of domains associated with this environment */
|
|
1058
|
-
domains?:
|
|
1064
|
+
domains?: GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsList;
|
|
1059
1065
|
/** Configuration for matching git branches to this environment */
|
|
1060
|
-
branchMatcher?:
|
|
1066
|
+
branchMatcher?: GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcher;
|
|
1061
1067
|
/** List of aliases for the current deployment */
|
|
1062
|
-
currentDeploymentAliases?:
|
|
1068
|
+
currentDeploymentAliases?: GetProjectCustomEnvironmentsResponseEnvironmentsItemCurrentDeploymentAliasesList;
|
|
1063
1069
|
}
|
|
1064
|
-
export const
|
|
1070
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsItem =
|
|
1065
1071
|
/*@__PURE__*/ S.suspend(() =>
|
|
1066
1072
|
S.Struct({
|
|
1067
|
-
type:
|
|
1073
|
+
type: GetProjectCustomEnvironmentsResponseEnvironmentsItemType,
|
|
1068
1074
|
description: S.optional(S.String),
|
|
1069
1075
|
createdAt: S.Number,
|
|
1070
1076
|
updatedAt: S.Number,
|
|
1071
1077
|
slug: S.String,
|
|
1072
1078
|
id: S.String,
|
|
1073
1079
|
domains: S.optional(
|
|
1074
|
-
|
|
1080
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItemDomainsList,
|
|
1075
1081
|
),
|
|
1076
1082
|
branchMatcher: S.optional(
|
|
1077
|
-
|
|
1083
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItemBranchMatcher,
|
|
1078
1084
|
),
|
|
1079
1085
|
currentDeploymentAliases: S.optional(
|
|
1080
|
-
|
|
1086
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItemCurrentDeploymentAliasesList,
|
|
1081
1087
|
),
|
|
1082
1088
|
}),
|
|
1083
1089
|
).annotate({
|
|
1084
|
-
identifier:
|
|
1085
|
-
|
|
1086
|
-
}) as any as S.Schema<GetProjectsByIdOrNameCustomEnvironmentsResponseEnvironmentsItem>;
|
|
1090
|
+
identifier: "GetProjectCustomEnvironmentsResponseEnvironmentsItem",
|
|
1091
|
+
}) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsItem>;
|
|
1087
1092
|
|
|
1088
|
-
export type
|
|
1089
|
-
Array<
|
|
1090
|
-
export const
|
|
1093
|
+
export type GetProjectCustomEnvironmentsResponseEnvironmentsList =
|
|
1094
|
+
Array<GetProjectCustomEnvironmentsResponseEnvironmentsItem>;
|
|
1095
|
+
export const GetProjectCustomEnvironmentsResponseEnvironmentsList =
|
|
1091
1096
|
/*@__PURE__*/ S.Array(
|
|
1092
|
-
|
|
1093
|
-
) as any as S.Schema<
|
|
1097
|
+
GetProjectCustomEnvironmentsResponseEnvironmentsItem,
|
|
1098
|
+
) as any as S.Schema<GetProjectCustomEnvironmentsResponseEnvironmentsList>;
|
|
1094
1099
|
|
|
1095
|
-
export interface
|
|
1100
|
+
export interface GetProjectCustomEnvironmentsResponse {
|
|
1096
1101
|
/** The maximum number of custom environments allowed either by the team's plan type or a custom override. */
|
|
1097
|
-
accountLimit:
|
|
1098
|
-
environments:
|
|
1102
|
+
accountLimit: GetProjectCustomEnvironmentsResponseAccountLimit;
|
|
1103
|
+
environments: GetProjectCustomEnvironmentsResponseEnvironmentsList;
|
|
1099
1104
|
}
|
|
1100
|
-
export const
|
|
1101
|
-
|
|
1105
|
+
export const GetProjectCustomEnvironmentsResponse = /*@__PURE__*/ S.suspend(
|
|
1106
|
+
() =>
|
|
1102
1107
|
S.Struct({
|
|
1103
|
-
accountLimit:
|
|
1104
|
-
environments:
|
|
1105
|
-
GetProjectsByIdOrNameCustomEnvironmentsResponseEnvironmentsList,
|
|
1108
|
+
accountLimit: GetProjectCustomEnvironmentsResponseAccountLimit,
|
|
1109
|
+
environments: GetProjectCustomEnvironmentsResponseEnvironmentsList,
|
|
1106
1110
|
}),
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1111
|
+
).annotate({
|
|
1112
|
+
identifier: "GetProjectCustomEnvironmentsResponse",
|
|
1113
|
+
}) as any as S.Schema<GetProjectCustomEnvironmentsResponse>;
|
|
1110
1114
|
|
|
1111
1115
|
export interface GetSharedEnvVarRequest {
|
|
1112
1116
|
/** The unique ID for the Shared Environment Variable to get the decrypted value. */
|
|
@@ -2261,19 +2265,19 @@ export const getCustomEnvironment: API.OperationMethod<
|
|
|
2261
2265
|
retry: Retry.Retry,
|
|
2262
2266
|
}));
|
|
2263
2267
|
|
|
2264
|
-
export type
|
|
2268
|
+
export type GetProjectCustomEnvironmentsError =
|
|
2265
2269
|
| BadRequest
|
|
2266
2270
|
| Forbidden
|
|
2267
2271
|
| VercelOpError;
|
|
2268
2272
|
/** Retrieve custom environments Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'. */
|
|
2269
|
-
export const
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
+
export const getProjectCustomEnvironments: API.OperationMethod<
|
|
2274
|
+
GetProjectCustomEnvironmentsRequest,
|
|
2275
|
+
GetProjectCustomEnvironmentsResponse,
|
|
2276
|
+
GetProjectCustomEnvironmentsError,
|
|
2273
2277
|
VercelOpContext
|
|
2274
2278
|
> = /*@__PURE__*/ API.make(() => ({
|
|
2275
|
-
input:
|
|
2276
|
-
output:
|
|
2279
|
+
input: GetProjectCustomEnvironmentsRequest,
|
|
2280
|
+
output: GetProjectCustomEnvironmentsResponse,
|
|
2277
2281
|
errors: [BadRequest, Forbidden],
|
|
2278
2282
|
protocol: VercelProtocol,
|
|
2279
2283
|
retry: Retry.Retry,
|