@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
package/src/models/userevent.ts
CHANGED
|
@@ -13,9 +13,6 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
13
13
|
* The type of entity.
|
|
14
14
|
*/
|
|
15
15
|
export const UserEventType = {
|
|
16
|
-
Flag: "flag",
|
|
17
|
-
FlagsSegment: "flags-segment",
|
|
18
|
-
FlagsSettings: "flags-settings",
|
|
19
16
|
Author: "author",
|
|
20
17
|
BitbucketLogin: "bitbucket_login",
|
|
21
18
|
Bold: "bold",
|
|
@@ -27,6 +24,9 @@ export const UserEventType = {
|
|
|
27
24
|
HookName: "hook_name",
|
|
28
25
|
Integration: "integration",
|
|
29
26
|
EdgeConfig: "edge-config",
|
|
27
|
+
Flag: "flag",
|
|
28
|
+
FlagsSegment: "flags-segment",
|
|
29
|
+
FlagsSettings: "flags-settings",
|
|
30
30
|
Link: "link",
|
|
31
31
|
ProjectName: "project_name",
|
|
32
32
|
ScalingRules: "scaling_rules",
|
|
@@ -875,11 +875,11 @@ export type NinetyNine = {
|
|
|
875
875
|
};
|
|
876
876
|
|
|
877
877
|
export const UserEventPayloadType = {
|
|
878
|
-
Integration: "integration",
|
|
879
|
-
EdgeConfig: "edge-config",
|
|
880
878
|
Redis: "redis",
|
|
881
879
|
Postgres: "postgres",
|
|
880
|
+
EdgeConfig: "edge-config",
|
|
882
881
|
Blob: "blob",
|
|
882
|
+
Integration: "integration",
|
|
883
883
|
} as const;
|
|
884
884
|
export type UserEventPayloadType = ClosedEnum<typeof UserEventPayloadType>;
|
|
885
885
|
|
|
@@ -1508,11 +1508,11 @@ export type UserEventPayload73Role = ClosedEnum<typeof UserEventPayload73Role>;
|
|
|
1508
1508
|
export const PayloadOrigin = {
|
|
1509
1509
|
Teams: "teams",
|
|
1510
1510
|
Saml: "saml",
|
|
1511
|
-
Link: "link",
|
|
1512
1511
|
Github: "github",
|
|
1513
1512
|
Gitlab: "gitlab",
|
|
1514
1513
|
Bitbucket: "bitbucket",
|
|
1515
1514
|
Mail: "mail",
|
|
1515
|
+
Link: "link",
|
|
1516
1516
|
Import: "import",
|
|
1517
1517
|
Dsync: "dsync",
|
|
1518
1518
|
Feedback: "feedback",
|
|
@@ -2023,7 +2023,6 @@ export const PayloadReason = {
|
|
|
2023
2023
|
export type PayloadReason = ClosedEnum<typeof PayloadReason>;
|
|
2024
2024
|
|
|
2025
2025
|
export const PayloadBlockedDueToOverageType = {
|
|
2026
|
-
AiCredits: "aiCredits",
|
|
2027
2026
|
AnalyticsUsage: "analyticsUsage",
|
|
2028
2027
|
Artifacts: "artifacts",
|
|
2029
2028
|
Bandwidth: "bandwidth",
|
|
@@ -2113,11 +2112,11 @@ export type PayloadTeamPermissions = ClosedEnum<typeof PayloadTeamPermissions>;
|
|
|
2113
2112
|
export const UserEventPayloadOrigin = {
|
|
2114
2113
|
Teams: "teams",
|
|
2115
2114
|
Saml: "saml",
|
|
2116
|
-
Link: "link",
|
|
2117
2115
|
Github: "github",
|
|
2118
2116
|
Gitlab: "gitlab",
|
|
2119
2117
|
Bitbucket: "bitbucket",
|
|
2120
2118
|
Mail: "mail",
|
|
2119
|
+
Link: "link",
|
|
2121
2120
|
Import: "import",
|
|
2122
2121
|
Dsync: "dsync",
|
|
2123
2122
|
Feedback: "feedback",
|
|
@@ -2167,12 +2166,6 @@ export type UsageAlerts = {
|
|
|
2167
2166
|
blockingAt?: number | null | undefined;
|
|
2168
2167
|
};
|
|
2169
2168
|
|
|
2170
|
-
export type AiCredits = {
|
|
2171
|
-
currentThreshold: number;
|
|
2172
|
-
warningAt?: number | null | undefined;
|
|
2173
|
-
blockedAt?: number | null | undefined;
|
|
2174
|
-
};
|
|
2175
|
-
|
|
2176
2169
|
export type AnalyticsUsage = {
|
|
2177
2170
|
currentThreshold: number;
|
|
2178
2171
|
warningAt?: number | null | undefined;
|
|
@@ -2426,7 +2419,6 @@ export type WebAnalyticsEvent = {
|
|
|
2426
2419
|
};
|
|
2427
2420
|
|
|
2428
2421
|
export type OverageUsageAlerts = {
|
|
2429
|
-
aiCredits?: AiCredits | undefined;
|
|
2430
2422
|
analyticsUsage?: AnalyticsUsage | undefined;
|
|
2431
2423
|
artifacts?: Artifacts | undefined;
|
|
2432
2424
|
bandwidth?: Bandwidth | undefined;
|
|
@@ -2622,7 +2614,6 @@ export type UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason = ClosedEnum<
|
|
|
2622
2614
|
>;
|
|
2623
2615
|
|
|
2624
2616
|
export const OverageReason = {
|
|
2625
|
-
AiCredits: "aiCredits",
|
|
2626
2617
|
AnalyticsUsage: "analyticsUsage",
|
|
2627
2618
|
Artifacts: "artifacts",
|
|
2628
2619
|
Bandwidth: "bandwidth",
|
|
@@ -2688,7 +2679,6 @@ export type UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason =
|
|
|
2688
2679
|
ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason>;
|
|
2689
2680
|
|
|
2690
2681
|
export const PayloadOverageReason = {
|
|
2691
|
-
AiCredits: "aiCredits",
|
|
2692
2682
|
AnalyticsUsage: "analyticsUsage",
|
|
2693
2683
|
Artifacts: "artifacts",
|
|
2694
2684
|
Bandwidth: "bandwidth",
|
|
@@ -2754,7 +2744,6 @@ export type UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason =
|
|
|
2754
2744
|
ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason>;
|
|
2755
2745
|
|
|
2756
2746
|
export const UserEventPayloadOverageReason = {
|
|
2757
|
-
AiCredits: "aiCredits",
|
|
2758
2747
|
AnalyticsUsage: "analyticsUsage",
|
|
2759
2748
|
Artifacts: "artifacts",
|
|
2760
2749
|
Bandwidth: "bandwidth",
|
|
@@ -3085,11 +3074,11 @@ export type OldEnvVar = {
|
|
|
3085
3074
|
/**
|
|
3086
3075
|
* The date when the Shared Env Var was created.
|
|
3087
3076
|
*/
|
|
3088
|
-
created
|
|
3077
|
+
created?: Date | undefined;
|
|
3089
3078
|
/**
|
|
3090
3079
|
* The name of the Shared Env Var.
|
|
3091
3080
|
*/
|
|
3092
|
-
key
|
|
3081
|
+
key?: string | undefined;
|
|
3093
3082
|
/**
|
|
3094
3083
|
* The unique identifier of the owner (team) the Shared Env Var was created for.
|
|
3095
3084
|
*/
|
|
@@ -3097,7 +3086,7 @@ export type OldEnvVar = {
|
|
|
3097
3086
|
/**
|
|
3098
3087
|
* The unique identifier of the Shared Env Var.
|
|
3099
3088
|
*/
|
|
3100
|
-
id
|
|
3089
|
+
id?: string | undefined;
|
|
3101
3090
|
/**
|
|
3102
3091
|
* The unique identifier of the user who created the Shared Env Var.
|
|
3103
3092
|
*/
|
|
@@ -3145,7 +3134,7 @@ export type OldEnvVar = {
|
|
|
3145
3134
|
/**
|
|
3146
3135
|
* whether or not this env variable is decrypted
|
|
3147
3136
|
*/
|
|
3148
|
-
decrypted
|
|
3137
|
+
decrypted?: boolean | undefined;
|
|
3149
3138
|
/**
|
|
3150
3139
|
* A user provided comment that describes what this Shared Env Var is for.
|
|
3151
3140
|
*/
|
|
@@ -3189,11 +3178,11 @@ export type NewEnvVar = {
|
|
|
3189
3178
|
/**
|
|
3190
3179
|
* The date when the Shared Env Var was created.
|
|
3191
3180
|
*/
|
|
3192
|
-
created
|
|
3181
|
+
created?: Date | undefined;
|
|
3193
3182
|
/**
|
|
3194
3183
|
* The name of the Shared Env Var.
|
|
3195
3184
|
*/
|
|
3196
|
-
key
|
|
3185
|
+
key?: string | undefined;
|
|
3197
3186
|
/**
|
|
3198
3187
|
* The unique identifier of the owner (team) the Shared Env Var was created for.
|
|
3199
3188
|
*/
|
|
@@ -3201,7 +3190,7 @@ export type NewEnvVar = {
|
|
|
3201
3190
|
/**
|
|
3202
3191
|
* The unique identifier of the Shared Env Var.
|
|
3203
3192
|
*/
|
|
3204
|
-
id
|
|
3193
|
+
id?: string | undefined;
|
|
3205
3194
|
/**
|
|
3206
3195
|
* The unique identifier of the user who created the Shared Env Var.
|
|
3207
3196
|
*/
|
|
@@ -3249,7 +3238,7 @@ export type NewEnvVar = {
|
|
|
3249
3238
|
/**
|
|
3250
3239
|
* whether or not this env variable is decrypted
|
|
3251
3240
|
*/
|
|
3252
|
-
decrypted
|
|
3241
|
+
decrypted?: boolean | undefined;
|
|
3253
3242
|
/**
|
|
3254
3243
|
* A user provided comment that describes what this Shared Env Var is for.
|
|
3255
3244
|
*/
|
|
@@ -17459,62 +17448,6 @@ export function usageAlertsFromJSON(
|
|
|
17459
17448
|
);
|
|
17460
17449
|
}
|
|
17461
17450
|
|
|
17462
|
-
/** @internal */
|
|
17463
|
-
export const AiCredits$inboundSchema: z.ZodType<
|
|
17464
|
-
AiCredits,
|
|
17465
|
-
z.ZodTypeDef,
|
|
17466
|
-
unknown
|
|
17467
|
-
> = z.object({
|
|
17468
|
-
currentThreshold: z.number(),
|
|
17469
|
-
warningAt: z.nullable(z.number()).optional(),
|
|
17470
|
-
blockedAt: z.nullable(z.number()).optional(),
|
|
17471
|
-
});
|
|
17472
|
-
|
|
17473
|
-
/** @internal */
|
|
17474
|
-
export type AiCredits$Outbound = {
|
|
17475
|
-
currentThreshold: number;
|
|
17476
|
-
warningAt?: number | null | undefined;
|
|
17477
|
-
blockedAt?: number | null | undefined;
|
|
17478
|
-
};
|
|
17479
|
-
|
|
17480
|
-
/** @internal */
|
|
17481
|
-
export const AiCredits$outboundSchema: z.ZodType<
|
|
17482
|
-
AiCredits$Outbound,
|
|
17483
|
-
z.ZodTypeDef,
|
|
17484
|
-
AiCredits
|
|
17485
|
-
> = z.object({
|
|
17486
|
-
currentThreshold: z.number(),
|
|
17487
|
-
warningAt: z.nullable(z.number()).optional(),
|
|
17488
|
-
blockedAt: z.nullable(z.number()).optional(),
|
|
17489
|
-
});
|
|
17490
|
-
|
|
17491
|
-
/**
|
|
17492
|
-
* @internal
|
|
17493
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
17494
|
-
*/
|
|
17495
|
-
export namespace AiCredits$ {
|
|
17496
|
-
/** @deprecated use `AiCredits$inboundSchema` instead. */
|
|
17497
|
-
export const inboundSchema = AiCredits$inboundSchema;
|
|
17498
|
-
/** @deprecated use `AiCredits$outboundSchema` instead. */
|
|
17499
|
-
export const outboundSchema = AiCredits$outboundSchema;
|
|
17500
|
-
/** @deprecated use `AiCredits$Outbound` instead. */
|
|
17501
|
-
export type Outbound = AiCredits$Outbound;
|
|
17502
|
-
}
|
|
17503
|
-
|
|
17504
|
-
export function aiCreditsToJSON(aiCredits: AiCredits): string {
|
|
17505
|
-
return JSON.stringify(AiCredits$outboundSchema.parse(aiCredits));
|
|
17506
|
-
}
|
|
17507
|
-
|
|
17508
|
-
export function aiCreditsFromJSON(
|
|
17509
|
-
jsonString: string,
|
|
17510
|
-
): SafeParseResult<AiCredits, SDKValidationError> {
|
|
17511
|
-
return safeParse(
|
|
17512
|
-
jsonString,
|
|
17513
|
-
(x) => AiCredits$inboundSchema.parse(JSON.parse(x)),
|
|
17514
|
-
`Failed to parse 'AiCredits' from JSON`,
|
|
17515
|
-
);
|
|
17516
|
-
}
|
|
17517
|
-
|
|
17518
17451
|
/** @internal */
|
|
17519
17452
|
export const AnalyticsUsage$inboundSchema: z.ZodType<
|
|
17520
17453
|
AnalyticsUsage,
|
|
@@ -20034,7 +19967,6 @@ export const OverageUsageAlerts$inboundSchema: z.ZodType<
|
|
|
20034
19967
|
z.ZodTypeDef,
|
|
20035
19968
|
unknown
|
|
20036
19969
|
> = z.object({
|
|
20037
|
-
aiCredits: z.lazy(() => AiCredits$inboundSchema).optional(),
|
|
20038
19970
|
analyticsUsage: z.lazy(() => AnalyticsUsage$inboundSchema).optional(),
|
|
20039
19971
|
artifacts: z.lazy(() => Artifacts$inboundSchema).optional(),
|
|
20040
19972
|
bandwidth: z.lazy(() => Bandwidth$inboundSchema).optional(),
|
|
@@ -20117,7 +20049,6 @@ export const OverageUsageAlerts$inboundSchema: z.ZodType<
|
|
|
20117
20049
|
|
|
20118
20050
|
/** @internal */
|
|
20119
20051
|
export type OverageUsageAlerts$Outbound = {
|
|
20120
|
-
aiCredits?: AiCredits$Outbound | undefined;
|
|
20121
20052
|
analyticsUsage?: AnalyticsUsage$Outbound | undefined;
|
|
20122
20053
|
artifacts?: Artifacts$Outbound | undefined;
|
|
20123
20054
|
bandwidth?: Bandwidth$Outbound | undefined;
|
|
@@ -20184,7 +20115,6 @@ export const OverageUsageAlerts$outboundSchema: z.ZodType<
|
|
|
20184
20115
|
z.ZodTypeDef,
|
|
20185
20116
|
OverageUsageAlerts
|
|
20186
20117
|
> = z.object({
|
|
20187
|
-
aiCredits: z.lazy(() => AiCredits$outboundSchema).optional(),
|
|
20188
20118
|
analyticsUsage: z.lazy(() => AnalyticsUsage$outboundSchema).optional(),
|
|
20189
20119
|
artifacts: z.lazy(() => Artifacts$outboundSchema).optional(),
|
|
20190
20120
|
bandwidth: z.lazy(() => Bandwidth$outboundSchema).optional(),
|
|
@@ -22192,10 +22122,11 @@ export const OldEnvVar$inboundSchema: z.ZodType<
|
|
|
22192
22122
|
z.ZodTypeDef,
|
|
22193
22123
|
unknown
|
|
22194
22124
|
> = z.object({
|
|
22195
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
22196
|
-
|
|
22125
|
+
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
22126
|
+
.optional(),
|
|
22127
|
+
key: z.string().optional(),
|
|
22197
22128
|
ownerId: z.nullable(z.string()).optional(),
|
|
22198
|
-
id: z.string(),
|
|
22129
|
+
id: z.string().optional(),
|
|
22199
22130
|
createdBy: z.nullable(z.string()).optional(),
|
|
22200
22131
|
deletedBy: z.nullable(z.string()).optional(),
|
|
22201
22132
|
updatedBy: z.nullable(z.string()).optional(),
|
|
@@ -22207,17 +22138,17 @@ export const OldEnvVar$inboundSchema: z.ZodType<
|
|
|
22207
22138
|
type: UserEventPayload58OldEnvVarType$inboundSchema.optional(),
|
|
22208
22139
|
target: z.array(UserEventPayloadTarget$inboundSchema).optional(),
|
|
22209
22140
|
applyToAllCustomEnvironments: z.boolean().optional(),
|
|
22210
|
-
decrypted: z.boolean(),
|
|
22141
|
+
decrypted: z.boolean().optional(),
|
|
22211
22142
|
comment: z.string().optional(),
|
|
22212
22143
|
lastEditedByDisplayName: z.string().optional(),
|
|
22213
22144
|
});
|
|
22214
22145
|
|
|
22215
22146
|
/** @internal */
|
|
22216
22147
|
export type OldEnvVar$Outbound = {
|
|
22217
|
-
created
|
|
22218
|
-
key
|
|
22148
|
+
created?: string | undefined;
|
|
22149
|
+
key?: string | undefined;
|
|
22219
22150
|
ownerId?: string | null | undefined;
|
|
22220
|
-
id
|
|
22151
|
+
id?: string | undefined;
|
|
22221
22152
|
createdBy?: string | null | undefined;
|
|
22222
22153
|
deletedBy?: string | null | undefined;
|
|
22223
22154
|
updatedBy?: string | null | undefined;
|
|
@@ -22229,7 +22160,7 @@ export type OldEnvVar$Outbound = {
|
|
|
22229
22160
|
type?: string | undefined;
|
|
22230
22161
|
target?: Array<string> | undefined;
|
|
22231
22162
|
applyToAllCustomEnvironments?: boolean | undefined;
|
|
22232
|
-
decrypted
|
|
22163
|
+
decrypted?: boolean | undefined;
|
|
22233
22164
|
comment?: string | undefined;
|
|
22234
22165
|
lastEditedByDisplayName?: string | undefined;
|
|
22235
22166
|
};
|
|
@@ -22240,10 +22171,10 @@ export const OldEnvVar$outboundSchema: z.ZodType<
|
|
|
22240
22171
|
z.ZodTypeDef,
|
|
22241
22172
|
OldEnvVar
|
|
22242
22173
|
> = z.object({
|
|
22243
|
-
created: z.date().transform(v => v.toISOString()),
|
|
22244
|
-
key: z.string(),
|
|
22174
|
+
created: z.date().transform(v => v.toISOString()).optional(),
|
|
22175
|
+
key: z.string().optional(),
|
|
22245
22176
|
ownerId: z.nullable(z.string()).optional(),
|
|
22246
|
-
id: z.string(),
|
|
22177
|
+
id: z.string().optional(),
|
|
22247
22178
|
createdBy: z.nullable(z.string()).optional(),
|
|
22248
22179
|
deletedBy: z.nullable(z.string()).optional(),
|
|
22249
22180
|
updatedBy: z.nullable(z.string()).optional(),
|
|
@@ -22255,7 +22186,7 @@ export const OldEnvVar$outboundSchema: z.ZodType<
|
|
|
22255
22186
|
type: UserEventPayload58OldEnvVarType$outboundSchema.optional(),
|
|
22256
22187
|
target: z.array(UserEventPayloadTarget$outboundSchema).optional(),
|
|
22257
22188
|
applyToAllCustomEnvironments: z.boolean().optional(),
|
|
22258
|
-
decrypted: z.boolean(),
|
|
22189
|
+
decrypted: z.boolean().optional(),
|
|
22259
22190
|
comment: z.string().optional(),
|
|
22260
22191
|
lastEditedByDisplayName: z.string().optional(),
|
|
22261
22192
|
});
|
|
@@ -22335,10 +22266,11 @@ export const NewEnvVar$inboundSchema: z.ZodType<
|
|
|
22335
22266
|
z.ZodTypeDef,
|
|
22336
22267
|
unknown
|
|
22337
22268
|
> = z.object({
|
|
22338
|
-
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
22339
|
-
|
|
22269
|
+
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
22270
|
+
.optional(),
|
|
22271
|
+
key: z.string().optional(),
|
|
22340
22272
|
ownerId: z.nullable(z.string()).optional(),
|
|
22341
|
-
id: z.string(),
|
|
22273
|
+
id: z.string().optional(),
|
|
22342
22274
|
createdBy: z.nullable(z.string()).optional(),
|
|
22343
22275
|
deletedBy: z.nullable(z.string()).optional(),
|
|
22344
22276
|
updatedBy: z.nullable(z.string()).optional(),
|
|
@@ -22350,17 +22282,17 @@ export const NewEnvVar$inboundSchema: z.ZodType<
|
|
|
22350
22282
|
type: UserEventPayload58Type$inboundSchema.optional(),
|
|
22351
22283
|
target: z.array(UserEventPayload58Target$inboundSchema).optional(),
|
|
22352
22284
|
applyToAllCustomEnvironments: z.boolean().optional(),
|
|
22353
|
-
decrypted: z.boolean(),
|
|
22285
|
+
decrypted: z.boolean().optional(),
|
|
22354
22286
|
comment: z.string().optional(),
|
|
22355
22287
|
lastEditedByDisplayName: z.string().optional(),
|
|
22356
22288
|
});
|
|
22357
22289
|
|
|
22358
22290
|
/** @internal */
|
|
22359
22291
|
export type NewEnvVar$Outbound = {
|
|
22360
|
-
created
|
|
22361
|
-
key
|
|
22292
|
+
created?: string | undefined;
|
|
22293
|
+
key?: string | undefined;
|
|
22362
22294
|
ownerId?: string | null | undefined;
|
|
22363
|
-
id
|
|
22295
|
+
id?: string | undefined;
|
|
22364
22296
|
createdBy?: string | null | undefined;
|
|
22365
22297
|
deletedBy?: string | null | undefined;
|
|
22366
22298
|
updatedBy?: string | null | undefined;
|
|
@@ -22372,7 +22304,7 @@ export type NewEnvVar$Outbound = {
|
|
|
22372
22304
|
type?: string | undefined;
|
|
22373
22305
|
target?: Array<string> | undefined;
|
|
22374
22306
|
applyToAllCustomEnvironments?: boolean | undefined;
|
|
22375
|
-
decrypted
|
|
22307
|
+
decrypted?: boolean | undefined;
|
|
22376
22308
|
comment?: string | undefined;
|
|
22377
22309
|
lastEditedByDisplayName?: string | undefined;
|
|
22378
22310
|
};
|
|
@@ -22383,10 +22315,10 @@ export const NewEnvVar$outboundSchema: z.ZodType<
|
|
|
22383
22315
|
z.ZodTypeDef,
|
|
22384
22316
|
NewEnvVar
|
|
22385
22317
|
> = z.object({
|
|
22386
|
-
created: z.date().transform(v => v.toISOString()),
|
|
22387
|
-
key: z.string(),
|
|
22318
|
+
created: z.date().transform(v => v.toISOString()).optional(),
|
|
22319
|
+
key: z.string().optional(),
|
|
22388
22320
|
ownerId: z.nullable(z.string()).optional(),
|
|
22389
|
-
id: z.string(),
|
|
22321
|
+
id: z.string().optional(),
|
|
22390
22322
|
createdBy: z.nullable(z.string()).optional(),
|
|
22391
22323
|
deletedBy: z.nullable(z.string()).optional(),
|
|
22392
22324
|
updatedBy: z.nullable(z.string()).optional(),
|
|
@@ -22398,7 +22330,7 @@ export const NewEnvVar$outboundSchema: z.ZodType<
|
|
|
22398
22330
|
type: UserEventPayload58Type$outboundSchema.optional(),
|
|
22399
22331
|
target: z.array(UserEventPayload58Target$outboundSchema).optional(),
|
|
22400
22332
|
applyToAllCustomEnvironments: z.boolean().optional(),
|
|
22401
|
-
decrypted: z.boolean(),
|
|
22333
|
+
decrypted: z.boolean().optional(),
|
|
22402
22334
|
comment: z.string().optional(),
|
|
22403
22335
|
lastEditedByDisplayName: z.string().optional(),
|
|
22404
22336
|
});
|