@vercel/sdk 1.10.2 → 1.10.3
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 +214 -201
- package/bin/mcp-server.js.map +17 -17
- package/esm/__tests__/teams.test.js +0 -2
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.js +1 -0
- package/esm/funcs/domainsGetDomainConfig.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/createdeploymentop.d.ts +35 -35
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +13 -13
- package/esm/models/createdeploymentop.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 +156 -156
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +148 -148
- 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/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getdomainconfigop.d.ts +63 -0
- package/esm/models/getdomainconfigop.d.ts.map +1 -1
- package/esm/models/getdomainconfigop.js +52 -0
- package/esm/models/getdomainconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +0 -3
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +0 -1
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +0 -3
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +0 -1
- package/esm/models/putfirewallconfigop.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/team.d.ts +0 -2
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +0 -2
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +0 -2
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +0 -2
- package/esm/models/teamlimited.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/examples/projectsUpdateProject.example.ts +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/teams.test.ts +0 -2
- package/src/funcs/domainsGetDomainConfig.ts +1 -0
- 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/createdeploymentop.ts +15 -15
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +286 -286
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getdomainconfigop.ts +129 -0
- package/src/models/getfirewallconfigop.ts +0 -1
- package/src/models/putfirewallconfigop.ts +0 -1
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/team.ts +0 -4
- package/src/models/teamlimited.ts +0 -4
- package/vercel-spec.json +524 -508
|
@@ -97,10 +97,10 @@ export type EditProjectEnvResponseBodyTarget =
|
|
|
97
97
|
|
|
98
98
|
export const EditProjectEnvResponseBodyType = {
|
|
99
99
|
System: "system",
|
|
100
|
-
Secret: "secret",
|
|
101
100
|
Encrypted: "encrypted",
|
|
102
101
|
Plain: "plain",
|
|
103
102
|
Sensitive: "sensitive",
|
|
103
|
+
Secret: "secret",
|
|
104
104
|
} as const;
|
|
105
105
|
export type EditProjectEnvResponseBodyType = ClosedEnum<
|
|
106
106
|
typeof EditProjectEnvResponseBodyType
|
|
@@ -89,10 +89,10 @@ export type FilterProjectEnvsResponseBodyProjectsResponseTarget =
|
|
|
89
89
|
|
|
90
90
|
export const FilterProjectEnvsResponseBodyProjectsResponse200Type = {
|
|
91
91
|
System: "system",
|
|
92
|
-
Secret: "secret",
|
|
93
92
|
Encrypted: "encrypted",
|
|
94
93
|
Plain: "plain",
|
|
95
94
|
Sensitive: "sensitive",
|
|
95
|
+
Secret: "secret",
|
|
96
96
|
} as const;
|
|
97
97
|
export type FilterProjectEnvsResponseBodyProjectsResponse200Type = ClosedEnum<
|
|
98
98
|
typeof FilterProjectEnvsResponseBodyProjectsResponse200Type
|
|
@@ -447,10 +447,10 @@ export type FilterProjectEnvsResponseBodyProjectsTarget =
|
|
|
447
447
|
|
|
448
448
|
export const FilterProjectEnvsResponseBodyProjectsResponseType = {
|
|
449
449
|
System: "system",
|
|
450
|
-
Secret: "secret",
|
|
451
450
|
Encrypted: "encrypted",
|
|
452
451
|
Plain: "plain",
|
|
453
452
|
Sensitive: "sensitive",
|
|
453
|
+
Secret: "secret",
|
|
454
454
|
} as const;
|
|
455
455
|
export type FilterProjectEnvsResponseBodyProjectsResponseType = ClosedEnum<
|
|
456
456
|
typeof FilterProjectEnvsResponseBodyProjectsResponseType
|
|
@@ -806,10 +806,10 @@ export type FilterProjectEnvsResponseBodyTarget =
|
|
|
806
806
|
|
|
807
807
|
export const FilterProjectEnvsResponseBodyType = {
|
|
808
808
|
System: "system",
|
|
809
|
-
Secret: "secret",
|
|
810
809
|
Encrypted: "encrypted",
|
|
811
810
|
Plain: "plain",
|
|
812
811
|
Sensitive: "sensitive",
|
|
812
|
+
Secret: "secret",
|
|
813
813
|
} as const;
|
|
814
814
|
export type FilterProjectEnvsResponseBodyType = ClosedEnum<
|
|
815
815
|
typeof FilterProjectEnvsResponseBodyType
|
|
@@ -25,6 +25,10 @@ export type GetDomainConfigRequest = {
|
|
|
25
25
|
* The name of the domain.
|
|
26
26
|
*/
|
|
27
27
|
domain: string;
|
|
28
|
+
/**
|
|
29
|
+
* The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.
|
|
30
|
+
*/
|
|
31
|
+
projectIdOrName?: string | undefined;
|
|
28
32
|
/**
|
|
29
33
|
* When true, the response will only include the nameservers assigned directly to the specified domain. When false and there are no nameservers assigned directly to the specified domain, the response will include the nameservers of the domain's parent zone.
|
|
30
34
|
*/
|
|
@@ -65,6 +69,16 @@ export const AcceptedChallenges = {
|
|
|
65
69
|
*/
|
|
66
70
|
export type AcceptedChallenges = ClosedEnum<typeof AcceptedChallenges>;
|
|
67
71
|
|
|
72
|
+
/**
|
|
73
|
+
* Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable.
|
|
74
|
+
*/
|
|
75
|
+
export type RecommendedIPv4 = {};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Recommended CNAMEs for the domain. rank=1 is the preferred value to use.
|
|
79
|
+
*/
|
|
80
|
+
export type RecommendedCNAME = {};
|
|
81
|
+
|
|
68
82
|
export type GetDomainConfigResponseBody = {
|
|
69
83
|
/**
|
|
70
84
|
* How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel.
|
|
@@ -74,6 +88,14 @@ export type GetDomainConfigResponseBody = {
|
|
|
74
88
|
* Which challenge types the domain can use for issuing certs.
|
|
75
89
|
*/
|
|
76
90
|
acceptedChallenges?: Array<AcceptedChallenges> | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable.
|
|
93
|
+
*/
|
|
94
|
+
recommendedIPv4?: Array<RecommendedIPv4> | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Recommended CNAMEs for the domain. rank=1 is the preferred value to use.
|
|
97
|
+
*/
|
|
98
|
+
recommendedCNAME?: Array<RecommendedCNAME> | undefined;
|
|
77
99
|
/**
|
|
78
100
|
* Whether or not the domain is configured AND we can automatically generate a TLS certificate.
|
|
79
101
|
*/
|
|
@@ -106,6 +128,7 @@ export const GetDomainConfigRequest$inboundSchema: z.ZodType<
|
|
|
106
128
|
unknown
|
|
107
129
|
> = z.object({
|
|
108
130
|
domain: z.string(),
|
|
131
|
+
projectIdOrName: z.string().optional(),
|
|
109
132
|
strict: Strict$inboundSchema.optional(),
|
|
110
133
|
teamId: z.string().optional(),
|
|
111
134
|
slug: z.string().optional(),
|
|
@@ -114,6 +137,7 @@ export const GetDomainConfigRequest$inboundSchema: z.ZodType<
|
|
|
114
137
|
/** @internal */
|
|
115
138
|
export type GetDomainConfigRequest$Outbound = {
|
|
116
139
|
domain: string;
|
|
140
|
+
projectIdOrName?: string | undefined;
|
|
117
141
|
strict?: string | undefined;
|
|
118
142
|
teamId?: string | undefined;
|
|
119
143
|
slug?: string | undefined;
|
|
@@ -126,6 +150,7 @@ export const GetDomainConfigRequest$outboundSchema: z.ZodType<
|
|
|
126
150
|
GetDomainConfigRequest
|
|
127
151
|
> = z.object({
|
|
128
152
|
domain: z.string(),
|
|
153
|
+
projectIdOrName: z.string().optional(),
|
|
129
154
|
strict: Strict$outboundSchema.optional(),
|
|
130
155
|
teamId: z.string().optional(),
|
|
131
156
|
slug: z.string().optional(),
|
|
@@ -202,6 +227,100 @@ export namespace AcceptedChallenges$ {
|
|
|
202
227
|
export const outboundSchema = AcceptedChallenges$outboundSchema;
|
|
203
228
|
}
|
|
204
229
|
|
|
230
|
+
/** @internal */
|
|
231
|
+
export const RecommendedIPv4$inboundSchema: z.ZodType<
|
|
232
|
+
RecommendedIPv4,
|
|
233
|
+
z.ZodTypeDef,
|
|
234
|
+
unknown
|
|
235
|
+
> = z.object({});
|
|
236
|
+
|
|
237
|
+
/** @internal */
|
|
238
|
+
export type RecommendedIPv4$Outbound = {};
|
|
239
|
+
|
|
240
|
+
/** @internal */
|
|
241
|
+
export const RecommendedIPv4$outboundSchema: z.ZodType<
|
|
242
|
+
RecommendedIPv4$Outbound,
|
|
243
|
+
z.ZodTypeDef,
|
|
244
|
+
RecommendedIPv4
|
|
245
|
+
> = z.object({});
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
250
|
+
*/
|
|
251
|
+
export namespace RecommendedIPv4$ {
|
|
252
|
+
/** @deprecated use `RecommendedIPv4$inboundSchema` instead. */
|
|
253
|
+
export const inboundSchema = RecommendedIPv4$inboundSchema;
|
|
254
|
+
/** @deprecated use `RecommendedIPv4$outboundSchema` instead. */
|
|
255
|
+
export const outboundSchema = RecommendedIPv4$outboundSchema;
|
|
256
|
+
/** @deprecated use `RecommendedIPv4$Outbound` instead. */
|
|
257
|
+
export type Outbound = RecommendedIPv4$Outbound;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export function recommendedIPv4ToJSON(
|
|
261
|
+
recommendedIPv4: RecommendedIPv4,
|
|
262
|
+
): string {
|
|
263
|
+
return JSON.stringify(RecommendedIPv4$outboundSchema.parse(recommendedIPv4));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function recommendedIPv4FromJSON(
|
|
267
|
+
jsonString: string,
|
|
268
|
+
): SafeParseResult<RecommendedIPv4, SDKValidationError> {
|
|
269
|
+
return safeParse(
|
|
270
|
+
jsonString,
|
|
271
|
+
(x) => RecommendedIPv4$inboundSchema.parse(JSON.parse(x)),
|
|
272
|
+
`Failed to parse 'RecommendedIPv4' from JSON`,
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** @internal */
|
|
277
|
+
export const RecommendedCNAME$inboundSchema: z.ZodType<
|
|
278
|
+
RecommendedCNAME,
|
|
279
|
+
z.ZodTypeDef,
|
|
280
|
+
unknown
|
|
281
|
+
> = z.object({});
|
|
282
|
+
|
|
283
|
+
/** @internal */
|
|
284
|
+
export type RecommendedCNAME$Outbound = {};
|
|
285
|
+
|
|
286
|
+
/** @internal */
|
|
287
|
+
export const RecommendedCNAME$outboundSchema: z.ZodType<
|
|
288
|
+
RecommendedCNAME$Outbound,
|
|
289
|
+
z.ZodTypeDef,
|
|
290
|
+
RecommendedCNAME
|
|
291
|
+
> = z.object({});
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @internal
|
|
295
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
296
|
+
*/
|
|
297
|
+
export namespace RecommendedCNAME$ {
|
|
298
|
+
/** @deprecated use `RecommendedCNAME$inboundSchema` instead. */
|
|
299
|
+
export const inboundSchema = RecommendedCNAME$inboundSchema;
|
|
300
|
+
/** @deprecated use `RecommendedCNAME$outboundSchema` instead. */
|
|
301
|
+
export const outboundSchema = RecommendedCNAME$outboundSchema;
|
|
302
|
+
/** @deprecated use `RecommendedCNAME$Outbound` instead. */
|
|
303
|
+
export type Outbound = RecommendedCNAME$Outbound;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export function recommendedCNAMEToJSON(
|
|
307
|
+
recommendedCNAME: RecommendedCNAME,
|
|
308
|
+
): string {
|
|
309
|
+
return JSON.stringify(
|
|
310
|
+
RecommendedCNAME$outboundSchema.parse(recommendedCNAME),
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export function recommendedCNAMEFromJSON(
|
|
315
|
+
jsonString: string,
|
|
316
|
+
): SafeParseResult<RecommendedCNAME, SDKValidationError> {
|
|
317
|
+
return safeParse(
|
|
318
|
+
jsonString,
|
|
319
|
+
(x) => RecommendedCNAME$inboundSchema.parse(JSON.parse(x)),
|
|
320
|
+
`Failed to parse 'RecommendedCNAME' from JSON`,
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
|
|
205
324
|
/** @internal */
|
|
206
325
|
export const GetDomainConfigResponseBody$inboundSchema: z.ZodType<
|
|
207
326
|
GetDomainConfigResponseBody,
|
|
@@ -210,6 +329,10 @@ export const GetDomainConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
210
329
|
> = z.object({
|
|
211
330
|
configuredBy: z.nullable(ConfiguredBy$inboundSchema).optional(),
|
|
212
331
|
acceptedChallenges: z.array(AcceptedChallenges$inboundSchema).optional(),
|
|
332
|
+
recommendedIPv4: z.array(z.lazy(() => RecommendedIPv4$inboundSchema))
|
|
333
|
+
.optional(),
|
|
334
|
+
recommendedCNAME: z.array(z.lazy(() => RecommendedCNAME$inboundSchema))
|
|
335
|
+
.optional(),
|
|
213
336
|
misconfigured: z.boolean(),
|
|
214
337
|
});
|
|
215
338
|
|
|
@@ -217,6 +340,8 @@ export const GetDomainConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
217
340
|
export type GetDomainConfigResponseBody$Outbound = {
|
|
218
341
|
configuredBy?: string | null | undefined;
|
|
219
342
|
acceptedChallenges?: Array<string> | undefined;
|
|
343
|
+
recommendedIPv4?: Array<RecommendedIPv4$Outbound> | undefined;
|
|
344
|
+
recommendedCNAME?: Array<RecommendedCNAME$Outbound> | undefined;
|
|
220
345
|
misconfigured: boolean;
|
|
221
346
|
};
|
|
222
347
|
|
|
@@ -228,6 +353,10 @@ export const GetDomainConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
228
353
|
> = z.object({
|
|
229
354
|
configuredBy: z.nullable(ConfiguredBy$outboundSchema).optional(),
|
|
230
355
|
acceptedChallenges: z.array(AcceptedChallenges$outboundSchema).optional(),
|
|
356
|
+
recommendedIPv4: z.array(z.lazy(() => RecommendedIPv4$outboundSchema))
|
|
357
|
+
.optional(),
|
|
358
|
+
recommendedCNAME: z.array(z.lazy(() => RecommendedCNAME$outboundSchema))
|
|
359
|
+
.optional(),
|
|
231
360
|
misconfigured: z.boolean(),
|
|
232
361
|
});
|
|
233
362
|
|
|
@@ -299,7 +299,6 @@ export const GetFirewallConfigType = {
|
|
|
299
299
|
Ja4Digest: "ja4_digest",
|
|
300
300
|
Ja3Digest: "ja3_digest",
|
|
301
301
|
RateLimitApiId: "rate_limit_api_id",
|
|
302
|
-
BotName: "bot_name",
|
|
303
302
|
} as const;
|
|
304
303
|
/**
|
|
305
304
|
* [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
|
|
@@ -684,7 +684,6 @@ export const PutFirewallConfigSecurityType = {
|
|
|
684
684
|
Ja4Digest: "ja4_digest",
|
|
685
685
|
Ja3Digest: "ja3_digest",
|
|
686
686
|
RateLimitApiId: "rate_limit_api_id",
|
|
687
|
-
BotName: "bot_name",
|
|
688
687
|
} as const;
|
|
689
688
|
export type PutFirewallConfigSecurityType = ClosedEnum<
|
|
690
689
|
typeof PutFirewallConfigSecurityType
|
|
@@ -55,10 +55,10 @@ export type RemoveProjectEnvResponseBodyProjectsResponseTarget =
|
|
|
55
55
|
|
|
56
56
|
export const RemoveProjectEnvResponseBodyProjectsResponseType = {
|
|
57
57
|
System: "system",
|
|
58
|
-
Secret: "secret",
|
|
59
58
|
Encrypted: "encrypted",
|
|
60
59
|
Plain: "plain",
|
|
61
60
|
Sensitive: "sensitive",
|
|
61
|
+
Secret: "secret",
|
|
62
62
|
} as const;
|
|
63
63
|
export type RemoveProjectEnvResponseBodyProjectsResponseType = ClosedEnum<
|
|
64
64
|
typeof RemoveProjectEnvResponseBodyProjectsResponseType
|
|
@@ -405,10 +405,10 @@ export type RemoveProjectEnvResponseBodyProjectsTarget =
|
|
|
405
405
|
|
|
406
406
|
export const RemoveProjectEnvResponseBodyProjectsType = {
|
|
407
407
|
System: "system",
|
|
408
|
-
Secret: "secret",
|
|
409
408
|
Encrypted: "encrypted",
|
|
410
409
|
Plain: "plain",
|
|
411
410
|
Sensitive: "sensitive",
|
|
411
|
+
Secret: "secret",
|
|
412
412
|
} as const;
|
|
413
413
|
export type RemoveProjectEnvResponseBodyProjectsType = ClosedEnum<
|
|
414
414
|
typeof RemoveProjectEnvResponseBodyProjectsType
|
|
@@ -754,10 +754,10 @@ export type RemoveProjectEnvResponseBodyTarget =
|
|
|
754
754
|
|
|
755
755
|
export const RemoveProjectEnvResponseBodyType = {
|
|
756
756
|
System: "system",
|
|
757
|
-
Secret: "secret",
|
|
758
757
|
Encrypted: "encrypted",
|
|
759
758
|
Plain: "plain",
|
|
760
759
|
Sensitive: "sensitive",
|
|
760
|
+
Secret: "secret",
|
|
761
761
|
} as const;
|
|
762
762
|
export type RemoveProjectEnvResponseBodyType = ClosedEnum<
|
|
763
763
|
typeof RemoveProjectEnvResponseBodyType
|
package/src/models/team.ts
CHANGED
|
@@ -316,7 +316,6 @@ export type Membership = {
|
|
|
316
316
|
entitlements?: Array<Entitlements> | undefined;
|
|
317
317
|
teamId?: string | undefined;
|
|
318
318
|
confirmed: boolean;
|
|
319
|
-
confirmedAt: number;
|
|
320
319
|
accessRequestedAt?: number | undefined;
|
|
321
320
|
role: Role;
|
|
322
321
|
teamRoles?: Array<TeamRoles> | undefined;
|
|
@@ -1498,7 +1497,6 @@ export const Membership$inboundSchema: z.ZodType<
|
|
|
1498
1497
|
entitlements: z.array(z.lazy(() => Entitlements$inboundSchema)).optional(),
|
|
1499
1498
|
teamId: z.string().optional(),
|
|
1500
1499
|
confirmed: z.boolean(),
|
|
1501
|
-
confirmedAt: z.number(),
|
|
1502
1500
|
accessRequestedAt: z.number().optional(),
|
|
1503
1501
|
role: Role$inboundSchema,
|
|
1504
1502
|
teamRoles: z.array(TeamRoles$inboundSchema).optional(),
|
|
@@ -1514,7 +1512,6 @@ export type Membership$Outbound = {
|
|
|
1514
1512
|
entitlements?: Array<Entitlements$Outbound> | undefined;
|
|
1515
1513
|
teamId?: string | undefined;
|
|
1516
1514
|
confirmed: boolean;
|
|
1517
|
-
confirmedAt: number;
|
|
1518
1515
|
accessRequestedAt?: number | undefined;
|
|
1519
1516
|
role: string;
|
|
1520
1517
|
teamRoles?: Array<string> | undefined;
|
|
@@ -1534,7 +1531,6 @@ export const Membership$outboundSchema: z.ZodType<
|
|
|
1534
1531
|
entitlements: z.array(z.lazy(() => Entitlements$outboundSchema)).optional(),
|
|
1535
1532
|
teamId: z.string().optional(),
|
|
1536
1533
|
confirmed: z.boolean(),
|
|
1537
|
-
confirmedAt: z.number(),
|
|
1538
1534
|
accessRequestedAt: z.number().optional(),
|
|
1539
1535
|
role: Role$outboundSchema,
|
|
1540
1536
|
teamRoles: z.array(TeamRoles$outboundSchema).optional(),
|
|
@@ -161,7 +161,6 @@ export type TeamLimitedMembership = {
|
|
|
161
161
|
entitlements?: Array<TeamLimitedEntitlements> | undefined;
|
|
162
162
|
teamId?: string | undefined;
|
|
163
163
|
confirmed: boolean;
|
|
164
|
-
confirmedAt: number;
|
|
165
164
|
accessRequestedAt?: number | undefined;
|
|
166
165
|
role: TeamLimitedRole;
|
|
167
166
|
teamRoles?: Array<TeamLimitedTeamRoles> | undefined;
|
|
@@ -697,7 +696,6 @@ export const TeamLimitedMembership$inboundSchema: z.ZodType<
|
|
|
697
696
|
.optional(),
|
|
698
697
|
teamId: z.string().optional(),
|
|
699
698
|
confirmed: z.boolean(),
|
|
700
|
-
confirmedAt: z.number(),
|
|
701
699
|
accessRequestedAt: z.number().optional(),
|
|
702
700
|
role: TeamLimitedRole$inboundSchema,
|
|
703
701
|
teamRoles: z.array(TeamLimitedTeamRoles$inboundSchema).optional(),
|
|
@@ -713,7 +711,6 @@ export type TeamLimitedMembership$Outbound = {
|
|
|
713
711
|
entitlements?: Array<TeamLimitedEntitlements$Outbound> | undefined;
|
|
714
712
|
teamId?: string | undefined;
|
|
715
713
|
confirmed: boolean;
|
|
716
|
-
confirmedAt: number;
|
|
717
714
|
accessRequestedAt?: number | undefined;
|
|
718
715
|
role: string;
|
|
719
716
|
teamRoles?: Array<string> | undefined;
|
|
@@ -734,7 +731,6 @@ export const TeamLimitedMembership$outboundSchema: z.ZodType<
|
|
|
734
731
|
.optional(),
|
|
735
732
|
teamId: z.string().optional(),
|
|
736
733
|
confirmed: z.boolean(),
|
|
737
|
-
confirmedAt: z.number(),
|
|
738
734
|
accessRequestedAt: z.number().optional(),
|
|
739
735
|
role: TeamLimitedRole$outboundSchema,
|
|
740
736
|
teamRoles: z.array(TeamLimitedTeamRoles$outboundSchema).optional(),
|