@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.
- package/bin/mcp-server.js +373 -85
- package/bin/mcp-server.js.map +10 -10
- package/docs/sdks/aliases/README.md +1 -1
- package/esm/__tests__/aliases.test.js +1 -20
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts +2 -2
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +2 -2
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/createdeploymentop.d.ts +15 -15
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +15 -15
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +654 -0
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +546 -0
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +66 -66
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +78 -78
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +30 -30
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +34 -34
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/sdk/aliases.d.ts +2 -2
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/aliases.test.ts +1 -20
- package/src/funcs/aliasesGetAlias.ts +6 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/createdeploymentop.ts +61 -39
- package/src/models/getaliasop.ts +1262 -0
- package/src/models/listaliasesop.ts +143 -124
- package/src/models/listdeploymentaliasesop.ts +70 -58
- package/src/sdk/aliases.ts +2 -2
- package/vercel-spec.json +350 -1
|
@@ -127,11 +127,13 @@ export type ListAliasesProtectionBypass3 = {
|
|
|
127
127
|
scope: ListAliasesProtectionBypassAliasesResponseScope;
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export const
|
|
130
|
+
export const ListAliasesProtectionBypassAccess = {
|
|
131
131
|
Requested: "requested",
|
|
132
132
|
Granted: "granted",
|
|
133
133
|
} as const;
|
|
134
|
-
export type
|
|
134
|
+
export type ListAliasesProtectionBypassAccess = ClosedEnum<
|
|
135
|
+
typeof ListAliasesProtectionBypassAccess
|
|
136
|
+
>;
|
|
135
137
|
|
|
136
138
|
export const ListAliasesProtectionBypassAliasesScope = {
|
|
137
139
|
User: "user",
|
|
@@ -147,7 +149,7 @@ export type ListAliasesProtectionBypass2 = {
|
|
|
147
149
|
createdAt: number;
|
|
148
150
|
lastUpdatedAt: number;
|
|
149
151
|
lastUpdatedBy: string;
|
|
150
|
-
access:
|
|
152
|
+
access: ListAliasesProtectionBypassAccess;
|
|
151
153
|
scope: ListAliasesProtectionBypassAliasesScope;
|
|
152
154
|
};
|
|
153
155
|
|
|
@@ -173,14 +175,14 @@ export type ListAliasesProtectionBypass =
|
|
|
173
175
|
| ListAliasesProtectionBypass1
|
|
174
176
|
| ListAliasesProtectionBypass3;
|
|
175
177
|
|
|
176
|
-
export type
|
|
178
|
+
export type ListAliasesDefaultApp = {
|
|
177
179
|
projectId: string;
|
|
178
180
|
};
|
|
179
181
|
|
|
180
182
|
/**
|
|
181
183
|
* A list of the deployment routing information for each project.
|
|
182
184
|
*/
|
|
183
|
-
export type
|
|
185
|
+
export type ListAliasesApplications3 = {
|
|
184
186
|
/**
|
|
185
187
|
* 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.
|
|
186
188
|
*/
|
|
@@ -207,7 +209,7 @@ export type Applications3 = {
|
|
|
207
209
|
/**
|
|
208
210
|
* A list of the deployment routing information for each project.
|
|
209
211
|
*/
|
|
210
|
-
export type
|
|
212
|
+
export type ListAliasesApplications2 = {
|
|
211
213
|
/**
|
|
212
214
|
* This is always set. For branch aliases, it's used as the fallback if there is no deployment for the branch.
|
|
213
215
|
*/
|
|
@@ -225,7 +227,7 @@ export type Applications2 = {
|
|
|
225
227
|
/**
|
|
226
228
|
* A list of the deployment routing information for each project.
|
|
227
229
|
*/
|
|
228
|
-
export type
|
|
230
|
+
export type ListAliasesApplications1 = {
|
|
229
231
|
/**
|
|
230
232
|
* 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.
|
|
231
233
|
*/
|
|
@@ -237,19 +239,19 @@ export type Applications1 = {
|
|
|
237
239
|
};
|
|
238
240
|
|
|
239
241
|
export type ListAliasesApplications =
|
|
240
|
-
| Array<
|
|
241
|
-
| Array<
|
|
242
|
-
| Array<
|
|
242
|
+
| Array<ListAliasesApplications1>
|
|
243
|
+
| Array<ListAliasesApplications2>
|
|
244
|
+
| Array<ListAliasesApplications3>;
|
|
243
245
|
|
|
244
246
|
/**
|
|
245
247
|
* The microfrontends for the alias including the routing configuration
|
|
246
248
|
*/
|
|
247
249
|
export type ListAliasesMicrofrontends = {
|
|
248
|
-
defaultApp:
|
|
250
|
+
defaultApp: ListAliasesDefaultApp;
|
|
249
251
|
applications:
|
|
250
|
-
| Array<
|
|
251
|
-
| Array<
|
|
252
|
-
| Array<
|
|
252
|
+
| Array<ListAliasesApplications1>
|
|
253
|
+
| Array<ListAliasesApplications2>
|
|
254
|
+
| Array<ListAliasesApplications3>;
|
|
253
255
|
};
|
|
254
256
|
|
|
255
257
|
export type ListAliasesAliases = {
|
|
@@ -741,24 +743,25 @@ export function listAliasesProtectionBypass3FromJSON(
|
|
|
741
743
|
}
|
|
742
744
|
|
|
743
745
|
/** @internal */
|
|
744
|
-
export const
|
|
745
|
-
typeof
|
|
746
|
-
> = z.nativeEnum(
|
|
746
|
+
export const ListAliasesProtectionBypassAccess$inboundSchema: z.ZodNativeEnum<
|
|
747
|
+
typeof ListAliasesProtectionBypassAccess
|
|
748
|
+
> = z.nativeEnum(ListAliasesProtectionBypassAccess);
|
|
747
749
|
|
|
748
750
|
/** @internal */
|
|
749
|
-
export const
|
|
750
|
-
typeof
|
|
751
|
-
> =
|
|
751
|
+
export const ListAliasesProtectionBypassAccess$outboundSchema: z.ZodNativeEnum<
|
|
752
|
+
typeof ListAliasesProtectionBypassAccess
|
|
753
|
+
> = ListAliasesProtectionBypassAccess$inboundSchema;
|
|
752
754
|
|
|
753
755
|
/**
|
|
754
756
|
* @internal
|
|
755
757
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
756
758
|
*/
|
|
757
|
-
export namespace
|
|
758
|
-
/** @deprecated use `
|
|
759
|
-
export const inboundSchema =
|
|
760
|
-
/** @deprecated use `
|
|
761
|
-
export const outboundSchema =
|
|
759
|
+
export namespace ListAliasesProtectionBypassAccess$ {
|
|
760
|
+
/** @deprecated use `ListAliasesProtectionBypassAccess$inboundSchema` instead. */
|
|
761
|
+
export const inboundSchema = ListAliasesProtectionBypassAccess$inboundSchema;
|
|
762
|
+
/** @deprecated use `ListAliasesProtectionBypassAccess$outboundSchema` instead. */
|
|
763
|
+
export const outboundSchema =
|
|
764
|
+
ListAliasesProtectionBypassAccess$outboundSchema;
|
|
762
765
|
}
|
|
763
766
|
|
|
764
767
|
/** @internal */
|
|
@@ -793,7 +796,7 @@ export const ListAliasesProtectionBypass2$inboundSchema: z.ZodType<
|
|
|
793
796
|
createdAt: z.number(),
|
|
794
797
|
lastUpdatedAt: z.number(),
|
|
795
798
|
lastUpdatedBy: z.string(),
|
|
796
|
-
access:
|
|
799
|
+
access: ListAliasesProtectionBypassAccess$inboundSchema,
|
|
797
800
|
scope: ListAliasesProtectionBypassAliasesScope$inboundSchema,
|
|
798
801
|
});
|
|
799
802
|
|
|
@@ -815,7 +818,7 @@ export const ListAliasesProtectionBypass2$outboundSchema: z.ZodType<
|
|
|
815
818
|
createdAt: z.number(),
|
|
816
819
|
lastUpdatedAt: z.number(),
|
|
817
820
|
lastUpdatedBy: z.string(),
|
|
818
|
-
access:
|
|
821
|
+
access: ListAliasesProtectionBypassAccess$outboundSchema,
|
|
819
822
|
scope: ListAliasesProtectionBypassAliasesScope$outboundSchema,
|
|
820
823
|
});
|
|
821
824
|
|
|
@@ -1000,8 +1003,8 @@ export function listAliasesProtectionBypassFromJSON(
|
|
|
1000
1003
|
}
|
|
1001
1004
|
|
|
1002
1005
|
/** @internal */
|
|
1003
|
-
export const
|
|
1004
|
-
|
|
1006
|
+
export const ListAliasesDefaultApp$inboundSchema: z.ZodType<
|
|
1007
|
+
ListAliasesDefaultApp,
|
|
1005
1008
|
z.ZodTypeDef,
|
|
1006
1009
|
unknown
|
|
1007
1010
|
> = z.object({
|
|
@@ -1009,15 +1012,15 @@ export const DefaultApp$inboundSchema: z.ZodType<
|
|
|
1009
1012
|
});
|
|
1010
1013
|
|
|
1011
1014
|
/** @internal */
|
|
1012
|
-
export type
|
|
1015
|
+
export type ListAliasesDefaultApp$Outbound = {
|
|
1013
1016
|
projectId: string;
|
|
1014
1017
|
};
|
|
1015
1018
|
|
|
1016
1019
|
/** @internal */
|
|
1017
|
-
export const
|
|
1018
|
-
|
|
1020
|
+
export const ListAliasesDefaultApp$outboundSchema: z.ZodType<
|
|
1021
|
+
ListAliasesDefaultApp$Outbound,
|
|
1019
1022
|
z.ZodTypeDef,
|
|
1020
|
-
|
|
1023
|
+
ListAliasesDefaultApp
|
|
1021
1024
|
> = z.object({
|
|
1022
1025
|
projectId: z.string(),
|
|
1023
1026
|
});
|
|
@@ -1026,32 +1029,36 @@ export const DefaultApp$outboundSchema: z.ZodType<
|
|
|
1026
1029
|
* @internal
|
|
1027
1030
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1028
1031
|
*/
|
|
1029
|
-
export namespace
|
|
1030
|
-
/** @deprecated use `
|
|
1031
|
-
export const inboundSchema =
|
|
1032
|
-
/** @deprecated use `
|
|
1033
|
-
export const outboundSchema =
|
|
1034
|
-
/** @deprecated use `
|
|
1035
|
-
export type Outbound =
|
|
1032
|
+
export namespace ListAliasesDefaultApp$ {
|
|
1033
|
+
/** @deprecated use `ListAliasesDefaultApp$inboundSchema` instead. */
|
|
1034
|
+
export const inboundSchema = ListAliasesDefaultApp$inboundSchema;
|
|
1035
|
+
/** @deprecated use `ListAliasesDefaultApp$outboundSchema` instead. */
|
|
1036
|
+
export const outboundSchema = ListAliasesDefaultApp$outboundSchema;
|
|
1037
|
+
/** @deprecated use `ListAliasesDefaultApp$Outbound` instead. */
|
|
1038
|
+
export type Outbound = ListAliasesDefaultApp$Outbound;
|
|
1036
1039
|
}
|
|
1037
1040
|
|
|
1038
|
-
export function
|
|
1039
|
-
|
|
1041
|
+
export function listAliasesDefaultAppToJSON(
|
|
1042
|
+
listAliasesDefaultApp: ListAliasesDefaultApp,
|
|
1043
|
+
): string {
|
|
1044
|
+
return JSON.stringify(
|
|
1045
|
+
ListAliasesDefaultApp$outboundSchema.parse(listAliasesDefaultApp),
|
|
1046
|
+
);
|
|
1040
1047
|
}
|
|
1041
1048
|
|
|
1042
|
-
export function
|
|
1049
|
+
export function listAliasesDefaultAppFromJSON(
|
|
1043
1050
|
jsonString: string,
|
|
1044
|
-
): SafeParseResult<
|
|
1051
|
+
): SafeParseResult<ListAliasesDefaultApp, SDKValidationError> {
|
|
1045
1052
|
return safeParse(
|
|
1046
1053
|
jsonString,
|
|
1047
|
-
(x) =>
|
|
1048
|
-
`Failed to parse '
|
|
1054
|
+
(x) => ListAliasesDefaultApp$inboundSchema.parse(JSON.parse(x)),
|
|
1055
|
+
`Failed to parse 'ListAliasesDefaultApp' from JSON`,
|
|
1049
1056
|
);
|
|
1050
1057
|
}
|
|
1051
1058
|
|
|
1052
1059
|
/** @internal */
|
|
1053
|
-
export const
|
|
1054
|
-
|
|
1060
|
+
export const ListAliasesApplications3$inboundSchema: z.ZodType<
|
|
1061
|
+
ListAliasesApplications3,
|
|
1055
1062
|
z.ZodTypeDef,
|
|
1056
1063
|
unknown
|
|
1057
1064
|
> = z.object({
|
|
@@ -1064,7 +1071,7 @@ export const Applications3$inboundSchema: z.ZodType<
|
|
|
1064
1071
|
});
|
|
1065
1072
|
|
|
1066
1073
|
/** @internal */
|
|
1067
|
-
export type
|
|
1074
|
+
export type ListAliasesApplications3$Outbound = {
|
|
1068
1075
|
deploymentId?: string | undefined;
|
|
1069
1076
|
branchDeploymentId?: string | undefined;
|
|
1070
1077
|
fallbackDeploymentId?: string | undefined;
|
|
@@ -1074,10 +1081,10 @@ export type Applications3$Outbound = {
|
|
|
1074
1081
|
};
|
|
1075
1082
|
|
|
1076
1083
|
/** @internal */
|
|
1077
|
-
export const
|
|
1078
|
-
|
|
1084
|
+
export const ListAliasesApplications3$outboundSchema: z.ZodType<
|
|
1085
|
+
ListAliasesApplications3$Outbound,
|
|
1079
1086
|
z.ZodTypeDef,
|
|
1080
|
-
|
|
1087
|
+
ListAliasesApplications3
|
|
1081
1088
|
> = z.object({
|
|
1082
1089
|
deploymentId: z.string().optional(),
|
|
1083
1090
|
branchDeploymentId: z.string().optional(),
|
|
@@ -1091,32 +1098,36 @@ export const Applications3$outboundSchema: z.ZodType<
|
|
|
1091
1098
|
* @internal
|
|
1092
1099
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1093
1100
|
*/
|
|
1094
|
-
export namespace
|
|
1095
|
-
/** @deprecated use `
|
|
1096
|
-
export const inboundSchema =
|
|
1097
|
-
/** @deprecated use `
|
|
1098
|
-
export const outboundSchema =
|
|
1099
|
-
/** @deprecated use `
|
|
1100
|
-
export type Outbound =
|
|
1101
|
+
export namespace ListAliasesApplications3$ {
|
|
1102
|
+
/** @deprecated use `ListAliasesApplications3$inboundSchema` instead. */
|
|
1103
|
+
export const inboundSchema = ListAliasesApplications3$inboundSchema;
|
|
1104
|
+
/** @deprecated use `ListAliasesApplications3$outboundSchema` instead. */
|
|
1105
|
+
export const outboundSchema = ListAliasesApplications3$outboundSchema;
|
|
1106
|
+
/** @deprecated use `ListAliasesApplications3$Outbound` instead. */
|
|
1107
|
+
export type Outbound = ListAliasesApplications3$Outbound;
|
|
1101
1108
|
}
|
|
1102
1109
|
|
|
1103
|
-
export function
|
|
1104
|
-
|
|
1110
|
+
export function listAliasesApplications3ToJSON(
|
|
1111
|
+
listAliasesApplications3: ListAliasesApplications3,
|
|
1112
|
+
): string {
|
|
1113
|
+
return JSON.stringify(
|
|
1114
|
+
ListAliasesApplications3$outboundSchema.parse(listAliasesApplications3),
|
|
1115
|
+
);
|
|
1105
1116
|
}
|
|
1106
1117
|
|
|
1107
|
-
export function
|
|
1118
|
+
export function listAliasesApplications3FromJSON(
|
|
1108
1119
|
jsonString: string,
|
|
1109
|
-
): SafeParseResult<
|
|
1120
|
+
): SafeParseResult<ListAliasesApplications3, SDKValidationError> {
|
|
1110
1121
|
return safeParse(
|
|
1111
1122
|
jsonString,
|
|
1112
|
-
(x) =>
|
|
1113
|
-
`Failed to parse '
|
|
1123
|
+
(x) => ListAliasesApplications3$inboundSchema.parse(JSON.parse(x)),
|
|
1124
|
+
`Failed to parse 'ListAliasesApplications3' from JSON`,
|
|
1114
1125
|
);
|
|
1115
1126
|
}
|
|
1116
1127
|
|
|
1117
1128
|
/** @internal */
|
|
1118
|
-
export const
|
|
1119
|
-
|
|
1129
|
+
export const ListAliasesApplications2$inboundSchema: z.ZodType<
|
|
1130
|
+
ListAliasesApplications2,
|
|
1120
1131
|
z.ZodTypeDef,
|
|
1121
1132
|
unknown
|
|
1122
1133
|
> = z.object({
|
|
@@ -1126,17 +1137,17 @@ export const Applications2$inboundSchema: z.ZodType<
|
|
|
1126
1137
|
});
|
|
1127
1138
|
|
|
1128
1139
|
/** @internal */
|
|
1129
|
-
export type
|
|
1140
|
+
export type ListAliasesApplications2$Outbound = {
|
|
1130
1141
|
fallbackHost: string;
|
|
1131
1142
|
branchAlias: string;
|
|
1132
1143
|
projectId: string;
|
|
1133
1144
|
};
|
|
1134
1145
|
|
|
1135
1146
|
/** @internal */
|
|
1136
|
-
export const
|
|
1137
|
-
|
|
1147
|
+
export const ListAliasesApplications2$outboundSchema: z.ZodType<
|
|
1148
|
+
ListAliasesApplications2$Outbound,
|
|
1138
1149
|
z.ZodTypeDef,
|
|
1139
|
-
|
|
1150
|
+
ListAliasesApplications2
|
|
1140
1151
|
> = z.object({
|
|
1141
1152
|
fallbackHost: z.string(),
|
|
1142
1153
|
branchAlias: z.string(),
|
|
@@ -1147,32 +1158,36 @@ export const Applications2$outboundSchema: z.ZodType<
|
|
|
1147
1158
|
* @internal
|
|
1148
1159
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1149
1160
|
*/
|
|
1150
|
-
export namespace
|
|
1151
|
-
/** @deprecated use `
|
|
1152
|
-
export const inboundSchema =
|
|
1153
|
-
/** @deprecated use `
|
|
1154
|
-
export const outboundSchema =
|
|
1155
|
-
/** @deprecated use `
|
|
1156
|
-
export type Outbound =
|
|
1161
|
+
export namespace ListAliasesApplications2$ {
|
|
1162
|
+
/** @deprecated use `ListAliasesApplications2$inboundSchema` instead. */
|
|
1163
|
+
export const inboundSchema = ListAliasesApplications2$inboundSchema;
|
|
1164
|
+
/** @deprecated use `ListAliasesApplications2$outboundSchema` instead. */
|
|
1165
|
+
export const outboundSchema = ListAliasesApplications2$outboundSchema;
|
|
1166
|
+
/** @deprecated use `ListAliasesApplications2$Outbound` instead. */
|
|
1167
|
+
export type Outbound = ListAliasesApplications2$Outbound;
|
|
1157
1168
|
}
|
|
1158
1169
|
|
|
1159
|
-
export function
|
|
1160
|
-
|
|
1170
|
+
export function listAliasesApplications2ToJSON(
|
|
1171
|
+
listAliasesApplications2: ListAliasesApplications2,
|
|
1172
|
+
): string {
|
|
1173
|
+
return JSON.stringify(
|
|
1174
|
+
ListAliasesApplications2$outboundSchema.parse(listAliasesApplications2),
|
|
1175
|
+
);
|
|
1161
1176
|
}
|
|
1162
1177
|
|
|
1163
|
-
export function
|
|
1178
|
+
export function listAliasesApplications2FromJSON(
|
|
1164
1179
|
jsonString: string,
|
|
1165
|
-
): SafeParseResult<
|
|
1180
|
+
): SafeParseResult<ListAliasesApplications2, SDKValidationError> {
|
|
1166
1181
|
return safeParse(
|
|
1167
1182
|
jsonString,
|
|
1168
|
-
(x) =>
|
|
1169
|
-
`Failed to parse '
|
|
1183
|
+
(x) => ListAliasesApplications2$inboundSchema.parse(JSON.parse(x)),
|
|
1184
|
+
`Failed to parse 'ListAliasesApplications2' from JSON`,
|
|
1170
1185
|
);
|
|
1171
1186
|
}
|
|
1172
1187
|
|
|
1173
1188
|
/** @internal */
|
|
1174
|
-
export const
|
|
1175
|
-
|
|
1189
|
+
export const ListAliasesApplications1$inboundSchema: z.ZodType<
|
|
1190
|
+
ListAliasesApplications1,
|
|
1176
1191
|
z.ZodTypeDef,
|
|
1177
1192
|
unknown
|
|
1178
1193
|
> = z.object({
|
|
@@ -1181,16 +1196,16 @@ export const Applications1$inboundSchema: z.ZodType<
|
|
|
1181
1196
|
});
|
|
1182
1197
|
|
|
1183
1198
|
/** @internal */
|
|
1184
|
-
export type
|
|
1199
|
+
export type ListAliasesApplications1$Outbound = {
|
|
1185
1200
|
fallbackHost: string;
|
|
1186
1201
|
projectId: string;
|
|
1187
1202
|
};
|
|
1188
1203
|
|
|
1189
1204
|
/** @internal */
|
|
1190
|
-
export const
|
|
1191
|
-
|
|
1205
|
+
export const ListAliasesApplications1$outboundSchema: z.ZodType<
|
|
1206
|
+
ListAliasesApplications1$Outbound,
|
|
1192
1207
|
z.ZodTypeDef,
|
|
1193
|
-
|
|
1208
|
+
ListAliasesApplications1
|
|
1194
1209
|
> = z.object({
|
|
1195
1210
|
fallbackHost: z.string(),
|
|
1196
1211
|
projectId: z.string(),
|
|
@@ -1200,26 +1215,30 @@ export const Applications1$outboundSchema: z.ZodType<
|
|
|
1200
1215
|
* @internal
|
|
1201
1216
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1202
1217
|
*/
|
|
1203
|
-
export namespace
|
|
1204
|
-
/** @deprecated use `
|
|
1205
|
-
export const inboundSchema =
|
|
1206
|
-
/** @deprecated use `
|
|
1207
|
-
export const outboundSchema =
|
|
1208
|
-
/** @deprecated use `
|
|
1209
|
-
export type Outbound =
|
|
1218
|
+
export namespace ListAliasesApplications1$ {
|
|
1219
|
+
/** @deprecated use `ListAliasesApplications1$inboundSchema` instead. */
|
|
1220
|
+
export const inboundSchema = ListAliasesApplications1$inboundSchema;
|
|
1221
|
+
/** @deprecated use `ListAliasesApplications1$outboundSchema` instead. */
|
|
1222
|
+
export const outboundSchema = ListAliasesApplications1$outboundSchema;
|
|
1223
|
+
/** @deprecated use `ListAliasesApplications1$Outbound` instead. */
|
|
1224
|
+
export type Outbound = ListAliasesApplications1$Outbound;
|
|
1210
1225
|
}
|
|
1211
1226
|
|
|
1212
|
-
export function
|
|
1213
|
-
|
|
1227
|
+
export function listAliasesApplications1ToJSON(
|
|
1228
|
+
listAliasesApplications1: ListAliasesApplications1,
|
|
1229
|
+
): string {
|
|
1230
|
+
return JSON.stringify(
|
|
1231
|
+
ListAliasesApplications1$outboundSchema.parse(listAliasesApplications1),
|
|
1232
|
+
);
|
|
1214
1233
|
}
|
|
1215
1234
|
|
|
1216
|
-
export function
|
|
1235
|
+
export function listAliasesApplications1FromJSON(
|
|
1217
1236
|
jsonString: string,
|
|
1218
|
-
): SafeParseResult<
|
|
1237
|
+
): SafeParseResult<ListAliasesApplications1, SDKValidationError> {
|
|
1219
1238
|
return safeParse(
|
|
1220
1239
|
jsonString,
|
|
1221
|
-
(x) =>
|
|
1222
|
-
`Failed to parse '
|
|
1240
|
+
(x) => ListAliasesApplications1$inboundSchema.parse(JSON.parse(x)),
|
|
1241
|
+
`Failed to parse 'ListAliasesApplications1' from JSON`,
|
|
1223
1242
|
);
|
|
1224
1243
|
}
|
|
1225
1244
|
|
|
@@ -1229,16 +1248,16 @@ export const ListAliasesApplications$inboundSchema: z.ZodType<
|
|
|
1229
1248
|
z.ZodTypeDef,
|
|
1230
1249
|
unknown
|
|
1231
1250
|
> = z.union([
|
|
1232
|
-
z.array(z.lazy(() =>
|
|
1233
|
-
z.array(z.lazy(() =>
|
|
1234
|
-
z.array(z.lazy(() =>
|
|
1251
|
+
z.array(z.lazy(() => ListAliasesApplications1$inboundSchema)),
|
|
1252
|
+
z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)),
|
|
1253
|
+
z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)),
|
|
1235
1254
|
]);
|
|
1236
1255
|
|
|
1237
1256
|
/** @internal */
|
|
1238
1257
|
export type ListAliasesApplications$Outbound =
|
|
1239
|
-
| Array<
|
|
1240
|
-
| Array<
|
|
1241
|
-
| Array<
|
|
1258
|
+
| Array<ListAliasesApplications1$Outbound>
|
|
1259
|
+
| Array<ListAliasesApplications2$Outbound>
|
|
1260
|
+
| Array<ListAliasesApplications3$Outbound>;
|
|
1242
1261
|
|
|
1243
1262
|
/** @internal */
|
|
1244
1263
|
export const ListAliasesApplications$outboundSchema: z.ZodType<
|
|
@@ -1246,9 +1265,9 @@ export const ListAliasesApplications$outboundSchema: z.ZodType<
|
|
|
1246
1265
|
z.ZodTypeDef,
|
|
1247
1266
|
ListAliasesApplications
|
|
1248
1267
|
> = z.union([
|
|
1249
|
-
z.array(z.lazy(() =>
|
|
1250
|
-
z.array(z.lazy(() =>
|
|
1251
|
-
z.array(z.lazy(() =>
|
|
1268
|
+
z.array(z.lazy(() => ListAliasesApplications1$outboundSchema)),
|
|
1269
|
+
z.array(z.lazy(() => ListAliasesApplications2$outboundSchema)),
|
|
1270
|
+
z.array(z.lazy(() => ListAliasesApplications3$outboundSchema)),
|
|
1252
1271
|
]);
|
|
1253
1272
|
|
|
1254
1273
|
/**
|
|
@@ -1288,21 +1307,21 @@ export const ListAliasesMicrofrontends$inboundSchema: z.ZodType<
|
|
|
1288
1307
|
z.ZodTypeDef,
|
|
1289
1308
|
unknown
|
|
1290
1309
|
> = z.object({
|
|
1291
|
-
defaultApp: z.lazy(() =>
|
|
1310
|
+
defaultApp: z.lazy(() => ListAliasesDefaultApp$inboundSchema),
|
|
1292
1311
|
applications: z.union([
|
|
1293
|
-
z.array(z.lazy(() =>
|
|
1294
|
-
z.array(z.lazy(() =>
|
|
1295
|
-
z.array(z.lazy(() =>
|
|
1312
|
+
z.array(z.lazy(() => ListAliasesApplications1$inboundSchema)),
|
|
1313
|
+
z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)),
|
|
1314
|
+
z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)),
|
|
1296
1315
|
]),
|
|
1297
1316
|
});
|
|
1298
1317
|
|
|
1299
1318
|
/** @internal */
|
|
1300
1319
|
export type ListAliasesMicrofrontends$Outbound = {
|
|
1301
|
-
defaultApp:
|
|
1320
|
+
defaultApp: ListAliasesDefaultApp$Outbound;
|
|
1302
1321
|
applications:
|
|
1303
|
-
| Array<
|
|
1304
|
-
| Array<
|
|
1305
|
-
| Array<
|
|
1322
|
+
| Array<ListAliasesApplications1$Outbound>
|
|
1323
|
+
| Array<ListAliasesApplications2$Outbound>
|
|
1324
|
+
| Array<ListAliasesApplications3$Outbound>;
|
|
1306
1325
|
};
|
|
1307
1326
|
|
|
1308
1327
|
/** @internal */
|
|
@@ -1311,11 +1330,11 @@ export const ListAliasesMicrofrontends$outboundSchema: z.ZodType<
|
|
|
1311
1330
|
z.ZodTypeDef,
|
|
1312
1331
|
ListAliasesMicrofrontends
|
|
1313
1332
|
> = z.object({
|
|
1314
|
-
defaultApp: z.lazy(() =>
|
|
1333
|
+
defaultApp: z.lazy(() => ListAliasesDefaultApp$outboundSchema),
|
|
1315
1334
|
applications: z.union([
|
|
1316
|
-
z.array(z.lazy(() =>
|
|
1317
|
-
z.array(z.lazy(() =>
|
|
1318
|
-
z.array(z.lazy(() =>
|
|
1335
|
+
z.array(z.lazy(() => ListAliasesApplications1$outboundSchema)),
|
|
1336
|
+
z.array(z.lazy(() => ListAliasesApplications2$outboundSchema)),
|
|
1337
|
+
z.array(z.lazy(() => ListAliasesApplications3$outboundSchema)),
|
|
1319
1338
|
]),
|
|
1320
1339
|
});
|
|
1321
1340
|
|