@vercel/sdk 1.6.9 → 1.6.11
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/README.md +31 -17
- package/bin/mcp-server.js +1828 -1318
- package/bin/mcp-server.js.map +28 -28
- package/docs/sdks/aliases/README.md +84 -0
- package/docs/sdks/user/README.md +2 -0
- package/docs/sdks/vercel/README.md +0 -77
- package/esm/__tests__/aliases.test.js +17 -0
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +3 -16
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/{patchAliasesIdProtectionBypass.d.ts → aliasesPatchUrlProtectionBypass.d.ts} +7 -4
- package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
- package/esm/funcs/{patchAliasesIdProtectionBypass.js → aliasesPatchUrlProtectionBypass.js} +22 -9
- package/esm/funcs/aliasesPatchUrlProtectionBypass.js.map +1 -0
- package/esm/funcs/userListUserEvents.js +1 -0
- package/esm/funcs/userListUserEvents.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/mcp-server.js.map +1 -1
- package/esm/mcp-server/server.js +3 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts +7 -0
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js +28 -0
- package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js.map +1 -0
- package/esm/models/authuser.d.ts +3 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +1 -0
- 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 +221 -37
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +200 -34
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createrecordop.d.ts +43 -43
- package/esm/models/createrecordop.d.ts.map +1 -1
- package/esm/models/createrecordop.js +51 -51
- package/esm/models/createrecordop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +24 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +8 -0
- package/esm/models/createwebhookop.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/getaliasop.d.ts +62 -62
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +84 -83
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +93 -13
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +101 -16
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +12 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +4 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +24 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +8 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +32 -32
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +50 -50
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/listusereventsop.d.ts +6 -1
- package/esm/models/listusereventsop.d.ts.map +1 -1
- package/esm/models/listusereventsop.js +2 -0
- package/esm/models/listusereventsop.js.map +1 -1
- package/esm/models/{patchaliasesidprotectionbypassop.d.ts → patchurlprotectionbypassop.d.ts} +86 -76
- package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -0
- package/esm/models/{patchaliasesidprotectionbypassop.js → patchurlprotectionbypassop.js} +95 -91
- package/esm/models/patchurlprotectionbypassop.js.map +1 -0
- 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/teamlimited.d.ts +30 -1
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +24 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +109 -29
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +128 -42
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +253 -69
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +253 -83
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +88 -14
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +100 -17
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/userevent.d.ts +324 -34
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +313 -40
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/aliases.d.ts +10 -0
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/esm/sdk/aliases.js +10 -0
- package/esm/sdk/aliases.js.map +1 -1
- package/esm/sdk/sdk.d.ts +1 -8
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -8
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/aliases.test.ts +20 -0
- package/src/__tests__/projects.test.ts +15 -13
- package/src/__tests__/vercel.test.ts +4 -19
- package/src/funcs/{patchAliasesIdProtectionBypass.ts → aliasesPatchUrlProtectionBypass.ts} +27 -13
- package/src/funcs/userListUserEvents.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/aliasesPatchUrlProtectionBypass.ts +38 -0
- package/src/models/authuser.ts +1 -0
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +406 -58
- package/src/models/createrecordop.ts +84 -96
- package/src/models/createwebhookop.ts +8 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/getaliasop.ts +130 -126
- package/src/models/getprojectsop.ts +207 -29
- package/src/models/getwebhookop.ts +4 -0
- package/src/models/getwebhooksop.ts +8 -0
- package/src/models/listdeploymentaliasesop.ts +78 -78
- package/src/models/listusereventsop.ts +8 -1
- package/src/models/{patchaliasesidprotectionbypassop.ts → patchurlprotectionbypassop.ts} +191 -156
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/teamlimited.ts +34 -1
- package/src/models/updateprojectdatacacheop.ts +249 -65
- package/src/models/updateprojectop.ts +491 -128
- package/src/models/updateprojectprotectionbypassop.ts +239 -31
- package/src/models/userevent.ts +579 -70
- package/src/sdk/aliases.ts +19 -0
- package/src/sdk/sdk.ts +1 -18
- package/vercel-spec.json +673 -157
- package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +0 -1
- package/esm/funcs/patchAliasesIdProtectionBypass.js.map +0 -1
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +0 -7
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +0 -1
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +0 -26
- package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +0 -1
- package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +0 -1
- package/esm/models/patchaliasesidprotectionbypassop.js.map +0 -1
- package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +0 -37
|
@@ -23,11 +23,13 @@ export type ListDeploymentAliasesRequest = {
|
|
|
23
23
|
slug?: string | undefined;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export const
|
|
26
|
+
export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = {
|
|
27
27
|
EmailInvite: "email_invite",
|
|
28
28
|
} as const;
|
|
29
|
-
export type
|
|
30
|
-
ClosedEnum<
|
|
29
|
+
export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
|
|
30
|
+
ClosedEnum<
|
|
31
|
+
typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
|
|
32
|
+
>;
|
|
31
33
|
|
|
32
34
|
/**
|
|
33
35
|
* The protection bypass for the alias
|
|
@@ -36,15 +38,14 @@ export type ListDeploymentAliasesProtectionBypass4 = {
|
|
|
36
38
|
createdAt: number;
|
|
37
39
|
lastUpdatedAt: number;
|
|
38
40
|
lastUpdatedBy: string;
|
|
39
|
-
scope:
|
|
41
|
+
scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope;
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
export const
|
|
44
|
+
export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = {
|
|
43
45
|
AliasProtectionOverride: "alias-protection-override",
|
|
44
46
|
} as const;
|
|
45
|
-
export type
|
|
46
|
-
typeof
|
|
47
|
-
>;
|
|
47
|
+
export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
|
|
48
|
+
ClosedEnum<typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope>;
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
51
|
* The protection bypass for the alias
|
|
@@ -52,7 +53,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
|
|
|
52
53
|
export type ListDeploymentAliasesProtectionBypass3 = {
|
|
53
54
|
createdAt: number;
|
|
54
55
|
createdBy: string;
|
|
55
|
-
scope:
|
|
56
|
+
scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
export const ListDeploymentAliasesProtectionBypassAccess = {
|
|
@@ -63,11 +64,11 @@ export type ListDeploymentAliasesProtectionBypassAccess = ClosedEnum<
|
|
|
63
64
|
typeof ListDeploymentAliasesProtectionBypassAccess
|
|
64
65
|
>;
|
|
65
66
|
|
|
66
|
-
export const
|
|
67
|
+
export const ListDeploymentAliasesProtectionBypassAliasesScope = {
|
|
67
68
|
User: "user",
|
|
68
69
|
} as const;
|
|
69
|
-
export type
|
|
70
|
-
typeof
|
|
70
|
+
export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
|
|
71
|
+
typeof ListDeploymentAliasesProtectionBypassAliasesScope
|
|
71
72
|
>;
|
|
72
73
|
|
|
73
74
|
/**
|
|
@@ -78,16 +79,15 @@ export type ListDeploymentAliasesProtectionBypass2 = {
|
|
|
78
79
|
lastUpdatedAt: number;
|
|
79
80
|
lastUpdatedBy: string;
|
|
80
81
|
access: ListDeploymentAliasesProtectionBypassAccess;
|
|
81
|
-
scope:
|
|
82
|
+
scope: ListDeploymentAliasesProtectionBypassAliasesScope;
|
|
82
83
|
};
|
|
83
84
|
|
|
84
|
-
export const
|
|
85
|
+
export const ListDeploymentAliasesProtectionBypassScope = {
|
|
85
86
|
ShareableLink: "shareable-link",
|
|
86
87
|
} as const;
|
|
87
|
-
export type
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
>;
|
|
88
|
+
export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum<
|
|
89
|
+
typeof ListDeploymentAliasesProtectionBypassScope
|
|
90
|
+
>;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* The protection bypass for the alias
|
|
@@ -95,7 +95,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
|
|
|
95
95
|
export type ListDeploymentAliasesProtectionBypass1 = {
|
|
96
96
|
createdAt: number;
|
|
97
97
|
createdBy: string;
|
|
98
|
-
scope:
|
|
98
|
+
scope: ListDeploymentAliasesProtectionBypassScope;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
export type ListDeploymentAliasesProtectionBypass =
|
|
@@ -209,28 +209,31 @@ export function listDeploymentAliasesRequestFromJSON(
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
/** @internal */
|
|
212
|
-
export const
|
|
212
|
+
export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema:
|
|
213
213
|
z.ZodNativeEnum<
|
|
214
|
-
typeof
|
|
215
|
-
> = z.nativeEnum(
|
|
214
|
+
typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
|
|
215
|
+
> = z.nativeEnum(
|
|
216
|
+
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope,
|
|
217
|
+
);
|
|
216
218
|
|
|
217
219
|
/** @internal */
|
|
218
|
-
export const
|
|
220
|
+
export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema:
|
|
219
221
|
z.ZodNativeEnum<
|
|
220
|
-
typeof
|
|
221
|
-
> =
|
|
222
|
+
typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
|
|
223
|
+
> =
|
|
224
|
+
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
|
|
222
225
|
|
|
223
226
|
/**
|
|
224
227
|
* @internal
|
|
225
228
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
226
229
|
*/
|
|
227
|
-
export namespace
|
|
228
|
-
/** @deprecated use `
|
|
230
|
+
export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
|
|
231
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
|
|
229
232
|
export const inboundSchema =
|
|
230
|
-
|
|
231
|
-
/** @deprecated use `
|
|
233
|
+
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
|
|
234
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
|
|
232
235
|
export const outboundSchema =
|
|
233
|
-
|
|
236
|
+
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema;
|
|
234
237
|
}
|
|
235
238
|
|
|
236
239
|
/** @internal */
|
|
@@ -243,7 +246,7 @@ export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType<
|
|
|
243
246
|
lastUpdatedAt: z.number(),
|
|
244
247
|
lastUpdatedBy: z.string(),
|
|
245
248
|
scope:
|
|
246
|
-
|
|
249
|
+
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema,
|
|
247
250
|
});
|
|
248
251
|
|
|
249
252
|
/** @internal */
|
|
@@ -264,7 +267,7 @@ export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType<
|
|
|
264
267
|
lastUpdatedAt: z.number(),
|
|
265
268
|
lastUpdatedBy: z.string(),
|
|
266
269
|
scope:
|
|
267
|
-
|
|
270
|
+
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema,
|
|
268
271
|
});
|
|
269
272
|
|
|
270
273
|
/**
|
|
@@ -305,26 +308,28 @@ export function listDeploymentAliasesProtectionBypass4FromJSON(
|
|
|
305
308
|
}
|
|
306
309
|
|
|
307
310
|
/** @internal */
|
|
308
|
-
export const
|
|
309
|
-
z.ZodNativeEnum<
|
|
310
|
-
|
|
311
|
+
export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema:
|
|
312
|
+
z.ZodNativeEnum<
|
|
313
|
+
typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
|
|
314
|
+
> = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope);
|
|
311
315
|
|
|
312
316
|
/** @internal */
|
|
313
|
-
export const
|
|
314
|
-
z.ZodNativeEnum<
|
|
315
|
-
|
|
317
|
+
export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema:
|
|
318
|
+
z.ZodNativeEnum<
|
|
319
|
+
typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
|
|
320
|
+
> = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
|
|
316
321
|
|
|
317
322
|
/**
|
|
318
323
|
* @internal
|
|
319
324
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
320
325
|
*/
|
|
321
|
-
export namespace
|
|
322
|
-
/** @deprecated use `
|
|
326
|
+
export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
|
|
327
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */
|
|
323
328
|
export const inboundSchema =
|
|
324
|
-
|
|
325
|
-
/** @deprecated use `
|
|
329
|
+
ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
|
|
330
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */
|
|
326
331
|
export const outboundSchema =
|
|
327
|
-
|
|
332
|
+
ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema;
|
|
328
333
|
}
|
|
329
334
|
|
|
330
335
|
/** @internal */
|
|
@@ -335,7 +340,8 @@ export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType<
|
|
|
335
340
|
> = z.object({
|
|
336
341
|
createdAt: z.number(),
|
|
337
342
|
createdBy: z.string(),
|
|
338
|
-
scope:
|
|
343
|
+
scope:
|
|
344
|
+
ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema,
|
|
339
345
|
});
|
|
340
346
|
|
|
341
347
|
/** @internal */
|
|
@@ -353,7 +359,8 @@ export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType<
|
|
|
353
359
|
> = z.object({
|
|
354
360
|
createdAt: z.number(),
|
|
355
361
|
createdBy: z.string(),
|
|
356
|
-
scope:
|
|
362
|
+
scope:
|
|
363
|
+
ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema,
|
|
357
364
|
});
|
|
358
365
|
|
|
359
366
|
/**
|
|
@@ -417,26 +424,26 @@ export namespace ListDeploymentAliasesProtectionBypassAccess$ {
|
|
|
417
424
|
}
|
|
418
425
|
|
|
419
426
|
/** @internal */
|
|
420
|
-
export const
|
|
421
|
-
z.ZodNativeEnum<typeof
|
|
422
|
-
.nativeEnum(
|
|
427
|
+
export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema:
|
|
428
|
+
z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> = z
|
|
429
|
+
.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope);
|
|
423
430
|
|
|
424
431
|
/** @internal */
|
|
425
|
-
export const
|
|
426
|
-
z.ZodNativeEnum<typeof
|
|
427
|
-
|
|
432
|
+
export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema:
|
|
433
|
+
z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> =
|
|
434
|
+
ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
|
|
428
435
|
|
|
429
436
|
/**
|
|
430
437
|
* @internal
|
|
431
438
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
432
439
|
*/
|
|
433
|
-
export namespace
|
|
434
|
-
/** @deprecated use `
|
|
440
|
+
export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ {
|
|
441
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */
|
|
435
442
|
export const inboundSchema =
|
|
436
|
-
|
|
437
|
-
/** @deprecated use `
|
|
443
|
+
ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
|
|
444
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */
|
|
438
445
|
export const outboundSchema =
|
|
439
|
-
|
|
446
|
+
ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema;
|
|
440
447
|
}
|
|
441
448
|
|
|
442
449
|
/** @internal */
|
|
@@ -449,7 +456,7 @@ export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType<
|
|
|
449
456
|
lastUpdatedAt: z.number(),
|
|
450
457
|
lastUpdatedBy: z.string(),
|
|
451
458
|
access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema,
|
|
452
|
-
scope:
|
|
459
|
+
scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema,
|
|
453
460
|
});
|
|
454
461
|
|
|
455
462
|
/** @internal */
|
|
@@ -471,7 +478,7 @@ export const ListDeploymentAliasesProtectionBypass2$outboundSchema: z.ZodType<
|
|
|
471
478
|
lastUpdatedAt: z.number(),
|
|
472
479
|
lastUpdatedBy: z.string(),
|
|
473
480
|
access: ListDeploymentAliasesProtectionBypassAccess$outboundSchema,
|
|
474
|
-
scope:
|
|
481
|
+
scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema,
|
|
475
482
|
});
|
|
476
483
|
|
|
477
484
|
/**
|
|
@@ -512,31 +519,26 @@ export function listDeploymentAliasesProtectionBypass2FromJSON(
|
|
|
512
519
|
}
|
|
513
520
|
|
|
514
521
|
/** @internal */
|
|
515
|
-
export const
|
|
516
|
-
z.ZodNativeEnum<
|
|
517
|
-
|
|
518
|
-
> = z.nativeEnum(
|
|
519
|
-
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope,
|
|
520
|
-
);
|
|
522
|
+
export const ListDeploymentAliasesProtectionBypassScope$inboundSchema:
|
|
523
|
+
z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> = z
|
|
524
|
+
.nativeEnum(ListDeploymentAliasesProtectionBypassScope);
|
|
521
525
|
|
|
522
526
|
/** @internal */
|
|
523
|
-
export const
|
|
524
|
-
z.ZodNativeEnum<
|
|
525
|
-
|
|
526
|
-
> =
|
|
527
|
-
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
|
|
527
|
+
export const ListDeploymentAliasesProtectionBypassScope$outboundSchema:
|
|
528
|
+
z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> =
|
|
529
|
+
ListDeploymentAliasesProtectionBypassScope$inboundSchema;
|
|
528
530
|
|
|
529
531
|
/**
|
|
530
532
|
* @internal
|
|
531
533
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
532
534
|
*/
|
|
533
|
-
export namespace
|
|
534
|
-
/** @deprecated use `
|
|
535
|
+
export namespace ListDeploymentAliasesProtectionBypassScope$ {
|
|
536
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */
|
|
535
537
|
export const inboundSchema =
|
|
536
|
-
|
|
537
|
-
/** @deprecated use `
|
|
538
|
+
ListDeploymentAliasesProtectionBypassScope$inboundSchema;
|
|
539
|
+
/** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */
|
|
538
540
|
export const outboundSchema =
|
|
539
|
-
|
|
541
|
+
ListDeploymentAliasesProtectionBypassScope$outboundSchema;
|
|
540
542
|
}
|
|
541
543
|
|
|
542
544
|
/** @internal */
|
|
@@ -547,8 +549,7 @@ export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType<
|
|
|
547
549
|
> = z.object({
|
|
548
550
|
createdAt: z.number(),
|
|
549
551
|
createdBy: z.string(),
|
|
550
|
-
scope:
|
|
551
|
-
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema,
|
|
552
|
+
scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema,
|
|
552
553
|
});
|
|
553
554
|
|
|
554
555
|
/** @internal */
|
|
@@ -566,8 +567,7 @@ export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType<
|
|
|
566
567
|
> = z.object({
|
|
567
568
|
createdAt: z.number(),
|
|
568
569
|
createdBy: z.string(),
|
|
569
|
-
scope:
|
|
570
|
-
ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema,
|
|
570
|
+
scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema,
|
|
571
571
|
});
|
|
572
572
|
|
|
573
573
|
/**
|
|
@@ -31,9 +31,13 @@ export type ListUserEventsRequest = {
|
|
|
31
31
|
*/
|
|
32
32
|
types?: string | undefined;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.
|
|
35
35
|
*/
|
|
36
36
|
userId?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.
|
|
39
|
+
*/
|
|
40
|
+
principalId?: string | undefined;
|
|
37
41
|
/**
|
|
38
42
|
* When set to `true`, the response will include the `payload` field for each event.
|
|
39
43
|
*/
|
|
@@ -69,6 +73,7 @@ export const ListUserEventsRequest$inboundSchema: z.ZodType<
|
|
|
69
73
|
until: z.string().optional(),
|
|
70
74
|
types: z.string().optional(),
|
|
71
75
|
userId: z.string().optional(),
|
|
76
|
+
principalId: z.string().optional(),
|
|
72
77
|
withPayload: z.string().optional(),
|
|
73
78
|
teamId: z.string().optional(),
|
|
74
79
|
slug: z.string().optional(),
|
|
@@ -81,6 +86,7 @@ export type ListUserEventsRequest$Outbound = {
|
|
|
81
86
|
until?: string | undefined;
|
|
82
87
|
types?: string | undefined;
|
|
83
88
|
userId?: string | undefined;
|
|
89
|
+
principalId?: string | undefined;
|
|
84
90
|
withPayload?: string | undefined;
|
|
85
91
|
teamId?: string | undefined;
|
|
86
92
|
slug?: string | undefined;
|
|
@@ -97,6 +103,7 @@ export const ListUserEventsRequest$outboundSchema: z.ZodType<
|
|
|
97
103
|
until: z.string().optional(),
|
|
98
104
|
types: z.string().optional(),
|
|
99
105
|
userId: z.string().optional(),
|
|
106
|
+
principalId: z.string().optional(),
|
|
100
107
|
withPayload: z.string().optional(),
|
|
101
108
|
teamId: z.string().optional(),
|
|
102
109
|
slug: z.string().optional(),
|