@vercel/sdk 1.6.8 → 1.6.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/bin/mcp-server.js +106 -103
- package/bin/mcp-server.js.map +13 -13
- package/esm/__tests__/environment.test.js +12 -12
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +13 -15
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/authuser.d.ts +0 -3
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -1
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +9 -9
- package/esm/models/createprojectop.js +3 -3
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/getbypassipop.d.ts +28 -28
- package/esm/models/getbypassipop.d.ts.map +1 -1
- package/esm/models/getbypassipop.js +28 -28
- package/esm/models/getbypassipop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +78 -9
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +57 -3
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +37 -80
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +25 -58
- package/esm/models/userevent.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/environment.test.ts +12 -12
- package/src/__tests__/projects.test.ts +13 -15
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/authuser.ts +0 -1
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +3 -3
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/getbypassipop.ts +56 -56
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectop.ts +149 -3
- package/src/models/userevent.ts +41 -109
- package/vercel-spec.json +66 -82
|
@@ -6,9 +6,6 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
6
6
|
* The type of entity.
|
|
7
7
|
*/
|
|
8
8
|
export declare const UserEventType: {
|
|
9
|
-
readonly Flag: "flag";
|
|
10
|
-
readonly FlagsSegment: "flags-segment";
|
|
11
|
-
readonly FlagsSettings: "flags-settings";
|
|
12
9
|
readonly Author: "author";
|
|
13
10
|
readonly BitbucketLogin: "bitbucket_login";
|
|
14
11
|
readonly Bold: "bold";
|
|
@@ -20,6 +17,9 @@ export declare const UserEventType: {
|
|
|
20
17
|
readonly HookName: "hook_name";
|
|
21
18
|
readonly Integration: "integration";
|
|
22
19
|
readonly EdgeConfig: "edge-config";
|
|
20
|
+
readonly Flag: "flag";
|
|
21
|
+
readonly FlagsSegment: "flags-segment";
|
|
22
|
+
readonly FlagsSettings: "flags-settings";
|
|
23
23
|
readonly Link: "link";
|
|
24
24
|
readonly ProjectName: "project_name";
|
|
25
25
|
readonly ScalingRules: "scaling_rules";
|
|
@@ -755,11 +755,11 @@ export type NinetyNine = {
|
|
|
755
755
|
storeType: StoreType;
|
|
756
756
|
};
|
|
757
757
|
export declare const UserEventPayloadType: {
|
|
758
|
-
readonly Integration: "integration";
|
|
759
|
-
readonly EdgeConfig: "edge-config";
|
|
760
758
|
readonly Redis: "redis";
|
|
761
759
|
readonly Postgres: "postgres";
|
|
760
|
+
readonly EdgeConfig: "edge-config";
|
|
762
761
|
readonly Blob: "blob";
|
|
762
|
+
readonly Integration: "integration";
|
|
763
763
|
};
|
|
764
764
|
export type UserEventPayloadType = ClosedEnum<typeof UserEventPayloadType>;
|
|
765
765
|
/**
|
|
@@ -1311,11 +1311,11 @@ export type UserEventPayload73Role = ClosedEnum<typeof UserEventPayload73Role>;
|
|
|
1311
1311
|
export declare const PayloadOrigin: {
|
|
1312
1312
|
readonly Teams: "teams";
|
|
1313
1313
|
readonly Saml: "saml";
|
|
1314
|
-
readonly Link: "link";
|
|
1315
1314
|
readonly Github: "github";
|
|
1316
1315
|
readonly Gitlab: "gitlab";
|
|
1317
1316
|
readonly Bitbucket: "bitbucket";
|
|
1318
1317
|
readonly Mail: "mail";
|
|
1318
|
+
readonly Link: "link";
|
|
1319
1319
|
readonly Import: "import";
|
|
1320
1320
|
readonly Dsync: "dsync";
|
|
1321
1321
|
readonly Feedback: "feedback";
|
|
@@ -1753,7 +1753,6 @@ export declare const PayloadReason: {
|
|
|
1753
1753
|
};
|
|
1754
1754
|
export type PayloadReason = ClosedEnum<typeof PayloadReason>;
|
|
1755
1755
|
export declare const PayloadBlockedDueToOverageType: {
|
|
1756
|
-
readonly AiCredits: "aiCredits";
|
|
1757
1756
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
1758
1757
|
readonly Artifacts: "artifacts";
|
|
1759
1758
|
readonly Bandwidth: "bandwidth";
|
|
@@ -1834,11 +1833,11 @@ export type PayloadTeamPermissions = ClosedEnum<typeof PayloadTeamPermissions>;
|
|
|
1834
1833
|
export declare const UserEventPayloadOrigin: {
|
|
1835
1834
|
readonly Teams: "teams";
|
|
1836
1835
|
readonly Saml: "saml";
|
|
1837
|
-
readonly Link: "link";
|
|
1838
1836
|
readonly Github: "github";
|
|
1839
1837
|
readonly Gitlab: "gitlab";
|
|
1840
1838
|
readonly Bitbucket: "bitbucket";
|
|
1841
1839
|
readonly Mail: "mail";
|
|
1840
|
+
readonly Link: "link";
|
|
1842
1841
|
readonly Import: "import";
|
|
1843
1842
|
readonly Dsync: "dsync";
|
|
1844
1843
|
readonly Feedback: "feedback";
|
|
@@ -1882,11 +1881,6 @@ export type UsageAlerts = {
|
|
|
1882
1881
|
warningAt?: number | null | undefined;
|
|
1883
1882
|
blockingAt?: number | null | undefined;
|
|
1884
1883
|
};
|
|
1885
|
-
export type AiCredits = {
|
|
1886
|
-
currentThreshold: number;
|
|
1887
|
-
warningAt?: number | null | undefined;
|
|
1888
|
-
blockedAt?: number | null | undefined;
|
|
1889
|
-
};
|
|
1890
1884
|
export type AnalyticsUsage = {
|
|
1891
1885
|
currentThreshold: number;
|
|
1892
1886
|
warningAt?: number | null | undefined;
|
|
@@ -2098,7 +2092,6 @@ export type WebAnalyticsEvent = {
|
|
|
2098
2092
|
blockedAt?: number | null | undefined;
|
|
2099
2093
|
};
|
|
2100
2094
|
export type OverageUsageAlerts = {
|
|
2101
|
-
aiCredits?: AiCredits | undefined;
|
|
2102
2095
|
analyticsUsage?: AnalyticsUsage | undefined;
|
|
2103
2096
|
artifacts?: Artifacts | undefined;
|
|
2104
2097
|
bandwidth?: Bandwidth | undefined;
|
|
@@ -2258,7 +2251,6 @@ export declare const UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason: {
|
|
|
2258
2251
|
};
|
|
2259
2252
|
export type UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason = ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason>;
|
|
2260
2253
|
export declare const OverageReason: {
|
|
2261
|
-
readonly AiCredits: "aiCredits";
|
|
2262
2254
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
2263
2255
|
readonly Artifacts: "artifacts";
|
|
2264
2256
|
readonly Bandwidth: "bandwidth";
|
|
@@ -2316,7 +2308,6 @@ export declare const UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason:
|
|
|
2316
2308
|
};
|
|
2317
2309
|
export type UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason = ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason>;
|
|
2318
2310
|
export declare const PayloadOverageReason: {
|
|
2319
|
-
readonly AiCredits: "aiCredits";
|
|
2320
2311
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
2321
2312
|
readonly Artifacts: "artifacts";
|
|
2322
2313
|
readonly Bandwidth: "bandwidth";
|
|
@@ -2374,7 +2365,6 @@ export declare const UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason: {
|
|
|
2374
2365
|
};
|
|
2375
2366
|
export type UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason = ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason>;
|
|
2376
2367
|
export declare const UserEventPayloadOverageReason: {
|
|
2377
|
-
readonly AiCredits: "aiCredits";
|
|
2378
2368
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
2379
2369
|
readonly Artifacts: "artifacts";
|
|
2380
2370
|
readonly Bandwidth: "bandwidth";
|
|
@@ -2680,11 +2670,11 @@ export type OldEnvVar = {
|
|
|
2680
2670
|
/**
|
|
2681
2671
|
* The date when the Shared Env Var was created.
|
|
2682
2672
|
*/
|
|
2683
|
-
created
|
|
2673
|
+
created?: Date | undefined;
|
|
2684
2674
|
/**
|
|
2685
2675
|
* The name of the Shared Env Var.
|
|
2686
2676
|
*/
|
|
2687
|
-
key
|
|
2677
|
+
key?: string | undefined;
|
|
2688
2678
|
/**
|
|
2689
2679
|
* The unique identifier of the owner (team) the Shared Env Var was created for.
|
|
2690
2680
|
*/
|
|
@@ -2692,7 +2682,7 @@ export type OldEnvVar = {
|
|
|
2692
2682
|
/**
|
|
2693
2683
|
* The unique identifier of the Shared Env Var.
|
|
2694
2684
|
*/
|
|
2695
|
-
id
|
|
2685
|
+
id?: string | undefined;
|
|
2696
2686
|
/**
|
|
2697
2687
|
* The unique identifier of the user who created the Shared Env Var.
|
|
2698
2688
|
*/
|
|
@@ -2740,7 +2730,7 @@ export type OldEnvVar = {
|
|
|
2740
2730
|
/**
|
|
2741
2731
|
* whether or not this env variable is decrypted
|
|
2742
2732
|
*/
|
|
2743
|
-
decrypted
|
|
2733
|
+
decrypted?: boolean | undefined;
|
|
2744
2734
|
/**
|
|
2745
2735
|
* A user provided comment that describes what this Shared Env Var is for.
|
|
2746
2736
|
*/
|
|
@@ -2779,11 +2769,11 @@ export type NewEnvVar = {
|
|
|
2779
2769
|
/**
|
|
2780
2770
|
* The date when the Shared Env Var was created.
|
|
2781
2771
|
*/
|
|
2782
|
-
created
|
|
2772
|
+
created?: Date | undefined;
|
|
2783
2773
|
/**
|
|
2784
2774
|
* The name of the Shared Env Var.
|
|
2785
2775
|
*/
|
|
2786
|
-
key
|
|
2776
|
+
key?: string | undefined;
|
|
2787
2777
|
/**
|
|
2788
2778
|
* The unique identifier of the owner (team) the Shared Env Var was created for.
|
|
2789
2779
|
*/
|
|
@@ -2791,7 +2781,7 @@ export type NewEnvVar = {
|
|
|
2791
2781
|
/**
|
|
2792
2782
|
* The unique identifier of the Shared Env Var.
|
|
2793
2783
|
*/
|
|
2794
|
-
id
|
|
2784
|
+
id?: string | undefined;
|
|
2795
2785
|
/**
|
|
2796
2786
|
* The unique identifier of the user who created the Shared Env Var.
|
|
2797
2787
|
*/
|
|
@@ -2839,7 +2829,7 @@ export type NewEnvVar = {
|
|
|
2839
2829
|
/**
|
|
2840
2830
|
* whether or not this env variable is decrypted
|
|
2841
2831
|
*/
|
|
2842
|
-
decrypted
|
|
2832
|
+
decrypted?: boolean | undefined;
|
|
2843
2833
|
/**
|
|
2844
2834
|
* A user provided comment that describes what this Shared Env Var is for.
|
|
2845
2835
|
*/
|
|
@@ -3634,9 +3624,6 @@ export declare const UserEventType$outboundSchema: z.ZodNativeEnum<typeof UserEv
|
|
|
3634
3624
|
export declare namespace UserEventType$ {
|
|
3635
3625
|
/** @deprecated use `UserEventType$inboundSchema` instead. */
|
|
3636
3626
|
const inboundSchema: z.ZodNativeEnum<{
|
|
3637
|
-
readonly Flag: "flag";
|
|
3638
|
-
readonly FlagsSegment: "flags-segment";
|
|
3639
|
-
readonly FlagsSettings: "flags-settings";
|
|
3640
3627
|
readonly Author: "author";
|
|
3641
3628
|
readonly BitbucketLogin: "bitbucket_login";
|
|
3642
3629
|
readonly Bold: "bold";
|
|
@@ -3648,6 +3635,9 @@ export declare namespace UserEventType$ {
|
|
|
3648
3635
|
readonly HookName: "hook_name";
|
|
3649
3636
|
readonly Integration: "integration";
|
|
3650
3637
|
readonly EdgeConfig: "edge-config";
|
|
3638
|
+
readonly Flag: "flag";
|
|
3639
|
+
readonly FlagsSegment: "flags-segment";
|
|
3640
|
+
readonly FlagsSettings: "flags-settings";
|
|
3651
3641
|
readonly Link: "link";
|
|
3652
3642
|
readonly ProjectName: "project_name";
|
|
3653
3643
|
readonly ScalingRules: "scaling_rules";
|
|
@@ -3658,9 +3648,6 @@ export declare namespace UserEventType$ {
|
|
|
3658
3648
|
}>;
|
|
3659
3649
|
/** @deprecated use `UserEventType$outboundSchema` instead. */
|
|
3660
3650
|
const outboundSchema: z.ZodNativeEnum<{
|
|
3661
|
-
readonly Flag: "flag";
|
|
3662
|
-
readonly FlagsSegment: "flags-segment";
|
|
3663
|
-
readonly FlagsSettings: "flags-settings";
|
|
3664
3651
|
readonly Author: "author";
|
|
3665
3652
|
readonly BitbucketLogin: "bitbucket_login";
|
|
3666
3653
|
readonly Bold: "bold";
|
|
@@ -3672,6 +3659,9 @@ export declare namespace UserEventType$ {
|
|
|
3672
3659
|
readonly HookName: "hook_name";
|
|
3673
3660
|
readonly Integration: "integration";
|
|
3674
3661
|
readonly EdgeConfig: "edge-config";
|
|
3662
|
+
readonly Flag: "flag";
|
|
3663
|
+
readonly FlagsSegment: "flags-segment";
|
|
3664
|
+
readonly FlagsSettings: "flags-settings";
|
|
3675
3665
|
readonly Link: "link";
|
|
3676
3666
|
readonly ProjectName: "project_name";
|
|
3677
3667
|
readonly ScalingRules: "scaling_rules";
|
|
@@ -6116,19 +6106,19 @@ export declare const UserEventPayloadType$outboundSchema: z.ZodNativeEnum<typeof
|
|
|
6116
6106
|
export declare namespace UserEventPayloadType$ {
|
|
6117
6107
|
/** @deprecated use `UserEventPayloadType$inboundSchema` instead. */
|
|
6118
6108
|
const inboundSchema: z.ZodNativeEnum<{
|
|
6119
|
-
readonly Integration: "integration";
|
|
6120
|
-
readonly EdgeConfig: "edge-config";
|
|
6121
6109
|
readonly Redis: "redis";
|
|
6122
6110
|
readonly Postgres: "postgres";
|
|
6111
|
+
readonly EdgeConfig: "edge-config";
|
|
6123
6112
|
readonly Blob: "blob";
|
|
6113
|
+
readonly Integration: "integration";
|
|
6124
6114
|
}>;
|
|
6125
6115
|
/** @deprecated use `UserEventPayloadType$outboundSchema` instead. */
|
|
6126
6116
|
const outboundSchema: z.ZodNativeEnum<{
|
|
6127
|
-
readonly Integration: "integration";
|
|
6128
|
-
readonly EdgeConfig: "edge-config";
|
|
6129
6117
|
readonly Redis: "redis";
|
|
6130
6118
|
readonly Postgres: "postgres";
|
|
6119
|
+
readonly EdgeConfig: "edge-config";
|
|
6131
6120
|
readonly Blob: "blob";
|
|
6121
|
+
readonly Integration: "integration";
|
|
6132
6122
|
}>;
|
|
6133
6123
|
}
|
|
6134
6124
|
/** @internal */
|
|
@@ -7851,11 +7841,11 @@ export declare namespace PayloadOrigin$ {
|
|
|
7851
7841
|
const inboundSchema: z.ZodNativeEnum<{
|
|
7852
7842
|
readonly Teams: "teams";
|
|
7853
7843
|
readonly Saml: "saml";
|
|
7854
|
-
readonly Link: "link";
|
|
7855
7844
|
readonly Github: "github";
|
|
7856
7845
|
readonly Gitlab: "gitlab";
|
|
7857
7846
|
readonly Bitbucket: "bitbucket";
|
|
7858
7847
|
readonly Mail: "mail";
|
|
7848
|
+
readonly Link: "link";
|
|
7859
7849
|
readonly Import: "import";
|
|
7860
7850
|
readonly Dsync: "dsync";
|
|
7861
7851
|
readonly Feedback: "feedback";
|
|
@@ -7865,11 +7855,11 @@ export declare namespace PayloadOrigin$ {
|
|
|
7865
7855
|
const outboundSchema: z.ZodNativeEnum<{
|
|
7866
7856
|
readonly Teams: "teams";
|
|
7867
7857
|
readonly Saml: "saml";
|
|
7868
|
-
readonly Link: "link";
|
|
7869
7858
|
readonly Github: "github";
|
|
7870
7859
|
readonly Gitlab: "gitlab";
|
|
7871
7860
|
readonly Bitbucket: "bitbucket";
|
|
7872
7861
|
readonly Mail: "mail";
|
|
7862
|
+
readonly Link: "link";
|
|
7873
7863
|
readonly Import: "import";
|
|
7874
7864
|
readonly Dsync: "dsync";
|
|
7875
7865
|
readonly Feedback: "feedback";
|
|
@@ -9481,7 +9471,6 @@ export declare const PayloadBlockedDueToOverageType$outboundSchema: z.ZodNativeE
|
|
|
9481
9471
|
export declare namespace PayloadBlockedDueToOverageType$ {
|
|
9482
9472
|
/** @deprecated use `PayloadBlockedDueToOverageType$inboundSchema` instead. */
|
|
9483
9473
|
const inboundSchema: z.ZodNativeEnum<{
|
|
9484
|
-
readonly AiCredits: "aiCredits";
|
|
9485
9474
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
9486
9475
|
readonly Artifacts: "artifacts";
|
|
9487
9476
|
readonly Bandwidth: "bandwidth";
|
|
@@ -9527,7 +9516,6 @@ export declare namespace PayloadBlockedDueToOverageType$ {
|
|
|
9527
9516
|
}>;
|
|
9528
9517
|
/** @deprecated use `PayloadBlockedDueToOverageType$outboundSchema` instead. */
|
|
9529
9518
|
const outboundSchema: z.ZodNativeEnum<{
|
|
9530
|
-
readonly AiCredits: "aiCredits";
|
|
9531
9519
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
9532
9520
|
readonly Artifacts: "artifacts";
|
|
9533
9521
|
readonly Bandwidth: "bandwidth";
|
|
@@ -9695,11 +9683,11 @@ export declare namespace UserEventPayloadOrigin$ {
|
|
|
9695
9683
|
const inboundSchema: z.ZodNativeEnum<{
|
|
9696
9684
|
readonly Teams: "teams";
|
|
9697
9685
|
readonly Saml: "saml";
|
|
9698
|
-
readonly Link: "link";
|
|
9699
9686
|
readonly Github: "github";
|
|
9700
9687
|
readonly Gitlab: "gitlab";
|
|
9701
9688
|
readonly Bitbucket: "bitbucket";
|
|
9702
9689
|
readonly Mail: "mail";
|
|
9690
|
+
readonly Link: "link";
|
|
9703
9691
|
readonly Import: "import";
|
|
9704
9692
|
readonly Dsync: "dsync";
|
|
9705
9693
|
readonly Feedback: "feedback";
|
|
@@ -9709,11 +9697,11 @@ export declare namespace UserEventPayloadOrigin$ {
|
|
|
9709
9697
|
const outboundSchema: z.ZodNativeEnum<{
|
|
9710
9698
|
readonly Teams: "teams";
|
|
9711
9699
|
readonly Saml: "saml";
|
|
9712
|
-
readonly Link: "link";
|
|
9713
9700
|
readonly Github: "github";
|
|
9714
9701
|
readonly Gitlab: "gitlab";
|
|
9715
9702
|
readonly Bitbucket: "bitbucket";
|
|
9716
9703
|
readonly Mail: "mail";
|
|
9704
|
+
readonly Link: "link";
|
|
9717
9705
|
readonly Import: "import";
|
|
9718
9706
|
readonly Dsync: "dsync";
|
|
9719
9707
|
readonly Feedback: "feedback";
|
|
@@ -9845,30 +9833,6 @@ export declare namespace UsageAlerts$ {
|
|
|
9845
9833
|
export declare function usageAlertsToJSON(usageAlerts: UsageAlerts): string;
|
|
9846
9834
|
export declare function usageAlertsFromJSON(jsonString: string): SafeParseResult<UsageAlerts, SDKValidationError>;
|
|
9847
9835
|
/** @internal */
|
|
9848
|
-
export declare const AiCredits$inboundSchema: z.ZodType<AiCredits, z.ZodTypeDef, unknown>;
|
|
9849
|
-
/** @internal */
|
|
9850
|
-
export type AiCredits$Outbound = {
|
|
9851
|
-
currentThreshold: number;
|
|
9852
|
-
warningAt?: number | null | undefined;
|
|
9853
|
-
blockedAt?: number | null | undefined;
|
|
9854
|
-
};
|
|
9855
|
-
/** @internal */
|
|
9856
|
-
export declare const AiCredits$outboundSchema: z.ZodType<AiCredits$Outbound, z.ZodTypeDef, AiCredits>;
|
|
9857
|
-
/**
|
|
9858
|
-
* @internal
|
|
9859
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9860
|
-
*/
|
|
9861
|
-
export declare namespace AiCredits$ {
|
|
9862
|
-
/** @deprecated use `AiCredits$inboundSchema` instead. */
|
|
9863
|
-
const inboundSchema: z.ZodType<AiCredits, z.ZodTypeDef, unknown>;
|
|
9864
|
-
/** @deprecated use `AiCredits$outboundSchema` instead. */
|
|
9865
|
-
const outboundSchema: z.ZodType<AiCredits$Outbound, z.ZodTypeDef, AiCredits>;
|
|
9866
|
-
/** @deprecated use `AiCredits$Outbound` instead. */
|
|
9867
|
-
type Outbound = AiCredits$Outbound;
|
|
9868
|
-
}
|
|
9869
|
-
export declare function aiCreditsToJSON(aiCredits: AiCredits): string;
|
|
9870
|
-
export declare function aiCreditsFromJSON(jsonString: string): SafeParseResult<AiCredits, SDKValidationError>;
|
|
9871
|
-
/** @internal */
|
|
9872
9836
|
export declare const AnalyticsUsage$inboundSchema: z.ZodType<AnalyticsUsage, z.ZodTypeDef, unknown>;
|
|
9873
9837
|
/** @internal */
|
|
9874
9838
|
export type AnalyticsUsage$Outbound = {
|
|
@@ -10880,7 +10844,6 @@ export declare function webAnalyticsEventFromJSON(jsonString: string): SafeParse
|
|
|
10880
10844
|
export declare const OverageUsageAlerts$inboundSchema: z.ZodType<OverageUsageAlerts, z.ZodTypeDef, unknown>;
|
|
10881
10845
|
/** @internal */
|
|
10882
10846
|
export type OverageUsageAlerts$Outbound = {
|
|
10883
|
-
aiCredits?: AiCredits$Outbound | undefined;
|
|
10884
10847
|
analyticsUsage?: AnalyticsUsage$Outbound | undefined;
|
|
10885
10848
|
artifacts?: Artifacts$Outbound | undefined;
|
|
10886
10849
|
bandwidth?: Bandwidth$Outbound | undefined;
|
|
@@ -11335,7 +11298,6 @@ export declare const OverageReason$outboundSchema: z.ZodNativeEnum<typeof Overag
|
|
|
11335
11298
|
export declare namespace OverageReason$ {
|
|
11336
11299
|
/** @deprecated use `OverageReason$inboundSchema` instead. */
|
|
11337
11300
|
const inboundSchema: z.ZodNativeEnum<{
|
|
11338
|
-
readonly AiCredits: "aiCredits";
|
|
11339
11301
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
11340
11302
|
readonly Artifacts: "artifacts";
|
|
11341
11303
|
readonly Bandwidth: "bandwidth";
|
|
@@ -11381,7 +11343,6 @@ export declare namespace OverageReason$ {
|
|
|
11381
11343
|
}>;
|
|
11382
11344
|
/** @deprecated use `OverageReason$outboundSchema` instead. */
|
|
11383
11345
|
const outboundSchema: z.ZodNativeEnum<{
|
|
11384
|
-
readonly AiCredits: "aiCredits";
|
|
11385
11346
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
11386
11347
|
readonly Artifacts: "artifacts";
|
|
11387
11348
|
readonly Bandwidth: "bandwidth";
|
|
@@ -11483,7 +11444,6 @@ export declare const PayloadOverageReason$outboundSchema: z.ZodNativeEnum<typeof
|
|
|
11483
11444
|
export declare namespace PayloadOverageReason$ {
|
|
11484
11445
|
/** @deprecated use `PayloadOverageReason$inboundSchema` instead. */
|
|
11485
11446
|
const inboundSchema: z.ZodNativeEnum<{
|
|
11486
|
-
readonly AiCredits: "aiCredits";
|
|
11487
11447
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
11488
11448
|
readonly Artifacts: "artifacts";
|
|
11489
11449
|
readonly Bandwidth: "bandwidth";
|
|
@@ -11529,7 +11489,6 @@ export declare namespace PayloadOverageReason$ {
|
|
|
11529
11489
|
}>;
|
|
11530
11490
|
/** @deprecated use `PayloadOverageReason$outboundSchema` instead. */
|
|
11531
11491
|
const outboundSchema: z.ZodNativeEnum<{
|
|
11532
|
-
readonly AiCredits: "aiCredits";
|
|
11533
11492
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
11534
11493
|
readonly Artifacts: "artifacts";
|
|
11535
11494
|
readonly Bandwidth: "bandwidth";
|
|
@@ -11631,7 +11590,6 @@ export declare const UserEventPayloadOverageReason$outboundSchema: z.ZodNativeEn
|
|
|
11631
11590
|
export declare namespace UserEventPayloadOverageReason$ {
|
|
11632
11591
|
/** @deprecated use `UserEventPayloadOverageReason$inboundSchema` instead. */
|
|
11633
11592
|
const inboundSchema: z.ZodNativeEnum<{
|
|
11634
|
-
readonly AiCredits: "aiCredits";
|
|
11635
11593
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
11636
11594
|
readonly Artifacts: "artifacts";
|
|
11637
11595
|
readonly Bandwidth: "bandwidth";
|
|
@@ -11677,7 +11635,6 @@ export declare namespace UserEventPayloadOverageReason$ {
|
|
|
11677
11635
|
}>;
|
|
11678
11636
|
/** @deprecated use `UserEventPayloadOverageReason$outboundSchema` instead. */
|
|
11679
11637
|
const outboundSchema: z.ZodNativeEnum<{
|
|
11680
|
-
readonly AiCredits: "aiCredits";
|
|
11681
11638
|
readonly AnalyticsUsage: "analyticsUsage";
|
|
11682
11639
|
readonly Artifacts: "artifacts";
|
|
11683
11640
|
readonly Bandwidth: "bandwidth";
|
|
@@ -12140,10 +12097,10 @@ export declare namespace UserEventPayloadTarget$ {
|
|
|
12140
12097
|
export declare const OldEnvVar$inboundSchema: z.ZodType<OldEnvVar, z.ZodTypeDef, unknown>;
|
|
12141
12098
|
/** @internal */
|
|
12142
12099
|
export type OldEnvVar$Outbound = {
|
|
12143
|
-
created
|
|
12144
|
-
key
|
|
12100
|
+
created?: string | undefined;
|
|
12101
|
+
key?: string | undefined;
|
|
12145
12102
|
ownerId?: string | null | undefined;
|
|
12146
|
-
id
|
|
12103
|
+
id?: string | undefined;
|
|
12147
12104
|
createdBy?: string | null | undefined;
|
|
12148
12105
|
deletedBy?: string | null | undefined;
|
|
12149
12106
|
updatedBy?: string | null | undefined;
|
|
@@ -12155,7 +12112,7 @@ export type OldEnvVar$Outbound = {
|
|
|
12155
12112
|
type?: string | undefined;
|
|
12156
12113
|
target?: Array<string> | undefined;
|
|
12157
12114
|
applyToAllCustomEnvironments?: boolean | undefined;
|
|
12158
|
-
decrypted
|
|
12115
|
+
decrypted?: boolean | undefined;
|
|
12159
12116
|
comment?: string | undefined;
|
|
12160
12117
|
lastEditedByDisplayName?: string | undefined;
|
|
12161
12118
|
};
|
|
@@ -12225,10 +12182,10 @@ export declare namespace UserEventPayload58Target$ {
|
|
|
12225
12182
|
export declare const NewEnvVar$inboundSchema: z.ZodType<NewEnvVar, z.ZodTypeDef, unknown>;
|
|
12226
12183
|
/** @internal */
|
|
12227
12184
|
export type NewEnvVar$Outbound = {
|
|
12228
|
-
created
|
|
12229
|
-
key
|
|
12185
|
+
created?: string | undefined;
|
|
12186
|
+
key?: string | undefined;
|
|
12230
12187
|
ownerId?: string | null | undefined;
|
|
12231
|
-
id
|
|
12188
|
+
id?: string | undefined;
|
|
12232
12189
|
createdBy?: string | null | undefined;
|
|
12233
12190
|
deletedBy?: string | null | undefined;
|
|
12234
12191
|
updatedBy?: string | null | undefined;
|
|
@@ -12240,7 +12197,7 @@ export type NewEnvVar$Outbound = {
|
|
|
12240
12197
|
type?: string | undefined;
|
|
12241
12198
|
target?: Array<string> | undefined;
|
|
12242
12199
|
applyToAllCustomEnvironments?: boolean | undefined;
|
|
12243
|
-
decrypted
|
|
12200
|
+
decrypted?: boolean | undefined;
|
|
12244
12201
|
comment?: string | undefined;
|
|
12245
12202
|
lastEditedByDisplayName?: string | undefined;
|
|
12246
12203
|
};
|