@vercel/sdk 1.10.7 → 1.10.8
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 +423 -390
- package/bin/mcp-server.js.map +10 -10
- package/esm/__tests__/domains.test.js +12 -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__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -2
- package/esm/__tests__/rollingrelease.test.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/createintegrationstoredirectop.d.ts +240 -240
- package/esm/models/createintegrationstoredirectop.js +294 -294
- package/esm/models/createortransferdomainop.d.ts +33 -0
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +23 -0
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdomainop.d.ts +33 -0
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +24 -0
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/getdomainsop.d.ts +33 -0
- package/esm/models/getdomainsop.d.ts.map +1 -1
- package/esm/models/getdomainsop.js +23 -0
- package/esm/models/getdomainsop.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/domains.test.ts +12 -4
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +2 -2
- 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/createintegrationstoredirectop.ts +505 -505
- package/src/models/createortransferdomainop.ts +41 -0
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdomainop.ts +37 -0
- package/src/models/getdomainsop.ts +39 -0
- package/vercel-spec.json +97 -76
|
@@ -34,6 +34,17 @@ export type GetDomainCreator = {
|
|
|
34
34
|
id: string;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
39
|
+
*/
|
|
40
|
+
export const Registrar = {
|
|
41
|
+
New: "new",
|
|
42
|
+
} as const;
|
|
43
|
+
/**
|
|
44
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
45
|
+
*/
|
|
46
|
+
export type Registrar = ClosedEnum<typeof Registrar>;
|
|
47
|
+
|
|
37
48
|
/**
|
|
38
49
|
* The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
|
|
39
50
|
*/
|
|
@@ -69,6 +80,10 @@ export type GetDomainDomain = {
|
|
|
69
80
|
* An object containing information of the domain creator, including the user's id, username, and email.
|
|
70
81
|
*/
|
|
71
82
|
creator: GetDomainCreator;
|
|
83
|
+
/**
|
|
84
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
85
|
+
*/
|
|
86
|
+
registrar?: Registrar | undefined;
|
|
72
87
|
teamId: string | null;
|
|
73
88
|
/**
|
|
74
89
|
* If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.
|
|
@@ -246,6 +261,25 @@ export function getDomainCreatorFromJSON(
|
|
|
246
261
|
);
|
|
247
262
|
}
|
|
248
263
|
|
|
264
|
+
/** @internal */
|
|
265
|
+
export const Registrar$inboundSchema: z.ZodNativeEnum<typeof Registrar> = z
|
|
266
|
+
.nativeEnum(Registrar);
|
|
267
|
+
|
|
268
|
+
/** @internal */
|
|
269
|
+
export const Registrar$outboundSchema: z.ZodNativeEnum<typeof Registrar> =
|
|
270
|
+
Registrar$inboundSchema;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
275
|
+
*/
|
|
276
|
+
export namespace Registrar$ {
|
|
277
|
+
/** @deprecated use `Registrar$inboundSchema` instead. */
|
|
278
|
+
export const inboundSchema = Registrar$inboundSchema;
|
|
279
|
+
/** @deprecated use `Registrar$outboundSchema` instead. */
|
|
280
|
+
export const outboundSchema = Registrar$outboundSchema;
|
|
281
|
+
}
|
|
282
|
+
|
|
249
283
|
/** @internal */
|
|
250
284
|
export const ServiceType$inboundSchema: z.ZodNativeEnum<typeof ServiceType> = z
|
|
251
285
|
.nativeEnum(ServiceType);
|
|
@@ -277,6 +311,7 @@ export const GetDomainDomain$inboundSchema: z.ZodType<
|
|
|
277
311
|
intendedNameservers: z.array(z.string()),
|
|
278
312
|
customNameservers: z.array(z.string()).optional(),
|
|
279
313
|
creator: z.lazy(() => GetDomainCreator$inboundSchema),
|
|
314
|
+
registrar: Registrar$inboundSchema.optional(),
|
|
280
315
|
teamId: z.nullable(z.string()),
|
|
281
316
|
boughtAt: z.nullable(z.number()),
|
|
282
317
|
name: z.string(),
|
|
@@ -299,6 +334,7 @@ export type GetDomainDomain$Outbound = {
|
|
|
299
334
|
intendedNameservers: Array<string>;
|
|
300
335
|
customNameservers?: Array<string> | undefined;
|
|
301
336
|
creator: GetDomainCreator$Outbound;
|
|
337
|
+
registrar?: string | undefined;
|
|
302
338
|
teamId: string | null;
|
|
303
339
|
boughtAt: number | null;
|
|
304
340
|
name: string;
|
|
@@ -325,6 +361,7 @@ export const GetDomainDomain$outboundSchema: z.ZodType<
|
|
|
325
361
|
intendedNameservers: z.array(z.string()),
|
|
326
362
|
customNameservers: z.array(z.string()).optional(),
|
|
327
363
|
creator: z.lazy(() => GetDomainCreator$outboundSchema),
|
|
364
|
+
registrar: Registrar$outboundSchema.optional(),
|
|
328
365
|
teamId: z.nullable(z.string()),
|
|
329
366
|
boughtAt: z.nullable(z.number()),
|
|
330
367
|
name: z.string(),
|
|
@@ -48,6 +48,17 @@ export type GetDomainsCreator = {
|
|
|
48
48
|
id: string;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
53
|
+
*/
|
|
54
|
+
export const GetDomainsRegistrar = {
|
|
55
|
+
New: "new",
|
|
56
|
+
} as const;
|
|
57
|
+
/**
|
|
58
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
59
|
+
*/
|
|
60
|
+
export type GetDomainsRegistrar = ClosedEnum<typeof GetDomainsRegistrar>;
|
|
61
|
+
|
|
51
62
|
/**
|
|
52
63
|
* The type of service the domain is handled by. `external` if the DNS is externally handled, `zeit.world` if handled with Vercel, or `na` if the service is not available.
|
|
53
64
|
*/
|
|
@@ -82,6 +93,10 @@ export type Domains = {
|
|
|
82
93
|
* An object containing information of the domain creator, including the user's id, username, and email.
|
|
83
94
|
*/
|
|
84
95
|
creator: GetDomainsCreator;
|
|
96
|
+
/**
|
|
97
|
+
* Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com.
|
|
98
|
+
*/
|
|
99
|
+
registrar?: GetDomainsRegistrar | undefined;
|
|
85
100
|
teamId: string | null;
|
|
86
101
|
/**
|
|
87
102
|
* Timestamp in milliseconds when the domain was created in the registry.
|
|
@@ -269,6 +284,27 @@ export function getDomainsCreatorFromJSON(
|
|
|
269
284
|
);
|
|
270
285
|
}
|
|
271
286
|
|
|
287
|
+
/** @internal */
|
|
288
|
+
export const GetDomainsRegistrar$inboundSchema: z.ZodNativeEnum<
|
|
289
|
+
typeof GetDomainsRegistrar
|
|
290
|
+
> = z.nativeEnum(GetDomainsRegistrar);
|
|
291
|
+
|
|
292
|
+
/** @internal */
|
|
293
|
+
export const GetDomainsRegistrar$outboundSchema: z.ZodNativeEnum<
|
|
294
|
+
typeof GetDomainsRegistrar
|
|
295
|
+
> = GetDomainsRegistrar$inboundSchema;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @internal
|
|
299
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
300
|
+
*/
|
|
301
|
+
export namespace GetDomainsRegistrar$ {
|
|
302
|
+
/** @deprecated use `GetDomainsRegistrar$inboundSchema` instead. */
|
|
303
|
+
export const inboundSchema = GetDomainsRegistrar$inboundSchema;
|
|
304
|
+
/** @deprecated use `GetDomainsRegistrar$outboundSchema` instead. */
|
|
305
|
+
export const outboundSchema = GetDomainsRegistrar$outboundSchema;
|
|
306
|
+
}
|
|
307
|
+
|
|
272
308
|
/** @internal */
|
|
273
309
|
export const GetDomainsServiceType$inboundSchema: z.ZodNativeEnum<
|
|
274
310
|
typeof GetDomainsServiceType
|
|
@@ -298,6 +334,7 @@ export const Domains$inboundSchema: z.ZodType<Domains, z.ZodTypeDef, unknown> =
|
|
|
298
334
|
intendedNameservers: z.array(z.string()),
|
|
299
335
|
customNameservers: z.array(z.string()).optional(),
|
|
300
336
|
creator: z.lazy(() => GetDomainsCreator$inboundSchema),
|
|
337
|
+
registrar: GetDomainsRegistrar$inboundSchema.optional(),
|
|
301
338
|
teamId: z.nullable(z.string()),
|
|
302
339
|
createdAt: z.number(),
|
|
303
340
|
boughtAt: z.nullable(z.number()),
|
|
@@ -319,6 +356,7 @@ export type Domains$Outbound = {
|
|
|
319
356
|
intendedNameservers: Array<string>;
|
|
320
357
|
customNameservers?: Array<string> | undefined;
|
|
321
358
|
creator: GetDomainsCreator$Outbound;
|
|
359
|
+
registrar?: string | undefined;
|
|
322
360
|
teamId: string | null;
|
|
323
361
|
createdAt: number;
|
|
324
362
|
boughtAt: number | null;
|
|
@@ -344,6 +382,7 @@ export const Domains$outboundSchema: z.ZodType<
|
|
|
344
382
|
intendedNameservers: z.array(z.string()),
|
|
345
383
|
customNameservers: z.array(z.string()).optional(),
|
|
346
384
|
creator: z.lazy(() => GetDomainsCreator$outboundSchema),
|
|
385
|
+
registrar: GetDomainsRegistrar$outboundSchema.optional(),
|
|
347
386
|
teamId: z.nullable(z.string()),
|
|
348
387
|
createdAt: z.number(),
|
|
349
388
|
boughtAt: z.nullable(z.number()),
|