@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
package/src/models/getaliasop.ts
CHANGED
|
@@ -75,11 +75,11 @@ export type GetAliasDeployment = {
|
|
|
75
75
|
meta?: string | undefined;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
export const
|
|
78
|
+
export const GetAliasProtectionBypassAliasesResponse200Scope = {
|
|
79
79
|
EmailInvite: "email_invite",
|
|
80
80
|
} as const;
|
|
81
|
-
export type
|
|
82
|
-
typeof
|
|
81
|
+
export type GetAliasProtectionBypassAliasesResponse200Scope = ClosedEnum<
|
|
82
|
+
typeof GetAliasProtectionBypassAliasesResponse200Scope
|
|
83
83
|
>;
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -89,14 +89,14 @@ export type ProtectionBypass4 = {
|
|
|
89
89
|
createdAt: number;
|
|
90
90
|
lastUpdatedAt: number;
|
|
91
91
|
lastUpdatedBy: string;
|
|
92
|
-
scope:
|
|
92
|
+
scope: GetAliasProtectionBypassAliasesResponse200Scope;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
export const
|
|
95
|
+
export const GetAliasProtectionBypassAliasesResponseScope = {
|
|
96
96
|
AliasProtectionOverride: "alias-protection-override",
|
|
97
97
|
} as const;
|
|
98
|
-
export type
|
|
99
|
-
typeof
|
|
98
|
+
export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum<
|
|
99
|
+
typeof GetAliasProtectionBypassAliasesResponseScope
|
|
100
100
|
>;
|
|
101
101
|
|
|
102
102
|
/**
|
|
@@ -105,7 +105,7 @@ export type GetAliasProtectionBypassAliasesScope = ClosedEnum<
|
|
|
105
105
|
export type ProtectionBypass3 = {
|
|
106
106
|
createdAt: number;
|
|
107
107
|
createdBy: string;
|
|
108
|
-
scope:
|
|
108
|
+
scope: GetAliasProtectionBypassAliasesResponseScope;
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
export const ProtectionBypassAccess = {
|
|
@@ -114,43 +114,45 @@ export const ProtectionBypassAccess = {
|
|
|
114
114
|
} as const;
|
|
115
115
|
export type ProtectionBypassAccess = ClosedEnum<typeof ProtectionBypassAccess>;
|
|
116
116
|
|
|
117
|
-
export const
|
|
117
|
+
export const GetAliasProtectionBypassAliasesScope = {
|
|
118
118
|
User: "user",
|
|
119
119
|
} as const;
|
|
120
|
-
export type
|
|
121
|
-
typeof
|
|
120
|
+
export type GetAliasProtectionBypassAliasesScope = ClosedEnum<
|
|
121
|
+
typeof GetAliasProtectionBypassAliasesScope
|
|
122
122
|
>;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* The protection bypass for the alias
|
|
126
126
|
*/
|
|
127
|
-
export type
|
|
127
|
+
export type GetAliasProtectionBypass2 = {
|
|
128
128
|
createdAt: number;
|
|
129
129
|
lastUpdatedAt: number;
|
|
130
130
|
lastUpdatedBy: string;
|
|
131
131
|
access: ProtectionBypassAccess;
|
|
132
|
-
scope:
|
|
132
|
+
scope: GetAliasProtectionBypassAliasesScope;
|
|
133
133
|
};
|
|
134
134
|
|
|
135
|
-
export const
|
|
135
|
+
export const GetAliasProtectionBypassScope = {
|
|
136
136
|
ShareableLink: "shareable-link",
|
|
137
137
|
} as const;
|
|
138
|
-
export type
|
|
138
|
+
export type GetAliasProtectionBypassScope = ClosedEnum<
|
|
139
|
+
typeof GetAliasProtectionBypassScope
|
|
140
|
+
>;
|
|
139
141
|
|
|
140
142
|
/**
|
|
141
143
|
* The protection bypass for the alias
|
|
142
144
|
*/
|
|
143
|
-
export type
|
|
145
|
+
export type GetAliasProtectionBypass1 = {
|
|
144
146
|
createdAt: number;
|
|
145
147
|
createdBy: string;
|
|
146
|
-
scope:
|
|
148
|
+
scope: GetAliasProtectionBypassScope;
|
|
147
149
|
};
|
|
148
150
|
|
|
149
151
|
export type GetAliasProtectionBypass =
|
|
150
|
-
|
|
|
152
|
+
| GetAliasProtectionBypass1
|
|
151
153
|
| ProtectionBypass3
|
|
152
154
|
| ProtectionBypass4
|
|
153
|
-
|
|
|
155
|
+
| GetAliasProtectionBypass2;
|
|
154
156
|
|
|
155
157
|
/**
|
|
156
158
|
* The alias information
|
|
@@ -209,10 +211,10 @@ export type GetAliasResponseBody = {
|
|
|
209
211
|
*/
|
|
210
212
|
protectionBypass?: {
|
|
211
213
|
[k: string]:
|
|
212
|
-
|
|
|
214
|
+
| GetAliasProtectionBypass1
|
|
213
215
|
| ProtectionBypass3
|
|
214
216
|
| ProtectionBypass4
|
|
215
|
-
|
|
|
217
|
+
| GetAliasProtectionBypass2;
|
|
216
218
|
} | undefined;
|
|
217
219
|
};
|
|
218
220
|
|
|
@@ -405,26 +407,26 @@ export function getAliasDeploymentFromJSON(
|
|
|
405
407
|
}
|
|
406
408
|
|
|
407
409
|
/** @internal */
|
|
408
|
-
export const
|
|
409
|
-
z.ZodNativeEnum<typeof
|
|
410
|
-
.nativeEnum(
|
|
410
|
+
export const GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema:
|
|
411
|
+
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope> = z
|
|
412
|
+
.nativeEnum(GetAliasProtectionBypassAliasesResponse200Scope);
|
|
411
413
|
|
|
412
414
|
/** @internal */
|
|
413
|
-
export const
|
|
414
|
-
z.ZodNativeEnum<typeof
|
|
415
|
-
|
|
415
|
+
export const GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema:
|
|
416
|
+
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope> =
|
|
417
|
+
GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema;
|
|
416
418
|
|
|
417
419
|
/**
|
|
418
420
|
* @internal
|
|
419
421
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
420
422
|
*/
|
|
421
|
-
export namespace
|
|
422
|
-
/** @deprecated use `
|
|
423
|
+
export namespace GetAliasProtectionBypassAliasesResponse200Scope$ {
|
|
424
|
+
/** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
|
|
423
425
|
export const inboundSchema =
|
|
424
|
-
|
|
425
|
-
/** @deprecated use `
|
|
426
|
+
GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema;
|
|
427
|
+
/** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
|
|
426
428
|
export const outboundSchema =
|
|
427
|
-
|
|
429
|
+
GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema;
|
|
428
430
|
}
|
|
429
431
|
|
|
430
432
|
/** @internal */
|
|
@@ -436,7 +438,7 @@ export const ProtectionBypass4$inboundSchema: z.ZodType<
|
|
|
436
438
|
createdAt: z.number(),
|
|
437
439
|
lastUpdatedAt: z.number(),
|
|
438
440
|
lastUpdatedBy: z.string(),
|
|
439
|
-
scope:
|
|
441
|
+
scope: GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema,
|
|
440
442
|
});
|
|
441
443
|
|
|
442
444
|
/** @internal */
|
|
@@ -456,7 +458,7 @@ export const ProtectionBypass4$outboundSchema: z.ZodType<
|
|
|
456
458
|
createdAt: z.number(),
|
|
457
459
|
lastUpdatedAt: z.number(),
|
|
458
460
|
lastUpdatedBy: z.string(),
|
|
459
|
-
scope:
|
|
461
|
+
scope: GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema,
|
|
460
462
|
});
|
|
461
463
|
|
|
462
464
|
/**
|
|
@@ -491,27 +493,26 @@ export function protectionBypass4FromJSON(
|
|
|
491
493
|
}
|
|
492
494
|
|
|
493
495
|
/** @internal */
|
|
494
|
-
export const
|
|
495
|
-
z.ZodNativeEnum<typeof
|
|
496
|
-
|
|
497
|
-
);
|
|
496
|
+
export const GetAliasProtectionBypassAliasesResponseScope$inboundSchema:
|
|
497
|
+
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> = z
|
|
498
|
+
.nativeEnum(GetAliasProtectionBypassAliasesResponseScope);
|
|
498
499
|
|
|
499
500
|
/** @internal */
|
|
500
|
-
export const
|
|
501
|
-
z.ZodNativeEnum<typeof
|
|
502
|
-
|
|
501
|
+
export const GetAliasProtectionBypassAliasesResponseScope$outboundSchema:
|
|
502
|
+
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope> =
|
|
503
|
+
GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
|
|
503
504
|
|
|
504
505
|
/**
|
|
505
506
|
* @internal
|
|
506
507
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
507
508
|
*/
|
|
508
|
-
export namespace
|
|
509
|
-
/** @deprecated use `
|
|
509
|
+
export namespace GetAliasProtectionBypassAliasesResponseScope$ {
|
|
510
|
+
/** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$inboundSchema` instead. */
|
|
510
511
|
export const inboundSchema =
|
|
511
|
-
|
|
512
|
-
/** @deprecated use `
|
|
512
|
+
GetAliasProtectionBypassAliasesResponseScope$inboundSchema;
|
|
513
|
+
/** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$outboundSchema` instead. */
|
|
513
514
|
export const outboundSchema =
|
|
514
|
-
|
|
515
|
+
GetAliasProtectionBypassAliasesResponseScope$outboundSchema;
|
|
515
516
|
}
|
|
516
517
|
|
|
517
518
|
/** @internal */
|
|
@@ -522,7 +523,7 @@ export const ProtectionBypass3$inboundSchema: z.ZodType<
|
|
|
522
523
|
> = z.object({
|
|
523
524
|
createdAt: z.number(),
|
|
524
525
|
createdBy: z.string(),
|
|
525
|
-
scope:
|
|
526
|
+
scope: GetAliasProtectionBypassAliasesResponseScope$inboundSchema,
|
|
526
527
|
});
|
|
527
528
|
|
|
528
529
|
/** @internal */
|
|
@@ -540,7 +541,7 @@ export const ProtectionBypass3$outboundSchema: z.ZodType<
|
|
|
540
541
|
> = z.object({
|
|
541
542
|
createdAt: z.number(),
|
|
542
543
|
createdBy: z.string(),
|
|
543
|
-
scope:
|
|
544
|
+
scope: GetAliasProtectionBypassAliasesResponseScope$outboundSchema,
|
|
544
545
|
});
|
|
545
546
|
|
|
546
547
|
/**
|
|
@@ -596,29 +597,32 @@ export namespace ProtectionBypassAccess$ {
|
|
|
596
597
|
}
|
|
597
598
|
|
|
598
599
|
/** @internal */
|
|
599
|
-
export const
|
|
600
|
-
typeof
|
|
601
|
-
|
|
600
|
+
export const GetAliasProtectionBypassAliasesScope$inboundSchema:
|
|
601
|
+
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> = z.nativeEnum(
|
|
602
|
+
GetAliasProtectionBypassAliasesScope,
|
|
603
|
+
);
|
|
602
604
|
|
|
603
605
|
/** @internal */
|
|
604
|
-
export const
|
|
605
|
-
typeof
|
|
606
|
-
|
|
606
|
+
export const GetAliasProtectionBypassAliasesScope$outboundSchema:
|
|
607
|
+
z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope> =
|
|
608
|
+
GetAliasProtectionBypassAliasesScope$inboundSchema;
|
|
607
609
|
|
|
608
610
|
/**
|
|
609
611
|
* @internal
|
|
610
612
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
611
613
|
*/
|
|
612
|
-
export namespace
|
|
613
|
-
/** @deprecated use `
|
|
614
|
-
export const inboundSchema =
|
|
615
|
-
|
|
616
|
-
|
|
614
|
+
export namespace GetAliasProtectionBypassAliasesScope$ {
|
|
615
|
+
/** @deprecated use `GetAliasProtectionBypassAliasesScope$inboundSchema` instead. */
|
|
616
|
+
export const inboundSchema =
|
|
617
|
+
GetAliasProtectionBypassAliasesScope$inboundSchema;
|
|
618
|
+
/** @deprecated use `GetAliasProtectionBypassAliasesScope$outboundSchema` instead. */
|
|
619
|
+
export const outboundSchema =
|
|
620
|
+
GetAliasProtectionBypassAliasesScope$outboundSchema;
|
|
617
621
|
}
|
|
618
622
|
|
|
619
623
|
/** @internal */
|
|
620
|
-
export const
|
|
621
|
-
|
|
624
|
+
export const GetAliasProtectionBypass2$inboundSchema: z.ZodType<
|
|
625
|
+
GetAliasProtectionBypass2,
|
|
622
626
|
z.ZodTypeDef,
|
|
623
627
|
unknown
|
|
624
628
|
> = z.object({
|
|
@@ -626,11 +630,11 @@ export const ProtectionBypass2$inboundSchema: z.ZodType<
|
|
|
626
630
|
lastUpdatedAt: z.number(),
|
|
627
631
|
lastUpdatedBy: z.string(),
|
|
628
632
|
access: ProtectionBypassAccess$inboundSchema,
|
|
629
|
-
scope:
|
|
633
|
+
scope: GetAliasProtectionBypassAliasesScope$inboundSchema,
|
|
630
634
|
});
|
|
631
635
|
|
|
632
636
|
/** @internal */
|
|
633
|
-
export type
|
|
637
|
+
export type GetAliasProtectionBypass2$Outbound = {
|
|
634
638
|
createdAt: number;
|
|
635
639
|
lastUpdatedAt: number;
|
|
636
640
|
lastUpdatedBy: string;
|
|
@@ -639,127 +643,127 @@ export type ProtectionBypass2$Outbound = {
|
|
|
639
643
|
};
|
|
640
644
|
|
|
641
645
|
/** @internal */
|
|
642
|
-
export const
|
|
643
|
-
|
|
646
|
+
export const GetAliasProtectionBypass2$outboundSchema: z.ZodType<
|
|
647
|
+
GetAliasProtectionBypass2$Outbound,
|
|
644
648
|
z.ZodTypeDef,
|
|
645
|
-
|
|
649
|
+
GetAliasProtectionBypass2
|
|
646
650
|
> = z.object({
|
|
647
651
|
createdAt: z.number(),
|
|
648
652
|
lastUpdatedAt: z.number(),
|
|
649
653
|
lastUpdatedBy: z.string(),
|
|
650
654
|
access: ProtectionBypassAccess$outboundSchema,
|
|
651
|
-
scope:
|
|
655
|
+
scope: GetAliasProtectionBypassAliasesScope$outboundSchema,
|
|
652
656
|
});
|
|
653
657
|
|
|
654
658
|
/**
|
|
655
659
|
* @internal
|
|
656
660
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
657
661
|
*/
|
|
658
|
-
export namespace
|
|
659
|
-
/** @deprecated use `
|
|
660
|
-
export const inboundSchema =
|
|
661
|
-
/** @deprecated use `
|
|
662
|
-
export const outboundSchema =
|
|
663
|
-
/** @deprecated use `
|
|
664
|
-
export type Outbound =
|
|
662
|
+
export namespace GetAliasProtectionBypass2$ {
|
|
663
|
+
/** @deprecated use `GetAliasProtectionBypass2$inboundSchema` instead. */
|
|
664
|
+
export const inboundSchema = GetAliasProtectionBypass2$inboundSchema;
|
|
665
|
+
/** @deprecated use `GetAliasProtectionBypass2$outboundSchema` instead. */
|
|
666
|
+
export const outboundSchema = GetAliasProtectionBypass2$outboundSchema;
|
|
667
|
+
/** @deprecated use `GetAliasProtectionBypass2$Outbound` instead. */
|
|
668
|
+
export type Outbound = GetAliasProtectionBypass2$Outbound;
|
|
665
669
|
}
|
|
666
670
|
|
|
667
|
-
export function
|
|
668
|
-
|
|
671
|
+
export function getAliasProtectionBypass2ToJSON(
|
|
672
|
+
getAliasProtectionBypass2: GetAliasProtectionBypass2,
|
|
669
673
|
): string {
|
|
670
674
|
return JSON.stringify(
|
|
671
|
-
|
|
675
|
+
GetAliasProtectionBypass2$outboundSchema.parse(getAliasProtectionBypass2),
|
|
672
676
|
);
|
|
673
677
|
}
|
|
674
678
|
|
|
675
|
-
export function
|
|
679
|
+
export function getAliasProtectionBypass2FromJSON(
|
|
676
680
|
jsonString: string,
|
|
677
|
-
): SafeParseResult<
|
|
681
|
+
): SafeParseResult<GetAliasProtectionBypass2, SDKValidationError> {
|
|
678
682
|
return safeParse(
|
|
679
683
|
jsonString,
|
|
680
|
-
(x) =>
|
|
681
|
-
`Failed to parse '
|
|
684
|
+
(x) => GetAliasProtectionBypass2$inboundSchema.parse(JSON.parse(x)),
|
|
685
|
+
`Failed to parse 'GetAliasProtectionBypass2' from JSON`,
|
|
682
686
|
);
|
|
683
687
|
}
|
|
684
688
|
|
|
685
689
|
/** @internal */
|
|
686
|
-
export const
|
|
687
|
-
typeof
|
|
688
|
-
> = z.nativeEnum(
|
|
690
|
+
export const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum<
|
|
691
|
+
typeof GetAliasProtectionBypassScope
|
|
692
|
+
> = z.nativeEnum(GetAliasProtectionBypassScope);
|
|
689
693
|
|
|
690
694
|
/** @internal */
|
|
691
|
-
export const
|
|
692
|
-
typeof
|
|
693
|
-
> =
|
|
695
|
+
export const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum<
|
|
696
|
+
typeof GetAliasProtectionBypassScope
|
|
697
|
+
> = GetAliasProtectionBypassScope$inboundSchema;
|
|
694
698
|
|
|
695
699
|
/**
|
|
696
700
|
* @internal
|
|
697
701
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
698
702
|
*/
|
|
699
|
-
export namespace
|
|
700
|
-
/** @deprecated use `
|
|
701
|
-
export const inboundSchema =
|
|
702
|
-
/** @deprecated use `
|
|
703
|
-
export const outboundSchema =
|
|
703
|
+
export namespace GetAliasProtectionBypassScope$ {
|
|
704
|
+
/** @deprecated use `GetAliasProtectionBypassScope$inboundSchema` instead. */
|
|
705
|
+
export const inboundSchema = GetAliasProtectionBypassScope$inboundSchema;
|
|
706
|
+
/** @deprecated use `GetAliasProtectionBypassScope$outboundSchema` instead. */
|
|
707
|
+
export const outboundSchema = GetAliasProtectionBypassScope$outboundSchema;
|
|
704
708
|
}
|
|
705
709
|
|
|
706
710
|
/** @internal */
|
|
707
|
-
export const
|
|
708
|
-
|
|
711
|
+
export const GetAliasProtectionBypass1$inboundSchema: z.ZodType<
|
|
712
|
+
GetAliasProtectionBypass1,
|
|
709
713
|
z.ZodTypeDef,
|
|
710
714
|
unknown
|
|
711
715
|
> = z.object({
|
|
712
716
|
createdAt: z.number(),
|
|
713
717
|
createdBy: z.string(),
|
|
714
|
-
scope:
|
|
718
|
+
scope: GetAliasProtectionBypassScope$inboundSchema,
|
|
715
719
|
});
|
|
716
720
|
|
|
717
721
|
/** @internal */
|
|
718
|
-
export type
|
|
722
|
+
export type GetAliasProtectionBypass1$Outbound = {
|
|
719
723
|
createdAt: number;
|
|
720
724
|
createdBy: string;
|
|
721
725
|
scope: string;
|
|
722
726
|
};
|
|
723
727
|
|
|
724
728
|
/** @internal */
|
|
725
|
-
export const
|
|
726
|
-
|
|
729
|
+
export const GetAliasProtectionBypass1$outboundSchema: z.ZodType<
|
|
730
|
+
GetAliasProtectionBypass1$Outbound,
|
|
727
731
|
z.ZodTypeDef,
|
|
728
|
-
|
|
732
|
+
GetAliasProtectionBypass1
|
|
729
733
|
> = z.object({
|
|
730
734
|
createdAt: z.number(),
|
|
731
735
|
createdBy: z.string(),
|
|
732
|
-
scope:
|
|
736
|
+
scope: GetAliasProtectionBypassScope$outboundSchema,
|
|
733
737
|
});
|
|
734
738
|
|
|
735
739
|
/**
|
|
736
740
|
* @internal
|
|
737
741
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
738
742
|
*/
|
|
739
|
-
export namespace
|
|
740
|
-
/** @deprecated use `
|
|
741
|
-
export const inboundSchema =
|
|
742
|
-
/** @deprecated use `
|
|
743
|
-
export const outboundSchema =
|
|
744
|
-
/** @deprecated use `
|
|
745
|
-
export type Outbound =
|
|
743
|
+
export namespace GetAliasProtectionBypass1$ {
|
|
744
|
+
/** @deprecated use `GetAliasProtectionBypass1$inboundSchema` instead. */
|
|
745
|
+
export const inboundSchema = GetAliasProtectionBypass1$inboundSchema;
|
|
746
|
+
/** @deprecated use `GetAliasProtectionBypass1$outboundSchema` instead. */
|
|
747
|
+
export const outboundSchema = GetAliasProtectionBypass1$outboundSchema;
|
|
748
|
+
/** @deprecated use `GetAliasProtectionBypass1$Outbound` instead. */
|
|
749
|
+
export type Outbound = GetAliasProtectionBypass1$Outbound;
|
|
746
750
|
}
|
|
747
751
|
|
|
748
|
-
export function
|
|
749
|
-
|
|
752
|
+
export function getAliasProtectionBypass1ToJSON(
|
|
753
|
+
getAliasProtectionBypass1: GetAliasProtectionBypass1,
|
|
750
754
|
): string {
|
|
751
755
|
return JSON.stringify(
|
|
752
|
-
|
|
756
|
+
GetAliasProtectionBypass1$outboundSchema.parse(getAliasProtectionBypass1),
|
|
753
757
|
);
|
|
754
758
|
}
|
|
755
759
|
|
|
756
|
-
export function
|
|
760
|
+
export function getAliasProtectionBypass1FromJSON(
|
|
757
761
|
jsonString: string,
|
|
758
|
-
): SafeParseResult<
|
|
762
|
+
): SafeParseResult<GetAliasProtectionBypass1, SDKValidationError> {
|
|
759
763
|
return safeParse(
|
|
760
764
|
jsonString,
|
|
761
|
-
(x) =>
|
|
762
|
-
`Failed to parse '
|
|
765
|
+
(x) => GetAliasProtectionBypass1$inboundSchema.parse(JSON.parse(x)),
|
|
766
|
+
`Failed to parse 'GetAliasProtectionBypass1' from JSON`,
|
|
763
767
|
);
|
|
764
768
|
}
|
|
765
769
|
|
|
@@ -769,18 +773,18 @@ export const GetAliasProtectionBypass$inboundSchema: z.ZodType<
|
|
|
769
773
|
z.ZodTypeDef,
|
|
770
774
|
unknown
|
|
771
775
|
> = z.union([
|
|
772
|
-
z.lazy(() =>
|
|
776
|
+
z.lazy(() => GetAliasProtectionBypass1$inboundSchema),
|
|
773
777
|
z.lazy(() => ProtectionBypass3$inboundSchema),
|
|
774
778
|
z.lazy(() => ProtectionBypass4$inboundSchema),
|
|
775
|
-
z.lazy(() =>
|
|
779
|
+
z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
|
|
776
780
|
]);
|
|
777
781
|
|
|
778
782
|
/** @internal */
|
|
779
783
|
export type GetAliasProtectionBypass$Outbound =
|
|
780
|
-
|
|
|
784
|
+
| GetAliasProtectionBypass1$Outbound
|
|
781
785
|
| ProtectionBypass3$Outbound
|
|
782
786
|
| ProtectionBypass4$Outbound
|
|
783
|
-
|
|
|
787
|
+
| GetAliasProtectionBypass2$Outbound;
|
|
784
788
|
|
|
785
789
|
/** @internal */
|
|
786
790
|
export const GetAliasProtectionBypass$outboundSchema: z.ZodType<
|
|
@@ -788,10 +792,10 @@ export const GetAliasProtectionBypass$outboundSchema: z.ZodType<
|
|
|
788
792
|
z.ZodTypeDef,
|
|
789
793
|
GetAliasProtectionBypass
|
|
790
794
|
> = z.union([
|
|
791
|
-
z.lazy(() =>
|
|
795
|
+
z.lazy(() => GetAliasProtectionBypass1$outboundSchema),
|
|
792
796
|
z.lazy(() => ProtectionBypass3$outboundSchema),
|
|
793
797
|
z.lazy(() => ProtectionBypass4$outboundSchema),
|
|
794
|
-
z.lazy(() =>
|
|
798
|
+
z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
|
|
795
799
|
]);
|
|
796
800
|
|
|
797
801
|
/**
|
|
@@ -845,10 +849,10 @@ export const GetAliasResponseBody$inboundSchema: z.ZodType<
|
|
|
845
849
|
updatedAt: z.nullable(z.number()).optional(),
|
|
846
850
|
protectionBypass: z.record(
|
|
847
851
|
z.union([
|
|
848
|
-
z.lazy(() =>
|
|
852
|
+
z.lazy(() => GetAliasProtectionBypass1$inboundSchema),
|
|
849
853
|
z.lazy(() => ProtectionBypass3$inboundSchema),
|
|
850
854
|
z.lazy(() => ProtectionBypass4$inboundSchema),
|
|
851
|
-
z.lazy(() =>
|
|
855
|
+
z.lazy(() => GetAliasProtectionBypass2$inboundSchema),
|
|
852
856
|
]),
|
|
853
857
|
).optional(),
|
|
854
858
|
});
|
|
@@ -869,10 +873,10 @@ export type GetAliasResponseBody$Outbound = {
|
|
|
869
873
|
updatedAt?: number | null | undefined;
|
|
870
874
|
protectionBypass?: {
|
|
871
875
|
[k: string]:
|
|
872
|
-
|
|
|
876
|
+
| GetAliasProtectionBypass1$Outbound
|
|
873
877
|
| ProtectionBypass3$Outbound
|
|
874
878
|
| ProtectionBypass4$Outbound
|
|
875
|
-
|
|
|
879
|
+
| GetAliasProtectionBypass2$Outbound;
|
|
876
880
|
} | undefined;
|
|
877
881
|
};
|
|
878
882
|
|
|
@@ -896,10 +900,10 @@ export const GetAliasResponseBody$outboundSchema: z.ZodType<
|
|
|
896
900
|
updatedAt: z.nullable(z.number()).optional(),
|
|
897
901
|
protectionBypass: z.record(
|
|
898
902
|
z.union([
|
|
899
|
-
z.lazy(() =>
|
|
903
|
+
z.lazy(() => GetAliasProtectionBypass1$outboundSchema),
|
|
900
904
|
z.lazy(() => ProtectionBypass3$outboundSchema),
|
|
901
905
|
z.lazy(() => ProtectionBypass4$outboundSchema),
|
|
902
|
-
z.lazy(() =>
|
|
906
|
+
z.lazy(() => GetAliasProtectionBypass2$outboundSchema),
|
|
903
907
|
]),
|
|
904
908
|
).optional(),
|
|
905
909
|
});
|