@vercel/sdk 1.10.3 → 1.10.4

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.
Files changed (45) hide show
  1. package/bin/mcp-server.js +373 -85
  2. package/bin/mcp-server.js.map +10 -10
  3. package/docs/sdks/aliases/README.md +1 -1
  4. package/esm/__tests__/aliases.test.js +1 -20
  5. package/esm/__tests__/aliases.test.js.map +1 -1
  6. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  7. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  8. package/esm/funcs/aliasesGetAlias.js +2 -2
  9. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  10. package/esm/lib/config.d.ts +2 -2
  11. package/esm/lib/config.js +2 -2
  12. package/esm/mcp-server/mcp-server.js +1 -1
  13. package/esm/mcp-server/server.js +1 -1
  14. package/esm/models/createdeploymentop.d.ts +15 -15
  15. package/esm/models/createdeploymentop.d.ts.map +1 -1
  16. package/esm/models/createdeploymentop.js +15 -15
  17. package/esm/models/createdeploymentop.js.map +1 -1
  18. package/esm/models/getaliasop.d.ts +654 -0
  19. package/esm/models/getaliasop.d.ts.map +1 -1
  20. package/esm/models/getaliasop.js +546 -0
  21. package/esm/models/getaliasop.js.map +1 -1
  22. package/esm/models/listaliasesop.d.ts +66 -66
  23. package/esm/models/listaliasesop.d.ts.map +1 -1
  24. package/esm/models/listaliasesop.js +78 -78
  25. package/esm/models/listaliasesop.js.map +1 -1
  26. package/esm/models/listdeploymentaliasesop.d.ts +30 -30
  27. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  28. package/esm/models/listdeploymentaliasesop.js +34 -34
  29. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  30. package/esm/sdk/aliases.d.ts +2 -2
  31. package/esm/sdk/aliases.d.ts.map +1 -1
  32. package/examples/package-lock.json +1 -1
  33. package/jsr.json +1 -1
  34. package/package.json +1 -1
  35. package/src/__tests__/aliases.test.ts +1 -20
  36. package/src/funcs/aliasesGetAlias.ts +6 -4
  37. package/src/lib/config.ts +2 -2
  38. package/src/mcp-server/mcp-server.ts +1 -1
  39. package/src/mcp-server/server.ts +1 -1
  40. package/src/models/createdeploymentop.ts +61 -39
  41. package/src/models/getaliasop.ts +1262 -0
  42. package/src/models/listaliasesop.ts +143 -124
  43. package/src/models/listdeploymentaliasesop.ts +70 -58
  44. package/src/sdk/aliases.ts +2 -2
  45. package/vercel-spec.json +350 -1
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
2
3
  import { Result as SafeParseResult } from "../types/fp.js";
3
4
  import { SDKValidationError } from "./sdkvalidationerror.js";
