@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
|
@@ -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";
|
|
@@ -122,7 +122,7 @@ export type CreateEdgeConfigResponsePurpose =
|
|
|
122
122
|
export const CreateEdgeConfigResponsePurpose =
|
|
123
123
|
/*@__PURE__*/ S.Unknown as any as S.Schema<CreateEdgeConfigResponsePurpose>;
|
|
124
124
|
|
|
125
|
-
/** Keeps track of the current state of the
|
|
125
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
126
126
|
export interface CreateEdgeConfigResponseTransfer {
|
|
127
127
|
fromAccountId: string;
|
|
128
128
|
startedAt: number;
|
|
@@ -141,19 +141,19 @@ export const CreateEdgeConfigResponseTransfer = /*@__PURE__*/ S.suspend(() =>
|
|
|
141
141
|
export interface CreateEdgeConfigResponse {
|
|
142
142
|
id: string;
|
|
143
143
|
createdAt: number;
|
|
144
|
-
/** The ID of the user who created the
|
|
144
|
+
/** The ID of the user who created the Global Config, optional because it is not always set. */
|
|
145
145
|
createdBy?: string;
|
|
146
146
|
ownerId: string;
|
|
147
|
-
/** Name for the
|
|
147
|
+
/** Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */
|
|
148
148
|
slug: string;
|
|
149
149
|
updatedAt: number;
|
|
150
150
|
digest: string;
|
|
151
151
|
purpose?: CreateEdgeConfigResponsePurpose;
|
|
152
152
|
deletedAt?: number | null;
|
|
153
|
-
/** Keeps track of the current state of the
|
|
153
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
154
154
|
transfer?: CreateEdgeConfigResponseTransfer;
|
|
155
155
|
schema?: unknown;
|
|
156
|
-
/** Timestamp of when the
|
|
156
|
+
/** Timestamp of when the Global Config was synced to DynamoDB initially. It is only set when syncing the entire Global Config, not when updating. */
|
|
157
157
|
syncedToDynamoAt?: number;
|
|
158
158
|
sizeInBytes: number;
|
|
159
159
|
itemCount: number;
|
|
@@ -382,26 +382,26 @@ export type GetEdgeConfigResponsePurpose =
|
|
|
382
382
|
export const GetEdgeConfigResponsePurpose =
|
|
383
383
|
/*@__PURE__*/ S.Unknown as any as S.Schema<GetEdgeConfigResponsePurpose>;
|
|
384
384
|
|
|
385
|
-
/** Keeps track of the current state of the
|
|
385
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
386
386
|
export type GetEdgeConfigResponseTransfer = CreateEdgeConfigResponseTransfer;
|
|
387
387
|
export const GetEdgeConfigResponseTransfer = CreateEdgeConfigResponseTransfer;
|
|
388
388
|
|
|
389
389
|
export interface GetEdgeConfigResponse {
|
|
390
390
|
id: string;
|
|
391
391
|
createdAt: number;
|
|
392
|
-
/** The ID of the user who created the
|
|
392
|
+
/** The ID of the user who created the Global Config, optional because it is not always set. */
|
|
393
393
|
createdBy?: string;
|
|
394
394
|
ownerId: string;
|
|
395
|
-
/** Name for the
|
|
395
|
+
/** Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */
|
|
396
396
|
slug: string;
|
|
397
397
|
updatedAt: number;
|
|
398
398
|
digest: string;
|
|
399
399
|
purpose?: GetEdgeConfigResponsePurpose;
|
|
400
400
|
deletedAt?: number | null;
|
|
401
|
-
/** Keeps track of the current state of the
|
|
401
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
402
402
|
transfer?: CreateEdgeConfigResponseTransfer;
|
|
403
403
|
schema?: unknown;
|
|
404
|
-
/** Timestamp of when the
|
|
404
|
+
/** Timestamp of when the Global Config was synced to DynamoDB initially. It is only set when syncing the entire Global Config, not when updating. */
|
|
405
405
|
syncedToDynamoAt?: number;
|
|
406
406
|
sizeInBytes: number;
|
|
407
407
|
itemCount: number;
|
|
@@ -452,32 +452,32 @@ export const GetEdgeConfigBackupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
452
452
|
identifier: "GetEdgeConfigBackupRequest",
|
|
453
453
|
}) as any as S.Schema<GetEdgeConfigBackupRequest>;
|
|
454
454
|
|
|
455
|
-
export type
|
|
456
|
-
[key: string]:
|
|
455
|
+
export type GlobalConfigItemValueCase2Map = {
|
|
456
|
+
[key: string]: GlobalConfigItemValue | undefined;
|
|
457
457
|
};
|
|
458
|
-
export const
|
|
458
|
+
export const GlobalConfigItemValueCase2Map = /*@__PURE__*/ S.Record(
|
|
459
459
|
S.String,
|
|
460
|
-
S.suspend(() =>
|
|
461
|
-
) as any as S.Schema<
|
|
460
|
+
S.suspend(() => GlobalConfigItemValue),
|
|
461
|
+
) as any as S.Schema<GlobalConfigItemValueCase2Map>;
|
|
462
462
|
|
|
463
|
-
export type
|
|
464
|
-
export const
|
|
465
|
-
S.suspend(() =>
|
|
466
|
-
) as any as S.Schema<
|
|
463
|
+
export type GlobalConfigItemValueCase3List = Array<GlobalConfigItemValue>;
|
|
464
|
+
export const GlobalConfigItemValueCase3List = /*@__PURE__*/ S.Array(
|
|
465
|
+
S.suspend(() => GlobalConfigItemValue),
|
|
466
|
+
) as any as S.Schema<GlobalConfigItemValueCase3List>;
|
|
467
467
|
|
|
468
|
-
export type
|
|
468
|
+
export type GlobalConfigItemValue =
|
|
469
469
|
| string
|
|
470
470
|
| number
|
|
471
|
-
|
|
|
472
|
-
|
|
|
471
|
+
| GlobalConfigItemValueCase2Map
|
|
472
|
+
| GlobalConfigItemValueCase3List
|
|
473
473
|
| boolean;
|
|
474
|
-
export const
|
|
475
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
474
|
+
export const GlobalConfigItemValue =
|
|
475
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<GlobalConfigItemValue>;
|
|
476
476
|
|
|
477
477
|
export interface GetEdgeConfigBackupResponseBodyCase0BackupItemsValue {
|
|
478
478
|
createdAt: number;
|
|
479
479
|
updatedAt: number;
|
|
480
|
-
value:
|
|
480
|
+
value: GlobalConfigItemValue | null;
|
|
481
481
|
description?: string;
|
|
482
482
|
}
|
|
483
483
|
export const GetEdgeConfigBackupResponseBodyCase0BackupItemsValue =
|
|
@@ -485,7 +485,7 @@ export const GetEdgeConfigBackupResponseBodyCase0BackupItemsValue =
|
|
|
485
485
|
S.Struct({
|
|
486
486
|
createdAt: S.Number,
|
|
487
487
|
updatedAt: S.Number,
|
|
488
|
-
value: S.NullOr(
|
|
488
|
+
value: S.NullOr(GlobalConfigItemValue),
|
|
489
489
|
description: S.optional(S.String),
|
|
490
490
|
}),
|
|
491
491
|
).annotate({
|
|
@@ -504,7 +504,7 @@ export const GetEdgeConfigBackupResponseBodyCase0BackupItemsMap =
|
|
|
504
504
|
) as any as S.Schema<GetEdgeConfigBackupResponseBodyCase0BackupItemsMap>;
|
|
505
505
|
|
|
506
506
|
export interface GetEdgeConfigBackupResponseBodyCase0Backup {
|
|
507
|
-
/** Name for the
|
|
507
|
+
/** Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */
|
|
508
508
|
slug: string;
|
|
509
509
|
updatedAt: number;
|
|
510
510
|
items: GetEdgeConfigBackupResponseBodyCase0BackupItemsMap;
|
|
@@ -560,7 +560,7 @@ export const GetEdgeConfigBackupResponseBodyCase0User = /*@__PURE__*/ S.suspend(
|
|
|
560
560
|
identifier: "GetEdgeConfigBackupResponseBodyCase0User",
|
|
561
561
|
}) as any as S.Schema<GetEdgeConfigBackupResponseBodyCase0User>;
|
|
562
562
|
|
|
563
|
-
/** The object the API responds with when requesting
|
|
563
|
+
/** The object the API responds with when requesting a Global Config backup */
|
|
564
564
|
export interface GetEdgeConfigBackupResponseBodyCase0 {
|
|
565
565
|
id: string;
|
|
566
566
|
lastModified: number;
|
|
@@ -603,7 +603,7 @@ export const GetEdgeConfigBackupResponseBodyCase1BackupItemsMap =
|
|
|
603
603
|
) as any as S.Schema<GetEdgeConfigBackupResponseBodyCase1BackupItemsMap>;
|
|
604
604
|
|
|
605
605
|
export interface GetEdgeConfigBackupResponseBodyCase1Backup {
|
|
606
|
-
/** Name for the
|
|
606
|
+
/** Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */
|
|
607
607
|
slug: string;
|
|
608
608
|
updatedAt: number;
|
|
609
609
|
items: GetEdgeConfigBackupResponseBodyCase1BackupItemsMap;
|
|
@@ -768,24 +768,26 @@ export const GetEdgeConfigItemRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
768
768
|
}) as any as S.Schema<GetEdgeConfigItemRequest>;
|
|
769
769
|
|
|
770
770
|
/** The Global Config. */
|
|
771
|
-
export interface
|
|
771
|
+
export interface GlobalConfigItem {
|
|
772
772
|
key: string;
|
|
773
|
-
value:
|
|
773
|
+
value: GlobalConfigItemValue | null;
|
|
774
774
|
description?: string;
|
|
775
775
|
edgeConfigId: string;
|
|
776
776
|
createdAt: number;
|
|
777
777
|
updatedAt: number;
|
|
778
778
|
}
|
|
779
|
-
export const
|
|
779
|
+
export const GlobalConfigItem = /*@__PURE__*/ S.suspend(() =>
|
|
780
780
|
S.Struct({
|
|
781
781
|
key: S.String,
|
|
782
|
-
value: S.NullOr(
|
|
782
|
+
value: S.NullOr(GlobalConfigItemValue),
|
|
783
783
|
description: S.optional(S.String),
|
|
784
784
|
edgeConfigId: S.String,
|
|
785
785
|
createdAt: S.Number,
|
|
786
786
|
updatedAt: S.Number,
|
|
787
787
|
}),
|
|
788
|
-
).annotate({
|
|
788
|
+
).annotate({
|
|
789
|
+
identifier: "GlobalConfigItem",
|
|
790
|
+
}) as any as S.Schema<GlobalConfigItem>;
|
|
789
791
|
|
|
790
792
|
export interface GetEdgeConfigItemsRequest {
|
|
791
793
|
edgeConfigId: string;
|
|
@@ -810,9 +812,9 @@ export const GetEdgeConfigItemsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
810
812
|
identifier: "GetEdgeConfigItemsRequest",
|
|
811
813
|
}) as any as S.Schema<GetEdgeConfigItemsRequest>;
|
|
812
814
|
|
|
813
|
-
export type GetEdgeConfigItemsResponseBodyList = Array<
|
|
815
|
+
export type GetEdgeConfigItemsResponseBodyList = Array<GlobalConfigItem>;
|
|
814
816
|
export const GetEdgeConfigItemsResponseBodyList = /*@__PURE__*/ S.Array(
|
|
815
|
-
|
|
817
|
+
GlobalConfigItem,
|
|
816
818
|
) as any as S.Schema<GetEdgeConfigItemsResponseBodyList>;
|
|
817
819
|
|
|
818
820
|
export type GetEdgeConfigItemsResponse = GetEdgeConfigItemsResponseBodyList;
|
|
@@ -875,26 +877,26 @@ export type GetEdgeConfigsResponsePurpose =
|
|
|
875
877
|
export const GetEdgeConfigsResponsePurpose =
|
|
876
878
|
/*@__PURE__*/ S.Unknown as any as S.Schema<GetEdgeConfigsResponsePurpose>;
|
|
877
879
|
|
|
878
|
-
/** Keeps track of the current state of the
|
|
880
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
879
881
|
export type GetEdgeConfigsResponseTransfer = CreateEdgeConfigResponseTransfer;
|
|
880
882
|
export const GetEdgeConfigsResponseTransfer = CreateEdgeConfigResponseTransfer;
|
|
881
883
|
|
|
882
884
|
export interface GetEdgeConfigsResponse {
|
|
883
885
|
id: string;
|
|
884
886
|
createdAt: number;
|
|
885
|
-
/** The ID of the user who created the
|
|
887
|
+
/** The ID of the user who created the Global Config, optional because it is not always set. */
|
|
886
888
|
createdBy?: string;
|
|
887
889
|
ownerId: string;
|
|
888
|
-
/** Name for the
|
|
890
|
+
/** Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */
|
|
889
891
|
slug: string;
|
|
890
892
|
updatedAt: number;
|
|
891
893
|
digest: string;
|
|
892
894
|
purpose?: GetEdgeConfigsResponsePurpose;
|
|
893
895
|
deletedAt?: number | null;
|
|
894
|
-
/** Keeps track of the current state of the
|
|
896
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
895
897
|
transfer?: CreateEdgeConfigResponseTransfer;
|
|
896
898
|
schema?: unknown;
|
|
897
|
-
/** Timestamp of when the
|
|
899
|
+
/** Timestamp of when the Global Config was synced to DynamoDB initially. It is only set when syncing the entire Global Config, not when updating. */
|
|
898
900
|
syncedToDynamoAt?: number;
|
|
899
901
|
sizeInBytes: number;
|
|
900
902
|
itemCount: number;
|
|
@@ -976,7 +978,7 @@ export const GetEdgeConfigTokenRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
976
978
|
}) as any as S.Schema<GetEdgeConfigTokenRequest>;
|
|
977
979
|
|
|
978
980
|
/** The Global Config. */
|
|
979
|
-
export interface
|
|
981
|
+
export interface GlobalConfigToken {
|
|
980
982
|
/** A partially-masked representation of the token, safe to display in UIs. The format is the first 3 characters of the token followed by a fixed 8-character `*` mask (e.g. `550e8400-e29b-41d4-a716-446655440000` → `550********`). The mask length is intentionally fixed (not proportional to the original token length) to avoid leaking the token length. Prefer this field for display/reference in UIs and logs. The full, plaintext token is only disclosed once at creation time via `POST /v1/edge-config/:edgeConfigId/token`; use `id` to reference a token in subsequent calls (e.g. when deleting). */
|
|
981
983
|
partialToken: string;
|
|
982
984
|
label: string;
|
|
@@ -987,7 +989,7 @@ export interface EdgeConfigToken {
|
|
|
987
989
|
/** Deprecated: the full, plaintext token. - Returned once by `POST /v1/edge-config/:edgeConfigId/token` (create). - Still returned by `GET /v1/edge-config/:edgeConfigId/token/:token` (detail) for backwards compatibility, but scheduled for removal. - **Not** returned by `GET /v1/edge-config/:edgeConfigId/tokens` (list); use `partialToken` for display and `id` to reference tokens. Do not rely on this field being present on read operations. Prefer `partialToken` for display and `id` for references. */
|
|
988
990
|
token?: string;
|
|
989
991
|
}
|
|
990
|
-
export const
|
|
992
|
+
export const GlobalConfigToken = /*@__PURE__*/ S.suspend(() =>
|
|
991
993
|
S.Struct({
|
|
992
994
|
partialToken: S.String,
|
|
993
995
|
label: S.String,
|
|
@@ -997,8 +999,8 @@ export const EdgeConfigToken = /*@__PURE__*/ S.suspend(() =>
|
|
|
997
999
|
token: S.optional(S.String),
|
|
998
1000
|
}),
|
|
999
1001
|
).annotate({
|
|
1000
|
-
identifier: "
|
|
1001
|
-
}) as any as S.Schema<
|
|
1002
|
+
identifier: "GlobalConfigToken",
|
|
1003
|
+
}) as any as S.Schema<GlobalConfigToken>;
|
|
1002
1004
|
|
|
1003
1005
|
export interface GetEdgeConfigTokensRequest {
|
|
1004
1006
|
edgeConfigId: string;
|
|
@@ -1268,7 +1270,7 @@ export type UpdateEdgeConfigResponsePurpose =
|
|
|
1268
1270
|
export const UpdateEdgeConfigResponsePurpose =
|
|
1269
1271
|
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateEdgeConfigResponsePurpose>;
|
|
1270
1272
|
|
|
1271
|
-
/** Keeps track of the current state of the
|
|
1273
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
1272
1274
|
export type UpdateEdgeConfigResponseTransfer = CreateEdgeConfigResponseTransfer;
|
|
1273
1275
|
export const UpdateEdgeConfigResponseTransfer =
|
|
1274
1276
|
CreateEdgeConfigResponseTransfer;
|
|
@@ -1276,19 +1278,19 @@ export const UpdateEdgeConfigResponseTransfer =
|
|
|
1276
1278
|
export interface UpdateEdgeConfigResponse {
|
|
1277
1279
|
id: string;
|
|
1278
1280
|
createdAt: number;
|
|
1279
|
-
/** The ID of the user who created the
|
|
1281
|
+
/** The ID of the user who created the Global Config, optional because it is not always set. */
|
|
1280
1282
|
createdBy?: string;
|
|
1281
1283
|
ownerId: string;
|
|
1282
|
-
/** Name for the
|
|
1284
|
+
/** Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores). */
|
|
1283
1285
|
slug: string;
|
|
1284
1286
|
updatedAt: number;
|
|
1285
1287
|
digest: string;
|
|
1286
1288
|
purpose?: UpdateEdgeConfigResponsePurpose;
|
|
1287
1289
|
deletedAt?: number | null;
|
|
1288
|
-
/** Keeps track of the current state of the
|
|
1290
|
+
/** Keeps track of the current state of the Global Config while it gets transferred. */
|
|
1289
1291
|
transfer?: CreateEdgeConfigResponseTransfer;
|
|
1290
1292
|
schema?: unknown;
|
|
1291
|
-
/** Timestamp of when the
|
|
1293
|
+
/** Timestamp of when the Global Config was synced to DynamoDB initially. It is only set when syncing the entire Global Config, not when updating. */
|
|
1292
1294
|
syncedToDynamoAt?: number;
|
|
1293
1295
|
sizeInBytes: number;
|
|
1294
1296
|
itemCount: number;
|
|
@@ -1481,12 +1483,12 @@ export type GetEdgeConfigItemError =
|
|
|
1481
1483
|
/** Get a Global Config item Returns a specific Global Config Item. */
|
|
1482
1484
|
export const getEdgeConfigItem: API.OperationMethod<
|
|
1483
1485
|
GetEdgeConfigItemRequest,
|
|
1484
|
-
|
|
1486
|
+
GlobalConfigItem,
|
|
1485
1487
|
GetEdgeConfigItemError,
|
|
1486
1488
|
VercelOpContext
|
|
1487
1489
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1488
1490
|
input: GetEdgeConfigItemRequest,
|
|
1489
|
-
output:
|
|
1491
|
+
output: GlobalConfigItem,
|
|
1490
1492
|
errors: [BadRequest, Forbidden, NotFound],
|
|
1491
1493
|
protocol: VercelProtocol,
|
|
1492
1494
|
retry: Retry.Retry,
|
|
@@ -1553,12 +1555,12 @@ export type GetEdgeConfigTokenError =
|
|
|
1553
1555
|
/** Get Global Config token meta data Return meta data about a Global Config token. */
|
|
1554
1556
|
export const getEdgeConfigToken: API.OperationMethod<
|
|
1555
1557
|
GetEdgeConfigTokenRequest,
|
|
1556
|
-
|
|
1558
|
+
GlobalConfigToken,
|
|
1557
1559
|
GetEdgeConfigTokenError,
|
|
1558
1560
|
VercelOpContext
|
|
1559
1561
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1560
1562
|
input: GetEdgeConfigTokenRequest,
|
|
1561
|
-
output:
|
|
1563
|
+
output: GlobalConfigToken,
|
|
1562
1564
|
errors: [BadRequest, Forbidden, NotFound],
|
|
1563
1565
|
protocol: VercelProtocol,
|
|
1564
1566
|
retry: Retry.Retry,
|
|
@@ -1572,12 +1574,12 @@ export type GetEdgeConfigTokensError =
|
|
|
1572
1574
|
/** Get all tokens of a Global Config Returns all tokens of a Global Config. */
|
|
1573
1575
|
export const getEdgeConfigTokens: API.OperationMethod<
|
|
1574
1576
|
GetEdgeConfigTokensRequest,
|
|
1575
|
-
|
|
1577
|
+
GlobalConfigToken,
|
|
1576
1578
|
GetEdgeConfigTokensError,
|
|
1577
1579
|
VercelOpContext
|
|
1578
1580
|
> = /*@__PURE__*/ API.make(() => ({
|
|
1579
1581
|
input: GetEdgeConfigTokensRequest,
|
|
1580
|
-
output:
|
|
1582
|
+
output: GlobalConfigToken,
|
|
1581
1583
|
errors: [BadRequest, Forbidden, NotFound],
|
|
1582
1584
|
protocol: VercelProtocol,
|
|
1583
1585
|
retry: Retry.Retry,
|
package/src/services/index.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export * as accessGroups from "./access_groups.ts";
|
|
3
3
|
export * as aiGateway from "./ai_gateway.ts";
|
|
4
4
|
export * as aliases from "./aliases.ts";
|
|
5
|
+
export * as apiAiGateway from "./api_ai_gateway.ts";
|
|
5
6
|
export * as artifacts from "./artifacts.ts";
|
|
6
7
|
export * as authentication from "./authentication.ts";
|
|
7
8
|
export * as billing from "./billing.ts";
|
|
@@ -19,10 +20,12 @@ export * as environment from "./environment.ts";
|
|
|
19
20
|
export * as featureFlags from "./feature_flags.ts";
|
|
20
21
|
export * as globalConfig from "./global_config.ts";
|
|
21
22
|
export * as integrations from "./integrations.ts";
|
|
23
|
+
export * as kms from "./kms.ts";
|
|
22
24
|
export * as logDrains from "./log_drains.ts";
|
|
23
25
|
export * as logs from "./logs.ts";
|
|
24
26
|
export * as marketplace from "./marketplace.ts";
|
|
25
27
|
export * as microfrontends from "./microfrontends.ts";
|
|
28
|
+
export * as misc from "./misc.ts";
|
|
26
29
|
export * as networking from "./networking.ts";
|
|
27
30
|
export * as observability from "./observability.ts";
|
|
28
31
|
export * as projectMembers from "./project_members.ts";
|