@vercel/sdk 1.17.7 → 1.18.0
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 +1735 -4032
- package/bin/mcp-server.js.map +47 -47
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +3 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -1
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +12 -1
- package/esm/lib/encodings.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/authtoken.d.ts +8 -24
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +8 -23
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +6 -2
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buydomainsop.js +8 -2
- package/esm/models/buydomainsop.js.map +1 -1
- package/esm/models/buysingledomainop.d.ts +6 -2
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +8 -2
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +70 -62
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +38 -58
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +70 -62
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +38 -59
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +72 -248
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +72 -229
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +4 -21
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +4 -19
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createeventop.d.ts +8 -25
- package/esm/models/createeventop.d.ts.map +1 -1
- package/esm/models/createeventop.js +8 -23
- package/esm/models/createeventop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +8 -24
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +8 -22
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +68 -308
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +68 -281
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +76 -332
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +84 -316
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +34 -154
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +34 -141
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +102 -462
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +102 -419
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/forbidden.d.ts +3 -12
- package/esm/models/forbidden.d.ts.map +1 -1
- package/esm/models/forbidden.js +2 -9
- package/esm/models/forbidden.js.map +1 -1
- package/esm/models/getaliasop.d.ts +12 -44
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +16 -46
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +72 -248
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +72 -236
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +4 -20
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +4 -18
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +70 -62
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +38 -58
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainauthcodeop.d.ts +6 -2
- package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
- package/esm/models/getdomainauthcodeop.js +8 -2
- package/esm/models/getdomainauthcodeop.js.map +1 -1
- package/esm/models/getdomaintransferinop.d.ts +6 -2
- package/esm/models/getdomaintransferinop.d.ts.map +1 -1
- package/esm/models/getdomaintransferinop.js +8 -2
- package/esm/models/getdomaintransferinop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +72 -248
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +72 -227
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +72 -248
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +72 -227
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +4 -21
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +4 -18
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +8 -24
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +8 -23
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getorderop.d.ts +48 -172
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +50 -159
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +102 -462
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +102 -419
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +76 -332
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +84 -313
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.d.ts +10 -42
- package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.js +10 -39
- package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +12 -44
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +16 -47
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +12 -44
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +16 -46
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +102 -462
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +102 -420
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +6 -2
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js +8 -2
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +6 -2
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.js +8 -2
- package/esm/models/transferindomainop.js.map +1 -1
- package/esm/models/updatedomainautorenewop.d.ts +6 -2
- package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
- package/esm/models/updatedomainautorenewop.js +8 -2
- package/esm/models/updatedomainautorenewop.js.map +1 -1
- package/esm/models/updatedomainnameserversop.d.ts +6 -2
- package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
- package/esm/models/updatedomainnameserversop.js +8 -2
- package/esm/models/updatedomainnameserversop.js.map +1 -1
- package/esm/models/updatedrainop.d.ts +72 -248
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +72 -229
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +4 -21
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +4 -18
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +76 -332
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +84 -318
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +76 -332
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +84 -316
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +4 -21
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +4 -19
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/userevent.d.ts +54 -14
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +26 -13
- package/esm/models/userevent.js.map +1 -1
- package/esm/types/unrecognized.d.ts +7 -1
- package/esm/types/unrecognized.d.ts.map +1 -1
- package/esm/types/unrecognized.js +9 -1
- package/esm/types/unrecognized.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +3 -4
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/rollingrelease.test.ts +2 -1
- package/src/__tests__/security.test.ts +1 -11
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/authtoken.ts +16 -42
- package/src/models/buydomainsop.ts +14 -4
- package/src/models/buysingledomainop.ts +14 -4
- package/src/models/canceldeploymentop.ts +140 -127
- package/src/models/createdeploymentop.ts +149 -118
- package/src/models/createdrainop.ts +154 -511
- package/src/models/createedgeconfigop.ts +8 -37
- package/src/models/createeventop.ts +16 -43
- package/src/models/createlogdrainop.ts +18 -50
- package/src/models/createprojectenvop.ts +136 -875
- package/src/models/createprojectop.ts +172 -803
- package/src/models/editprojectenvop.ts +68 -417
- package/src/models/filterprojectenvsop.ts +210 -1337
- package/src/models/forbidden.ts +5 -20
- package/src/models/getaliasop.ts +36 -101
- package/src/models/getalllogdrainsop.ts +160 -551
- package/src/models/getconfigurationop.ts +8 -38
- package/src/models/getdeploymentop.ts +144 -124
- package/src/models/getdomainauthcodeop.ts +14 -4
- package/src/models/getdomaintransferinop.ts +14 -4
- package/src/models/getdrainop.ts +156 -531
- package/src/models/getdrainsop.ts +155 -535
- package/src/models/getedgeconfigop.ts +8 -41
- package/src/models/getintegrationlogdrainsop.ts +19 -44
- package/src/models/getorderop.ts +99 -408
- package/src/models/getprojectenvop.ts +208 -1337
- package/src/models/getprojectsop.ts +172 -802
- package/src/models/getrollingreleasebillingstatusop.ts +20 -100
- package/src/models/listaliasesop.ts +36 -100
- package/src/models/listdeploymentaliasesop.ts +36 -111
- package/src/models/removeprojectenvop.ts +208 -1335
- package/src/models/renewdomainop.ts +14 -4
- package/src/models/transferindomainop.ts +14 -4
- package/src/models/updatedomainautorenewop.ts +14 -4
- package/src/models/updatedomainnameserversop.ts +14 -4
- package/src/models/updatedrainop.ts +162 -542
- package/src/models/updateedgeconfigop.ts +8 -42
- package/src/models/updateprojectdatacacheop.ts +167 -781
- package/src/models/updateprojectop.ts +172 -803
- package/src/models/updateprojectprotectionbypassop.ts +8 -44
- package/src/models/userevent.ts +111 -29
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +0 -1
package/src/models/forbidden.ts
CHANGED
|
@@ -3,23 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
7
6
|
import { VercelError } from "./vercelerror.js";
|
|
8
7
|
|
|
9
|
-
export const ForbiddenCode = {
|
|
10
|
-
Forbidden: "forbidden",
|
|
11
|
-
} as const;
|
|
12
|
-
export type ForbiddenCode = ClosedEnum<typeof ForbiddenCode>;
|
|
13
|
-
|
|
14
8
|
export type ForbiddenData = {
|
|
15
9
|
status: number;
|
|
16
|
-
code:
|
|
10
|
+
code: "forbidden";
|
|
17
11
|
message: string;
|
|
18
12
|
};
|
|
19
13
|
|
|
20
14
|
export class Forbidden extends VercelError {
|
|
21
15
|
status: number;
|
|
22
|
-
code:
|
|
16
|
+
code: "forbidden";
|
|
23
17
|
|
|
24
18
|
/** The original data that was passed to this error instance. */
|
|
25
19
|
data$: ForbiddenData;
|
|
@@ -38,15 +32,6 @@ export class Forbidden extends VercelError {
|
|
|
38
32
|
}
|
|
39
33
|
}
|
|
40
34
|
|
|
41
|
-
/** @internal */
|
|
42
|
-
export const ForbiddenCode$inboundSchema: z.ZodNativeEnum<
|
|
43
|
-
typeof ForbiddenCode
|
|
44
|
-
> = z.nativeEnum(ForbiddenCode);
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const ForbiddenCode$outboundSchema: z.ZodNativeEnum<
|
|
47
|
-
typeof ForbiddenCode
|
|
48
|
-
> = ForbiddenCode$inboundSchema;
|
|
49
|
-
|
|
50
35
|
/** @internal */
|
|
51
36
|
export const Forbidden$inboundSchema: z.ZodType<
|
|
52
37
|
Forbidden,
|
|
@@ -54,7 +39,7 @@ export const Forbidden$inboundSchema: z.ZodType<
|
|
|
54
39
|
unknown
|
|
55
40
|
> = z.object({
|
|
56
41
|
status: z.number(),
|
|
57
|
-
code:
|
|
42
|
+
code: z.literal("forbidden"),
|
|
58
43
|
message: z.string(),
|
|
59
44
|
request$: z.instanceof(Request),
|
|
60
45
|
response$: z.instanceof(Response),
|
|
@@ -71,7 +56,7 @@ export const Forbidden$inboundSchema: z.ZodType<
|
|
|
71
56
|
/** @internal */
|
|
72
57
|
export type Forbidden$Outbound = {
|
|
73
58
|
status: number;
|
|
74
|
-
code:
|
|
59
|
+
code: "forbidden";
|
|
75
60
|
message: string;
|
|
76
61
|
};
|
|
77
62
|
|
|
@@ -84,6 +69,6 @@ export const Forbidden$outboundSchema: z.ZodType<
|
|
|
84
69
|
.transform(v => v.data$)
|
|
85
70
|
.pipe(z.object({
|
|
86
71
|
status: z.number(),
|
|
87
|
-
code:
|
|
72
|
+
code: z.literal("forbidden"),
|
|
88
73
|
message: z.string(),
|
|
89
74
|
}));
|
package/src/models/getaliasop.ts
CHANGED
|
@@ -75,13 +75,6 @@ export type GetAliasDeployment = {
|
|
|
75
75
|
meta?: string | undefined;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
export const GetAliasProtectionBypassAliasesResponse200Scope = {
|
|
79
|
-
EmailInvite: "email_invite",
|
|
80
|
-
} as const;
|
|
81
|
-
export type GetAliasProtectionBypassAliasesResponse200Scope = ClosedEnum<
|
|
82
|
-
typeof GetAliasProtectionBypassAliasesResponse200Scope
|
|
83
|
-
>;
|
|
84
|
-
|
|
85
78
|
/**
|
|
86
79
|
* The protection bypass for the alias
|
|
87
80
|
*/
|
|
@@ -89,23 +82,16 @@ export type ProtectionBypass4 = {
|
|
|
89
82
|
createdAt: number;
|
|
90
83
|
lastUpdatedAt: number;
|
|
91
84
|
lastUpdatedBy: string;
|
|
92
|
-
scope:
|
|
85
|
+
scope: "email_invite";
|
|
93
86
|
};
|
|
94
87
|
|
|
95
|
-
export const GetAliasProtectionBypassAliasesResponseScope = {
|
|
96
|
-
AliasProtectionOverride: "alias-protection-override",
|
|
97
|
-
} as const;
|
|
98
|
-
export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum<
|
|
99
|
-
typeof GetAliasProtectionBypassAliasesResponseScope
|
|
100
|
-
>;
|
|
101
|
-
|
|
102
88
|
/**
|
|
103
89
|
* The protection bypass for the alias
|
|
104
90
|
*/
|
|
105
91
|
export type ProtectionBypass3 = {
|
|
106
92
|
createdAt: number;
|
|
107
93
|
createdBy: string;
|
|
108
|
-
scope:
|
|
94
|
+
scope: "alias-protection-override";
|
|
109
95
|
};
|
|
110
96
|
|
|
111
97
|
export const ProtectionBypassAccess = {
|
|
@@ -114,13 +100,6 @@ export const ProtectionBypassAccess = {
|
|
|
114
100
|
} as const;
|
|
115
101
|
export type ProtectionBypassAccess = ClosedEnum<typeof ProtectionBypassAccess>;
|
|
116
102
|
|
|
117
|
-
export const GetAliasProtectionBypassAliasesScope = {
|
|
118
|
-
User: "user",
|
|
119
|
-
} as const;
|
|
120
|
-
export type GetAliasProtectionBypassAliasesScope = ClosedEnum<
|
|
121
|
-
typeof GetAliasProtectionBypassAliasesScope
|
|
122
|
-
>;
|
|
123
|
-
|
|
124
103
|
/**
|
|
125
104
|
* The protection bypass for the alias
|
|
126
105
|
*/
|
|
@@ -129,31 +108,24 @@ export type GetAliasProtectionBypass2 = {
|
|
|
129
108
|
lastUpdatedAt: number;
|
|
130
109
|
lastUpdatedBy: string;
|
|
131
110
|
access: ProtectionBypassAccess;
|
|
132
|
-
scope:
|
|
111
|
+
scope: "user";
|
|
133
112
|
};
|
|
134
113
|
|
|
135
|
-
export const GetAliasProtectionBypassScope = {
|
|
136
|
-
ShareableLink: "shareable-link",
|
|
137
|
-
} as const;
|
|
138
|
-
export type GetAliasProtectionBypassScope = ClosedEnum<
|
|
139
|
-
typeof GetAliasProtectionBypassScope
|
|
140
|
-
>;
|
|
141
|
-
|
|
142
114
|
/**
|
|
143
115
|
* The protection bypass for the alias
|
|
144
116
|
*/
|
|
145
117
|
export type GetAliasProtectionBypass1 = {
|
|
146
118
|
createdAt: number;
|
|
147
119
|
createdBy: string;
|
|
148
|
-
scope:
|
|
120
|
+
scope: "shareable-link";
|
|
149
121
|
expires?: number | undefined;
|
|
150
122
|
};
|
|
151
123
|
|
|
152
124
|
export type GetAliasProtectionBypass =
|
|
153
|
-
| GetAliasProtectionBypass2
|
|
154
|
-
| ProtectionBypass4
|
|
155
125
|
| GetAliasProtectionBypass1
|
|
156
|
-
|
|
|
126
|
+
| GetAliasProtectionBypass2
|
|
127
|
+
| ProtectionBypass3
|
|
128
|
+
| ProtectionBypass4;
|
|
157
129
|
|
|
158
130
|
export type DefaultApp = {
|
|
159
131
|
projectId: string;
|
|
@@ -288,10 +260,10 @@ export type GetAliasResponseBody = {
|
|
|
288
260
|
*/
|
|
289
261
|
protectionBypass?: {
|
|
290
262
|
[k: string]:
|
|
291
|
-
| GetAliasProtectionBypass2
|
|
292
|
-
| ProtectionBypass4
|
|
293
263
|
| GetAliasProtectionBypass1
|
|
294
|
-
|
|
|
264
|
+
| GetAliasProtectionBypass2
|
|
265
|
+
| ProtectionBypass3
|
|
266
|
+
| ProtectionBypass4;
|
|
295
267
|
} | undefined;
|
|
296
268
|
/**
|
|
297
269
|
* The microfrontends for the alias including the routing configuration
|
|
@@ -442,15 +414,6 @@ export function getAliasDeploymentFromJSON(
|
|
|
442
414
|
);
|
|
443
415
|
}
|
|
444
416
|
|
|
445
|
-
/** @internal */
|
|
446
|
-
export const GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema:
|
|
447
|
-
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope> = z
|
|
448
|
-
.nativeEnum(GetAliasProtectionBypassAliasesResponse200Scope);
|
|
449
|
-
/** @internal */
|
|
450
|
-
export const GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema:
|
|
451
|
-
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope> =
|
|
452
|
-
GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema;
|
|
453
|
-
|
|
454
417
|
/** @internal */
|
|
455
418
|
export const ProtectionBypass4$inboundSchema: z.ZodType<
|
|
456
419
|
ProtectionBypass4,
|
|
@@ -460,14 +423,14 @@ export const ProtectionBypass4$inboundSchema: z.ZodType<
|
|
|
460
423
|
createdAt: z.number(),
|
|
461
424
|
lastUpdatedAt: z.number(),
|
|
462
425
|
lastUpdatedBy: z.string(),
|
|
463
|
-
scope:
|
|
426
|
+
scope: z.literal("email_invite"),
|
|
464
427
|
});
|
|
465
428
|
/** @internal */
|
|
466
429
|
export type ProtectionBypass4$Outbound = {
|
|
467
430
|
createdAt: number;
|
|
468
431
|
lastUpdatedAt: number;
|
|
469
432
|
lastUpdatedBy: string;
|
|
470
|
-
scope:
|
|
433
|
+
scope: "email_invite";
|
|
471
434
|
};
|
|
472
435
|
|
|
473
436
|
/** @internal */
|
|
@@ -479,7 +442,7 @@ export const ProtectionBypass4$outboundSchema: z.ZodType<
|
|
|
479
442
|
createdAt: z.number(),
|
|
480
443
|
lastUpdatedAt: z.number(),
|
|
481
444
|
lastUpdatedBy: z.string(),
|
|
482
|
-
scope:
|
|
445
|
+
scope: z.literal("email_invite"),
|
|
483
446
|
});
|
|
484
447
|
|
|
485
448
|
export function protectionBypass4ToJSON(
|
|
@@ -499,15 +462,6 @@ export function protectionBypass4FromJSON(
|
|
|
499
462
|
);
|
|
500
463
|
}
|
|
501
464
|
|
|
502
|
-
/** @internal */
|
|
503
|
-
export const GetAliasProtectionBypassAliasesResponseScope$inboundSchema:
|
|
504
|
-
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> = z
|
|
505
|
-
.nativeEnum(GetAliasProtectionBypassAliasesResponseScope);
|
|
506
|
-
/** @internal */
|
|
507
|
-
export const GetAliasProtectionBypassAliasesResponseScope$outboundSchema:
|
|
508
|
-
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> =
|
|
509
|
-
GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
|
|
510
|
-
|
|
511
465
|
/** @internal */
|
|
512
466
|
export const ProtectionBypass3$inboundSchema: z.ZodType<
|
|
513
467
|
ProtectionBypass3,
|
|
@@ -516,13 +470,13 @@ export const ProtectionBypass3$inboundSchema: z.ZodType<
|
|
|
516
470
|
> = z.object({
|
|
517
471
|
createdAt: z.number(),
|
|
518
472
|
createdBy: z.string(),
|
|
519
|
-
scope:
|
|
473
|
+
scope: z.literal("alias-protection-override"),
|
|
520
474
|
});
|
|
521
475
|
/** @internal */
|
|
522
476
|
export type ProtectionBypass3$Outbound = {
|
|
523
477
|
createdAt: number;
|
|
524
478
|
createdBy: string;
|
|
525
|
-
scope:
|
|
479
|
+
scope: "alias-protection-override";
|
|
526
480
|
};
|
|
527
481
|
|
|
528
482
|
/** @internal */
|
|
@@ -533,7 +487,7 @@ export const ProtectionBypass3$outboundSchema: z.ZodType<
|
|
|
533
487
|
> = z.object({
|
|
534
488
|
createdAt: z.number(),
|
|
535
489
|
createdBy: z.string(),
|
|
536
|
-
scope:
|
|
490
|
+
scope: z.literal("alias-protection-override"),
|
|
537
491
|
});
|
|
538
492
|
|
|
539
493
|
export function protectionBypass3ToJSON(
|
|
@@ -562,16 +516,6 @@ export const ProtectionBypassAccess$outboundSchema: z.ZodNativeEnum<
|
|
|
562
516
|
typeof ProtectionBypassAccess
|
|
563
517
|
> = ProtectionBypassAccess$inboundSchema;
|
|
564
518
|
|
|
565
|
-
/** @internal */
|
|
566
|
-
export const GetAliasProtectionBypassAliasesScope$inboundSchema:
|
|
567
|
-
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> = z.nativeEnum(
|
|
568
|
-
GetAliasProtectionBypassAliasesScope,
|
|
569
|
-
);
|
|
570
|
-
/** @internal */
|
|
571
|
-
export const GetAliasProtectionBypassAliasesScope$outboundSchema:
|
|
572
|
-
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> =
|
|
573
|
-
GetAliasProtectionBypassAliasesScope$inboundSchema;
|
|
574
|
-
|
|
575
519
|
/** @internal */
|
|
576
520
|
export const GetAliasProtectionBypass2$inboundSchema: z.ZodType<
|
|
577
521
|
GetAliasProtectionBypass2,
|
|
@@ -582,7 +526,7 @@ export const GetAliasProtectionBypass2$inboundSchema: z.ZodType<
|
|
|
582
526
|
lastUpdatedAt: z.number(),
|
|
583
527
|
lastUpdatedBy: z.string(),
|
|
584
528
|
access: ProtectionBypassAccess$inboundSchema,
|
|
585
|
-
scope:
|
|
529
|
+
scope: z.literal("user"),
|
|
586
530
|
});
|
|
587
531
|
/** @internal */
|
|
588
532
|
export type GetAliasProtectionBypass2$Outbound = {
|
|
@@ -590,7 +534,7 @@ export type GetAliasProtectionBypass2$Outbound = {
|
|
|
590
534
|
lastUpdatedAt: number;
|
|
591
535
|
lastUpdatedBy: string;
|
|
592
536
|
access: string;
|
|
593
|
-
scope:
|
|
537
|
+
scope: "user";
|
|
594
538
|
};
|
|
595
539
|
|
|
596
540
|
/** @internal */
|
|
@@ -603,7 +547,7 @@ export const GetAliasProtectionBypass2$outboundSchema: z.ZodType<
|
|
|
603
547
|
lastUpdatedAt: z.number(),
|
|
604
548
|
lastUpdatedBy: z.string(),
|
|
605
549
|
access: ProtectionBypassAccess$outboundSchema,
|
|
606
|
-
scope:
|
|
550
|
+
scope: z.literal("user"),
|
|
607
551
|
});
|
|
608
552
|
|
|
609
553
|
export function getAliasProtectionBypass2ToJSON(
|
|
@@ -623,15 +567,6 @@ export function getAliasProtectionBypass2FromJSON(
|
|
|
623
567
|
);
|
|
624
568
|
}
|
|
625
569
|
|
|
626
|
-
/** @internal */
|
|
627
|
-
export const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
|
|
628
|
-
typeof GetAliasProtectionBypassScope
|
|
629
|
-
> = z.nativeEnum(GetAliasProtectionBypassScope);
|
|
630
|
-
/** @internal */
|
|
631
|
-
export const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
|
|
632
|
-
typeof GetAliasProtectionBypassScope
|
|
633
|
-
> = GetAliasProtectionBypassScope$inboundSchema;
|
|
634
|
-
|
|
635
570
|
/** @internal */
|
|
636
571
|
export const GetAliasProtectionBypass1$inboundSchema: z.ZodType<
|
|
637
572
|
GetAliasProtectionBypass1,
|
|
@@ -640,14 +575,14 @@ export const GetAliasProtectionBypass1$inboundSchema: z.ZodType<
|
|
|
640
575
|
> = z.object({
|
|
641
576
|
createdAt: z.number(),
|
|
642
577
|
createdBy: z.string(),
|
|
643
|
-
scope:
|
|
578
|
+
scope: z.literal("shareable-link"),
|
|
644
579
|
expires: z.number().optional(),
|
|
645
580
|
});
|
|
646
581
|
/** @internal */
|
|
647
582
|
export type GetAliasProtectionBypass1$Outbound = {
|
|
648
583
|
createdAt: number;
|
|
649
584
|
createdBy: string;
|
|
650
|
-
scope:
|
|
585
|
+
scope: "shareable-link";
|
|
651
586
|
expires?: number | undefined;
|
|
652
587
|
};
|
|
653
588
|
|
|
@@ -659,7 +594,7 @@ export const GetAliasProtectionBypass1$outboundSchema: z.ZodType<
|
|
|
659
594
|
> = z.object({
|
|
660
595
|
createdAt: z.number(),
|
|
661
596
|
createdBy: z.string(),
|
|
662
|
-
scope:
|
|
597
|
+
scope: z.literal("shareable-link"),
|
|
663
598
|
expires: z.number().optional(),
|
|
664
599
|
});
|
|
665
600
|
|
|
@@ -686,17 +621,17 @@ export const GetAliasProtectionBypass$inboundSchema: z.ZodType<
|
|
|
686
621
|
z.ZodTypeDef,
|
|
687
622
|
unknown
|
|
688
623
|
> = z.union([
|
|
689
|
-
z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
|
|
690
|
-
z.lazy(() => ProtectionBypass4$inboundSchema),
|
|
691
624
|
z.lazy(() => GetAliasProtectionBypass1$inboundSchema),
|
|
625
|
+
z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
|
|
692
626
|
z.lazy(() => ProtectionBypass3$inboundSchema),
|
|
627
|
+
z.lazy(() => ProtectionBypass4$inboundSchema),
|
|
693
628
|
]);
|
|
694
629
|
/** @internal */
|
|
695
630
|
export type GetAliasProtectionBypass$Outbound =
|
|
696
|
-
| GetAliasProtectionBypass2$Outbound
|
|
697
|
-
| ProtectionBypass4$Outbound
|
|
698
631
|
| GetAliasProtectionBypass1$Outbound
|
|
699
|
-
|
|
|
632
|
+
| GetAliasProtectionBypass2$Outbound
|
|
633
|
+
| ProtectionBypass3$Outbound
|
|
634
|
+
| ProtectionBypass4$Outbound;
|
|
700
635
|
|
|
701
636
|
/** @internal */
|
|
702
637
|
export const GetAliasProtectionBypass$outboundSchema: z.ZodType<
|
|
@@ -704,10 +639,10 @@ export const GetAliasProtectionBypass$outboundSchema: z.ZodType<
|
|
|
704
639
|
z.ZodTypeDef,
|
|
705
640
|
GetAliasProtectionBypass
|
|
706
641
|
> = z.union([
|
|
707
|
-
z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
|
|
708
|
-
z.lazy(() => ProtectionBypass4$outboundSchema),
|
|
709
642
|
z.lazy(() => GetAliasProtectionBypass1$outboundSchema),
|
|
643
|
+
z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
|
|
710
644
|
z.lazy(() => ProtectionBypass3$outboundSchema),
|
|
645
|
+
z.lazy(() => ProtectionBypass4$outboundSchema),
|
|
711
646
|
]);
|
|
712
647
|
|
|
713
648
|
export function getAliasProtectionBypassToJSON(
|
|
@@ -1004,10 +939,10 @@ export const GetAliasResponseBody$inboundSchema: z.ZodType<
|
|
|
1004
939
|
updatedAt: z.number().optional(),
|
|
1005
940
|
protectionBypass: z.record(
|
|
1006
941
|
z.union([
|
|
1007
|
-
z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
|
|
1008
|
-
z.lazy(() => ProtectionBypass4$inboundSchema),
|
|
1009
942
|
z.lazy(() => GetAliasProtectionBypass1$inboundSchema),
|
|
943
|
+
z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
|
|
1010
944
|
z.lazy(() => ProtectionBypass3$inboundSchema),
|
|
945
|
+
z.lazy(() => ProtectionBypass4$inboundSchema),
|
|
1011
946
|
]),
|
|
1012
947
|
).optional(),
|
|
1013
948
|
microfrontends: z.lazy(() => GetAliasMicrofrontends$inboundSchema).optional(),
|
|
@@ -1028,10 +963,10 @@ export type GetAliasResponseBody$Outbound = {
|
|
|
1028
963
|
updatedAt?: number | undefined;
|
|
1029
964
|
protectionBypass?: {
|
|
1030
965
|
[k: string]:
|
|
1031
|
-
| GetAliasProtectionBypass2$Outbound
|
|
1032
|
-
| ProtectionBypass4$Outbound
|
|
1033
966
|
| GetAliasProtectionBypass1$Outbound
|
|
1034
|
-
|
|
|
967
|
+
| GetAliasProtectionBypass2$Outbound
|
|
968
|
+
| ProtectionBypass3$Outbound
|
|
969
|
+
| ProtectionBypass4$Outbound;
|
|
1035
970
|
} | undefined;
|
|
1036
971
|
microfrontends?: GetAliasMicrofrontends$Outbound | undefined;
|
|
1037
972
|
};
|
|
@@ -1056,10 +991,10 @@ export const GetAliasResponseBody$outboundSchema: z.ZodType<
|
|
|
1056
991
|
updatedAt: z.number().optional(),
|
|
1057
992
|
protectionBypass: z.record(
|
|
1058
993
|
z.union([
|
|
1059
|
-
z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
|
|
1060
|
-
z.lazy(() => ProtectionBypass4$outboundSchema),
|
|
1061
994
|
z.lazy(() => GetAliasProtectionBypass1$outboundSchema),
|
|
995
|
+
z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
|
|
1062
996
|
z.lazy(() => ProtectionBypass3$outboundSchema),
|
|
997
|
+
z.lazy(() => ProtectionBypass4$outboundSchema),
|
|
1063
998
|
]),
|
|
1064
999
|
).optional(),
|
|
1065
1000
|
microfrontends: z.lazy(() => GetAliasMicrofrontends$outboundSchema)
|