4
5
  export type GetAliasRequest = {
@@ -31,6 +32,224 @@ export type GetAliasRequest = {
31
32
  */
32
33
  slug?: string | undefined;
33
34
  };
35
+ /**
36
+ * Information of the user who created the alias
37
+ */
38
+ export type GetAliasCreator = {
39
+ /**
40
+ * ID of the user who created the alias
41
+ */
42
+ uid: string;
43
+ /**
44
+ * Email of the user who created the alias
45
+ */
46
+ email: string;
47
+ /**
48
+ * Username of the user who created the alias
49
+ */
50
+ username: string;
51
+ };
52
+ /**
53
+ * A map with the deployment ID, URL and metadata
54
+ */
55
+ export type GetAliasDeployment = {
56
+ /**
57
+ * The deployment unique identifier
58
+ */
59
+ id: string;
60
+ /**
61
+ * The deployment unique URL
62
+ */
63
+ url: string;
64
+ /**
65
+ * The deployment metadata
66
+ */
67
+ meta?: string | undefined;
68
+ };
69
+ export declare const GetAliasProtectionBypassAliasesResponse200Scope: {
70
+ readonly EmailInvite: "email_invite";
71
+ };
72
+ export type GetAliasProtectionBypassAliasesResponse200Scope = ClosedEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope>;
73
+ /**
74
+ * The protection bypass for the alias
75
+ */
76
+ export type ProtectionBypass4 = {
77
+ createdAt: number;
78
+ lastUpdatedAt: number;
79
+ lastUpdatedBy: string;
80
+ scope: GetAliasProtectionBypassAliasesResponse200Scope;
81
+ };
82
+ export declare const GetAliasProtectionBypassAliasesResponseScope: {
83
+ readonly AliasProtectionOverride: "alias-protection-override";
84
+ };
85
+ export type GetAliasProtectionBypassAliasesResponseScope = ClosedEnum<typeof GetAliasProtectionBypassAliasesResponseScope>;
86
+ /**
87
+ * The protection bypass for the alias
88
+ */
89
+ export type ProtectionBypass3 = {
90
+ createdAt: number;
91
+ createdBy: string;
92
+ scope: GetAliasProtectionBypassAliasesResponseScope;
93
+ };
94
+ export declare const ProtectionBypassAccess: {
95
+ readonly Requested: "requested";
96
+ readonly Granted: "granted";
97
+ };
98
+ export type ProtectionBypassAccess = ClosedEnum<typeof ProtectionBypassAccess>;
99
+ export declare const GetAliasProtectionBypassAliasesScope: {
100
+ readonly User: "user";
101
+ };
102
+ export type GetAliasProtectionBypassAliasesScope = ClosedEnum<typeof GetAliasProtectionBypassAliasesScope>;
103
+ /**
104
+ * The protection bypass for the alias
105
+ */
106
+ export type GetAliasProtectionBypass2 = {
107
+ createdAt: number;
108
+ lastUpdatedAt: number;
109
+ lastUpdatedBy: string;
110
+ access: ProtectionBypassAccess;
111
+ scope: GetAliasProtectionBypassAliasesScope;
112
+ };
113
+ export declare const GetAliasProtectionBypassScope: {
114
+ readonly ShareableLink: "shareable-link";
115
+ };
116
+ export type GetAliasProtectionBypassScope = ClosedEnum<typeof GetAliasProtectionBypassScope>;
117
+ /**
118
+ * The protection bypass for the alias
119
+ */
120
+ export type GetAliasProtectionBypass1 = {
121
+ createdAt: number;
122
+ createdBy: string;
123
+ scope: GetAliasProtectionBypassScope;
124
+ };
125
+ export type GetAliasProtectionBypass = GetAliasProtectionBypass2 | ProtectionBypass4 | GetAliasProtectionBypass1 | ProtectionBypass3;
126
+ export type DefaultApp = {
127
+ projectId: string;
128
+ };
129
+ /**
130
+ * A list of the deployment routing information for each project.
131
+ */
132
+ export type Applications3 = {
133
+ /**
134
+ * This is the deployment for the same commit, it could be a cancelled deployment. The proxy will fallback to the branchDeploymentId and then the fallbackDeploymentId.
135
+ */
136
+ deploymentId?: string | undefined;
137
+ /**
138
+ * This is the latest non-cancelled deployment of the branch alias at the time the commit alias was created. It is possible there is no deployment for the branch, or this was set before the deployment was canceled, in which case this will point to a cancelled deployment, in either case the proxy will fallback to the fallbackDeploymentId.
139
+ */
140
+ branchDeploymentId?: string | undefined;
141
+ /**
142
+ * This is the deployment of the fallback host at the time the commit alias was created. It is possible for this to be a deleted deployment, in which case the proxy will show that the deployment is deleted. It will not use the fallbackHost, as a future deployment on the fallback host could be invalid for this deployment, and it could lead to confusion / incorrect behavior for the commit alias.
143
+ */
144
+ fallbackDeploymentId?: string | undefined;
145
+ /**
146
+ * Temporary for backwards compatibility. Can remove when metadata change is released
147
+ */
148
+ fallbackHost?: string | undefined;
149
+ branchAlias?: string | undefined;
150
+ /**
151
+ * The project ID of the microfrontends application.
152
+ */
153
+ projectId: string;
154
+ };
155
+ /**
156
+ * A list of the deployment routing information for each project.
157
+ */
158
+ export type Applications2 = {
159
+ /**
160
+ * This is always set. For branch aliases, it's used as the fallback if there is no deployment for the branch.
161
+ */
162
+ fallbackHost: string;
163
+ /**
164
+ * Could point to a branch without a deployment if the project was never deployed. The proxy will fallback to the fallbackHost if there is no deployment.
165
+ */
166
+ branchAlias: string;
167
+ /**
168
+ * The project ID of the microfrontends application.
169
+ */
170
+ projectId: string;
171
+ };
172
+ /**
173
+ * A list of the deployment routing information for each project.
174
+ */
175
+ export type Applications1 = {
176
+ /**
177
+ * This is always set. In production it is used as a pointer to each apps production deployment. For pre-production, it's used as the fallback if there is no deployment for the branch.
178
+ */
179
+ fallbackHost: string;
180
+ /**
181
+ * The project ID of the microfrontends application.
182
+ */
183
+ projectId: string;
184
+ };
185
+ export type Applications = Array<Applications1> | Array<Applications2> | Array<Applications3>;
186
+ /**
187
+ * The microfrontends for the alias including the routing configuration
188
+ */
189
+ export type GetAliasMicrofrontends = {
190
+ defaultApp: DefaultApp;
191
+ applications: Array<Applications1> | Array<Applications2> | Array<Applications3>;
192
+ };
193
+ export type GetAliasResponseBody = {
194
+ /**
195
+ * The alias name, it could be a `.vercel.app` subdomain or a custom domain
196
+ */
197
+ alias: string;
198
+ /**
199
+ * The date when the alias was created
200
+ */
201
+ created: Date;
202
+ /**
203
+ * The date when the alias was created in milliseconds since the UNIX epoch
204
+ */
205
+ createdAt?: number | undefined;
206
+ /**
207
+ * Information of the user who created the alias
208
+ */
209
+ creator?: GetAliasCreator | undefined;
210
+ /**
211
+ * The date when the alias was deleted in milliseconds since the UNIX epoch
212
+ */
213
+ deletedAt?: number | undefined;
214
+ /**
215
+ * A map with the deployment ID, URL and metadata
216
+ */
217
+ deployment?: GetAliasDeployment | undefined;
218
+ /**
219
+ * The deployment ID
220
+ */
221
+ deploymentId: string | null;
222
+ /**
223
+ * The unique identifier of the project
224
+ */
225
+ projectId: string | null;
226
+ /**
227
+ * Target destination domain for redirect when the alias is a redirect
228
+ */
229
+ redirect?: string | null | undefined;
230
+ /**
231
+ * Status code to be used on redirect
232
+ */
233
+ redirectStatusCode?: number | null | undefined;
234
+ /**
235
+ * The unique identifier of the alias
236
+ */
237
+ uid: string;
238
+ /**
239
+ * The date when the alias was updated in milliseconds since the UNIX epoch
240
+ */
241
+ updatedAt?: number | undefined;
242
+ /**
243
+ * The protection bypass for the alias
244
+ */
245
+ protectionBypass?: {
246
+ [k: string]: GetAliasProtectionBypass2 | ProtectionBypass4 | GetAliasProtectionBypass1 | ProtectionBypass3;
247
+ } | undefined;
248
+ /**
249
+ * The microfrontends for the alias including the routing configuration
250
+ */
251
+ microfrontends?: GetAliasMicrofrontends | undefined;
252
+ };
34
253
  /** @internal */
35
254
  export declare const GetAliasRequest$inboundSchema: z.ZodType<GetAliasRequest, z.ZodTypeDef, unknown>;
36
255
  /** @internal */
@@ -59,4 +278,439 @@ export declare namespace GetAliasRequest$ {
59
278
  }
60
279
  export declare function getAliasRequestToJSON(getAliasRequest: GetAliasRequest): string;
61
280
  export declare function getAliasRequestFromJSON(jsonString: string): SafeParseResult<GetAliasRequest, SDKValidationError>;
281
+ /** @internal */
282
+ export declare const GetAliasCreator$inboundSchema: z.ZodType<GetAliasCreator, z.ZodTypeDef, unknown>;
283
+ /** @internal */
284
+ export type GetAliasCreator$Outbound = {
285
+ uid: string;
286
+ email: string;
287
+ username: string;
288
+ };
289
+ /** @internal */
290
+ export declare const GetAliasCreator$outboundSchema: z.ZodType<GetAliasCreator$Outbound, z.ZodTypeDef, GetAliasCreator>;
291
+ /**
292
+ * @internal
293
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
294
+ */
295
+ export declare namespace GetAliasCreator$ {
296
+ /** @deprecated use `GetAliasCreator$inboundSchema` instead. */
297
+ const inboundSchema: z.ZodType<GetAliasCreator, z.ZodTypeDef, unknown>;
298
+ /** @deprecated use `GetAliasCreator$outboundSchema` instead. */
299
+ const outboundSchema: z.ZodType<GetAliasCreator$Outbound, z.ZodTypeDef, GetAliasCreator>;
300
+ /** @deprecated use `GetAliasCreator$Outbound` instead. */
301
+ type Outbound = GetAliasCreator$Outbound;
302
+ }
303
+ export declare function getAliasCreatorToJSON(getAliasCreator: GetAliasCreator): string;
304
+ export declare function getAliasCreatorFromJSON(jsonString: string): SafeParseResult<GetAliasCreator, SDKValidationError>;
305
+ /** @internal */
306
+ export declare const GetAliasDeployment$inboundSchema: z.ZodType<GetAliasDeployment, z.ZodTypeDef, unknown>;
307
+ /** @internal */
308
+ export type GetAliasDeployment$Outbound = {
309
+ id: string;
310
+ url: string;
311
+ meta?: string | undefined;
312
+ };
313
+ /** @internal */
314
+ export declare const GetAliasDeployment$outboundSchema: z.ZodType<GetAliasDeployment$Outbound, z.ZodTypeDef, GetAliasDeployment>;
315
+ /**
316
+ * @internal
317
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
318
+ */
319
+ export declare namespace GetAliasDeployment$ {
320
+ /** @deprecated use `GetAliasDeployment$inboundSchema` instead. */
321
+ const inboundSchema: z.ZodType<GetAliasDeployment, z.ZodTypeDef, unknown>;
322
+ /** @deprecated use `GetAliasDeployment$outboundSchema` instead. */
323
+ const outboundSchema: z.ZodType<GetAliasDeployment$Outbound, z.ZodTypeDef, GetAliasDeployment>;
324
+ /** @deprecated use `GetAliasDeployment$Outbound` instead. */
325
+ type Outbound = GetAliasDeployment$Outbound;
326
+ }
327
+ export declare function getAliasDeploymentToJSON(getAliasDeployment: GetAliasDeployment): string;
328
+ export declare function getAliasDeploymentFromJSON(jsonString: string): SafeParseResult<GetAliasDeployment, SDKValidationError>;
329
+ /** @internal */
330
+ export declare const GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope>;
331
+ /** @internal */
332
+ export declare const GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponse200Scope>;
333
+ /**
334
+ * @internal
335
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
336
+ */
337
+ export declare namespace GetAliasProtectionBypassAliasesResponse200Scope$ {
338
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
339
+ const inboundSchema: z.ZodNativeEnum<{
340
+ readonly EmailInvite: "email_invite";
341
+ }>;
342
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
343
+ const outboundSchema: z.ZodNativeEnum<{
344
+ readonly EmailInvite: "email_invite";
345
+ }>;
346
+ }
347
+ /** @internal */
348
+ export declare const ProtectionBypass4$inboundSchema: z.ZodType<ProtectionBypass4, z.ZodTypeDef, unknown>;
349
+ /** @internal */
350
+ export type ProtectionBypass4$Outbound = {
351
+ createdAt: number;
352
+ lastUpdatedAt: number;
353
+ lastUpdatedBy: string;
354
+ scope: string;
355
+ };
356
+ /** @internal */
357
+ export declare const ProtectionBypass4$outboundSchema: z.ZodType<ProtectionBypass4$Outbound, z.ZodTypeDef, ProtectionBypass4>;
358
+ /**
359
+ * @internal
360
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
361
+ */
362
+ export declare namespace ProtectionBypass4$ {
363
+ /** @deprecated use `ProtectionBypass4$inboundSchema` instead. */
364
+ const inboundSchema: z.ZodType<ProtectionBypass4, z.ZodTypeDef, unknown>;
365
+ /** @deprecated use `ProtectionBypass4$outboundSchema` instead. */
366
+ const outboundSchema: z.ZodType<ProtectionBypass4$Outbound, z.ZodTypeDef, ProtectionBypass4>;
367
+ /** @deprecated use `ProtectionBypass4$Outbound` instead. */
368
+ type Outbound = ProtectionBypass4$Outbound;
369
+ }
370
+ export declare function protectionBypass4ToJSON(protectionBypass4: ProtectionBypass4): string;
371
+ export declare function protectionBypass4FromJSON(jsonString: string): SafeParseResult<ProtectionBypass4, SDKValidationError>;
372
+ /** @internal */
373
+ export declare const GetAliasProtectionBypassAliasesResponseScope$inboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope>;
374
+ /** @internal */
375
+ export declare const GetAliasProtectionBypassAliasesResponseScope$outboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesResponseScope>;
376
+ /**
377
+ * @internal
378
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
379
+ */
380
+ export declare namespace GetAliasProtectionBypassAliasesResponseScope$ {
381
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$inboundSchema` instead. */
382
+ const inboundSchema: z.ZodNativeEnum<{
383
+ readonly AliasProtectionOverride: "alias-protection-override";
384
+ }>;
385
+ /** @deprecated use `GetAliasProtectionBypassAliasesResponseScope$outboundSchema` instead. */
386
+ const outboundSchema: z.ZodNativeEnum<{
387
+ readonly AliasProtectionOverride: "alias-protection-override";
388
+ }>;
389
+ }
390
+ /** @internal */
391
+ export declare const ProtectionBypass3$inboundSchema: z.ZodType<ProtectionBypass3, z.ZodTypeDef, unknown>;
392
+ /** @internal */
393
+ export type ProtectionBypass3$Outbound = {
394
+ createdAt: number;
395
+ createdBy: string;
396
+ scope: string;
397
+ };
398
+ /** @internal */
399
+ export declare const ProtectionBypass3$outboundSchema: z.ZodType<ProtectionBypass3$Outbound, z.ZodTypeDef, ProtectionBypass3>;
400
+ /**
401
+ * @internal
402
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
403
+ */
404
+ export declare namespace ProtectionBypass3$ {
405
+ /** @deprecated use `ProtectionBypass3$inboundSchema` instead. */
406
+ const inboundSchema: z.ZodType<ProtectionBypass3, z.ZodTypeDef, unknown>;
407
+ /** @deprecated use `ProtectionBypass3$outboundSchema` instead. */
408
+ const outboundSchema: z.ZodType<ProtectionBypass3$Outbound, z.ZodTypeDef, ProtectionBypass3>;
409
+ /** @deprecated use `ProtectionBypass3$Outbound` instead. */
410
+ type Outbound = ProtectionBypass3$Outbound;
411
+ }
412
+ export declare function protectionBypass3ToJSON(protectionBypass3: ProtectionBypass3): string;
413
+ export declare function protectionBypass3FromJSON(jsonString: string): SafeParseResult<ProtectionBypass3, SDKValidationError>;
414
+ /** @internal */
415
+ export declare const ProtectionBypassAccess$inboundSchema: z.ZodNativeEnum<typeof ProtectionBypassAccess>;
416
+ /** @internal */
417
+ export declare const ProtectionBypassAccess$outboundSchema: z.ZodNativeEnum<typeof ProtectionBypassAccess>;
418
+ /**
419
+ * @internal
420
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
421
+ */
422
+ export declare namespace ProtectionBypassAccess$ {
423
+ /** @deprecated use `ProtectionBypassAccess$inboundSchema` instead. */
424
+ const inboundSchema: z.ZodNativeEnum<{
425
+ readonly Requested: "requested";
426
+ readonly Granted: "granted";
427
+ }>;
428
+ /** @deprecated use `ProtectionBypassAccess$outboundSchema` instead. */
429
+ const outboundSchema: z.ZodNativeEnum<{
430
+ readonly Requested: "requested";
431
+ readonly Granted: "granted";
432
+ }>;
433
+ }
434
+ /** @internal */
435
+ export declare const GetAliasProtectionBypassAliasesScope$inboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope>;
436
+ /** @internal */
437
+ export declare const GetAliasProtectionBypassAliasesScope$outboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassAliasesScope>;
438
+ /**
439
+ * @internal
440
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
441
+ */
442
+ export declare namespace GetAliasProtectionBypassAliasesScope$ {
443
+ /** @deprecated use `GetAliasProtectionBypassAliasesScope$inboundSchema` instead. */
444
+ const inboundSchema: z.ZodNativeEnum<{
445
+ readonly User: "user";
446
+ }>;
447
+ /** @deprecated use `GetAliasProtectionBypassAliasesScope$outboundSchema` instead. */
448
+ const outboundSchema: z.ZodNativeEnum<{
449
+ readonly User: "user";
450
+ }>;
451
+ }
452
+ /** @internal */
453
+ export declare const GetAliasProtectionBypass2$inboundSchema: z.ZodType<GetAliasProtectionBypass2, z.ZodTypeDef, unknown>;
454
+ /** @internal */
455
+ export type GetAliasProtectionBypass2$Outbound = {
456
+ createdAt: number;
457
+ lastUpdatedAt: number;
458
+ lastUpdatedBy: string;
459
+ access: string;
460
+ scope: string;
461
+ };
462
+ /** @internal */
463
+ export declare const GetAliasProtectionBypass2$outboundSchema: z.ZodType<GetAliasProtectionBypass2$Outbound, z.ZodTypeDef, GetAliasProtectionBypass2>;
464
+ /**
465
+ * @internal
466
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
467
+ */
468
+ export declare namespace GetAliasProtectionBypass2$ {
469
+ /** @deprecated use `GetAliasProtectionBypass2$inboundSchema` instead. */
470
+ const inboundSchema: z.ZodType<GetAliasProtectionBypass2, z.ZodTypeDef, unknown>;
471
+ /** @deprecated use `GetAliasProtectionBypass2$outboundSchema` instead. */
472
+ const outboundSchema: z.ZodType<GetAliasProtectionBypass2$Outbound, z.ZodTypeDef, GetAliasProtectionBypass2>;
473
+ /** @deprecated use `GetAliasProtectionBypass2$Outbound` instead. */
474
+ type Outbound = GetAliasProtectionBypass2$Outbound;
475
+ }
476
+ export declare function getAliasProtectionBypass2ToJSON(getAliasProtectionBypass2: GetAliasProtectionBypass2): string;
477
+ export declare function getAliasProtectionBypass2FromJSON(jsonString: string): SafeParseResult<GetAliasProtectionBypass2, SDKValidationError>;
478
+ /** @internal */
479
+ export declare const GetAliasProtectionBypassScope$inboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassScope>;
480
+ /** @internal */
481
+ export declare const GetAliasProtectionBypassScope$outboundSchema: z.ZodNativeEnum<typeof GetAliasProtectionBypassScope>;
482
+ /**
483
+ * @internal
484
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
485
+ */
486
+ export declare namespace GetAliasProtectionBypassScope$ {
487
+ /** @deprecated use `GetAliasProtectionBypassScope$inboundSchema` instead. */
488
+ const inboundSchema: z.ZodNativeEnum<{
489
+ readonly ShareableLink: "shareable-link";
490
+ }>;
491
+ /** @deprecated use `GetAliasProtectionBypassScope$outboundSchema` instead. */
492
+ const outboundSchema: z.ZodNativeEnum<{
493
+ readonly ShareableLink: "shareable-link";
494
+ }>;
495
+ }
496
+ /** @internal */
497
+ export declare const GetAliasProtectionBypass1$inboundSchema: z.ZodType<GetAliasProtectionBypass1, z.ZodTypeDef, unknown>;
498
+ /** @internal */
499
+ export type GetAliasProtectionBypass1$Outbound = {
500
+ createdAt: number;
501
+ createdBy: string;
502
+ scope: string;
503
+ };
504
+ /** @internal */
505
+ export declare const GetAliasProtectionBypass1$outboundSchema: z.ZodType<GetAliasProtectionBypass1$Outbound, z.ZodTypeDef, GetAliasProtectionBypass1>;
506
+ /**
507
+ * @internal
508
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
509
+ */
510
+ export declare namespace GetAliasProtectionBypass1$ {
511
+ /** @deprecated use `GetAliasProtectionBypass1$inboundSchema` instead. */
512
+ const inboundSchema: z.ZodType<GetAliasProtectionBypass1, z.ZodTypeDef, unknown>;
513
+ /** @deprecated use `GetAliasProtectionBypass1$outboundSchema` instead. */
514
+ const outboundSchema: z.ZodType<GetAliasProtectionBypass1$Outbound, z.ZodTypeDef, GetAliasProtectionBypass1>;
515
+ /** @deprecated use `GetAliasProtectionBypass1$Outbound` instead. */
516
+ type Outbound = GetAliasProtectionBypass1$Outbound;
517
+ }
518
+ export declare function getAliasProtectionBypass1ToJSON(getAliasProtectionBypass1: GetAliasProtectionBypass1): string;
519
+ export declare function getAliasProtectionBypass1FromJSON(jsonString: string): SafeParseResult<GetAliasProtectionBypass1, SDKValidationError>;
520
+ /** @internal */
521
+ export declare const GetAliasProtectionBypass$inboundSchema: z.ZodType<GetAliasProtectionBypass, z.ZodTypeDef, unknown>;
522
+ /** @internal */
523
+ export type GetAliasProtectionBypass$Outbound = GetAliasProtectionBypass2$Outbound | ProtectionBypass4$Outbound | GetAliasProtectionBypass1$Outbound | ProtectionBypass3$Outbound;
524
+ /** @internal */
525
+ export declare const GetAliasProtectionBypass$outboundSchema: z.ZodType<GetAliasProtectionBypass$Outbound, z.ZodTypeDef, GetAliasProtectionBypass>;
526
+ /**
527
+ * @internal
528
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
529
+ */
530
+ export declare namespace GetAliasProtectionBypass$ {
531
+ /** @deprecated use `GetAliasProtectionBypass$inboundSchema` instead. */
532
+ const inboundSchema: z.ZodType<GetAliasProtectionBypass, z.ZodTypeDef, unknown>;
533
+ /** @deprecated use `GetAliasProtectionBypass$outboundSchema` instead. */
534
+ const outboundSchema: z.ZodType<GetAliasProtectionBypass$Outbound, z.ZodTypeDef, GetAliasProtectionBypass>;
535
+ /** @deprecated use `GetAliasProtectionBypass$Outbound` instead. */
536
+ type Outbound = GetAliasProtectionBypass$Outbound;
537
+ }
538
+ export declare function getAliasProtectionBypassToJSON(getAliasProtectionBypass: GetAliasProtectionBypass): string;
539
+ export declare function getAliasProtectionBypassFromJSON(jsonString: string): SafeParseResult<GetAliasProtectionBypass, SDKValidationError>;
540
+ /** @internal */
541
+ export declare const DefaultApp$inboundSchema: z.ZodType<DefaultApp, z.ZodTypeDef, unknown>;
542
+ /** @internal */
543
+ export type DefaultApp$Outbound = {
544
+ projectId: string;
545
+ };
546
+ /** @internal */
547
+ export declare const DefaultApp$outboundSchema: z.ZodType<DefaultApp$Outbound, z.ZodTypeDef, DefaultApp>;
548
+ /**
549
+ * @internal
550
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
551
+ */
552
+ export declare namespace DefaultApp$ {
553
+ /** @deprecated use `DefaultApp$inboundSchema` instead. */
554
+ const inboundSchema: z.ZodType<DefaultApp, z.ZodTypeDef, unknown>;
555
+ /** @deprecated use `DefaultApp$outboundSchema` instead. */
556
+ const outboundSchema: z.ZodType<DefaultApp$Outbound, z.ZodTypeDef, DefaultApp>;
557
+ /** @deprecated use `DefaultApp$Outbound` instead. */
558
+ type Outbound = DefaultApp$Outbound;
559
+ }
560
+ export declare function defaultAppToJSON(defaultApp: DefaultApp): string;
561
+ export declare function defaultAppFromJSON(jsonString: string): SafeParseResult<DefaultApp, SDKValidationError>;
562
+ /** @internal */
563
+ export declare const Applications3$inboundSchema: z.ZodType<Applications3, z.ZodTypeDef, unknown>;
564
+ /** @internal */
565
+ export type Applications3$Outbound = {
566
+ deploymentId?: string | undefined;
567
+ branchDeploymentId?: string | undefined;
568
+ fallbackDeploymentId?: string | undefined;
569
+ fallbackHost?: string | undefined;
570
+ branchAlias?: string | undefined;
571
+ projectId: string;
572
+ };
573
+ /** @internal */
574
+ export declare const Applications3$outboundSchema: z.ZodType<Applications3$Outbound, z.ZodTypeDef, Applications3>;
575
+ /**
576
+ * @internal
577
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
578
+ */
579
+ export declare namespace Applications3$ {
580
+ /** @deprecated use `Applications3$inboundSchema` instead. */
581
+ const inboundSchema: z.ZodType<Applications3, z.ZodTypeDef, unknown>;
582
+ /** @deprecated use `Applications3$outboundSchema` instead. */
583
+ const outboundSchema: z.ZodType<Applications3$Outbound, z.ZodTypeDef, Applications3>;
584
+ /** @deprecated use `Applications3$Outbound` instead. */
585
+ type Outbound = Applications3$Outbound;
586
+ }
587
+ export declare function applications3ToJSON(applications3: Applications3): string;
588
+ export declare function applications3FromJSON(jsonString: string): SafeParseResult<Applications3, SDKValidationError>;
589
+ /** @internal */
590
+ export declare const Applications2$inboundSchema: z.ZodType<Applications2, z.ZodTypeDef, unknown>;
591
+ /** @internal */
592
+ export type Applications2$Outbound = {
593
+ fallbackHost: string;
594
+ branchAlias: string;
595
+ projectId: string;
596
+ };
597
+ /** @internal */
598
+ export declare const Applications2$outboundSchema: z.ZodType<Applications2$Outbound, z.ZodTypeDef, Applications2>;
599
+ /**
600
+ * @internal
601
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
602
+ */
603
+ export declare namespace Applications2$ {
604
+ /** @deprecated use `Applications2$inboundSchema` instead. */
605
+ const inboundSchema: z.ZodType<Applications2, z.ZodTypeDef, unknown>;
606
+ /** @deprecated use `Applications2$outboundSchema` instead. */
607
+ const outboundSchema: z.ZodType<Applications2$Outbound, z.ZodTypeDef, Applications2>;
608
+ /** @deprecated use `Applications2$Outbound` instead. */
609
+ type Outbound = Applications2$Outbound;
610
+ }
611
+ export declare function applications2ToJSON(applications2: Applications2): string;
612
+ export declare function applications2FromJSON(jsonString: string): SafeParseResult<Applications2, SDKValidationError>;
613
+ /** @internal */
614
+ export declare const Applications1$inboundSchema: z.ZodType<Applications1, z.ZodTypeDef, unknown>;
615
+ /** @internal */
616
+ export type Applications1$Outbound = {
617
+ fallbackHost: string;
618
+ projectId: string;
619
+ };
620
+ /** @internal */
621
+ export declare const Applications1$outboundSchema: z.ZodType<Applications1$Outbound, z.ZodTypeDef, Applications1>;
622
+ /**
623
+ * @internal
624
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
625
+ */
626
+ export declare namespace Applications1$ {
627
+ /** @deprecated use `Applications1$inboundSchema` instead. */
628
+ const inboundSchema: z.ZodType<Applications1, z.ZodTypeDef, unknown>;
629
+ /** @deprecated use `Applications1$outboundSchema` instead. */
630
+ const outboundSchema: z.ZodType<Applications1$Outbound, z.ZodTypeDef, Applications1>;
631
+ /** @deprecated use `Applications1$Outbound` instead. */
632
+ type Outbound = Applications1$Outbound;
633
+ }
634
+ export declare function applications1ToJSON(applications1: Applications1): string;
635
+ export declare function applications1FromJSON(jsonString: string): SafeParseResult<Applications1, SDKValidationError>;
636
+ /** @internal */
637
+ export declare const Applications$inboundSchema: z.ZodType<Applications, z.ZodTypeDef, unknown>;
638
+ /** @internal */
639
+ export type Applications$Outbound = Array<Applications1$Outbound> | Array<Applications2$Outbound> | Array<Applications3$Outbound>;
640
+ /** @internal */
641
+ export declare const Applications$outboundSchema: z.ZodType<Applications$Outbound, z.ZodTypeDef, Applications>;
642
+ /**
643
+ * @internal
644
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
645
+ */
646
+ export declare namespace Applications$ {
647
+ /** @deprecated use `Applications$inboundSchema` instead. */
648
+ const inboundSchema: z.ZodType<Applications, z.ZodTypeDef, unknown>;
649
+ /** @deprecated use `Applications$outboundSchema` instead. */
650
+ const outboundSchema: z.ZodType<Applications$Outbound, z.ZodTypeDef, Applications>;
651
+ /** @deprecated use `Applications$Outbound` instead. */
652
+ type Outbound = Applications$Outbound;
653
+ }
654
+ export declare function applicationsToJSON(applications: Applications): string;
655
+ export declare function applicationsFromJSON(jsonString: string): SafeParseResult<Applications, SDKValidationError>;
656
+ /** @internal */
657
+ export declare const GetAliasMicrofrontends$inboundSchema: z.ZodType<GetAliasMicrofrontends, z.ZodTypeDef, unknown>;
658
+ /** @internal */
659
+ export type GetAliasMicrofrontends$Outbound = {
660
+ defaultApp: DefaultApp$Outbound;
661
+ applications: Array<Applications1$Outbound> | Array<Applications2$Outbound> | Array<Applications3$Outbound>;
662
+ };
663
+ /** @internal */
664
+ export declare const GetAliasMicrofrontends$outboundSchema: z.ZodType<GetAliasMicrofrontends$Outbound, z.ZodTypeDef, GetAliasMicrofrontends>;
665
+ /**
666
+ * @internal
667
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
668
+ */
669
+ export declare namespace GetAliasMicrofrontends$ {
670
+ /** @deprecated use `GetAliasMicrofrontends$inboundSchema` instead. */
671
+ const inboundSchema: z.ZodType<GetAliasMicrofrontends, z.ZodTypeDef, unknown>;
672
+ /** @deprecated use `GetAliasMicrofrontends$outboundSchema` instead. */
673
+ const outboundSchema: z.ZodType<GetAliasMicrofrontends$Outbound, z.ZodTypeDef, GetAliasMicrofrontends>;
674
+ /** @deprecated use `GetAliasMicrofrontends$Outbound` instead. */
675
+ type Outbound = GetAliasMicrofrontends$Outbound;
676
+ }
677
+ export declare function getAliasMicrofrontendsToJSON(getAliasMicrofrontends: GetAliasMicrofrontends): string;
678
+ export declare function getAliasMicrofrontendsFromJSON(jsonString: string): SafeParseResult<GetAliasMicrofrontends, SDKValidationError>;
679
+ /** @internal */
680
+ export declare const GetAliasResponseBody$inboundSchema: z.ZodType<GetAliasResponseBody, z.ZodTypeDef, unknown>;
681
+ /** @internal */
682
+ export type GetAliasResponseBody$Outbound = {
683
+ alias: string;
684
+ created: string;
685
+ createdAt?: number | undefined;
686
+ creator?: GetAliasCreator$Outbound | undefined;
687
+ deletedAt?: number | undefined;
688
+ deployment?: GetAliasDeployment$Outbound | undefined;
689
+ deploymentId: string | null;
690
+ projectId: string | null;
691
+ redirect?: string | null | undefined;
692
+ redirectStatusCode?: number | null | undefined;
693
+ uid: string;
694
+ updatedAt?: number | undefined;
695
+ protectionBypass?: {
696
+ [k: string]: GetAliasProtectionBypass2$Outbound | ProtectionBypass4$Outbound | GetAliasProtectionBypass1$Outbound | ProtectionBypass3$Outbound;
697
+ } | undefined;
698
+ microfrontends?: GetAliasMicrofrontends$Outbound | undefined;
699
+ };
700
+ /** @internal */
701
+ export declare const GetAliasResponseBody$outboundSchema: z.ZodType<GetAliasResponseBody$Outbound, z.ZodTypeDef, GetAliasResponseBody>;
702
+ /**
703
+ * @internal
704
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
705
+ */
706
+ export declare namespace GetAliasResponseBody$ {
707
+ /** @deprecated use `GetAliasResponseBody$inboundSchema` instead. */
708
+ const inboundSchema: z.ZodType<GetAliasResponseBody, z.ZodTypeDef, unknown>;
709
+ /** @deprecated use `GetAliasResponseBody$outboundSchema` instead. */
710
+ const outboundSchema: z.ZodType<GetAliasResponseBody$Outbound, z.ZodTypeDef, GetAliasResponseBody>;
711
+ /** @deprecated use `GetAliasResponseBody$Outbound` instead. */
712
+ type Outbound = GetAliasResponseBody$Outbound;
713
+ }
714
+ export declare function getAliasResponseBodyToJSON(getAliasResponseBody: GetAliasResponseBody): string;
715
+ export declare function getAliasResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAliasResponseBody, SDKValidationError>;
62
716
  //# sourceMappingURL=getaliasop.d.ts.map