@vercel/sdk 1.13.5 → 1.13.6
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 +25 -20
- package/bin/mcp-server.js +1848 -1612
- package/bin/mcp-server.js.map +25 -22
- package/docs/sdks/connect/README.md +95 -0
- package/docs/sdks/projects/README.md +2 -0
- package/esm/__tests__/connect.test.d.ts +2 -0
- package/esm/__tests__/connect.test.d.ts.map +1 -0
- package/esm/__tests__/connect.test.js +36 -0
- package/esm/__tests__/connect.test.js.map +1 -0
- package/esm/__tests__/domains.test.js +11 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/domainsregistrar.test.js +1 -1
- package/esm/__tests__/domainsregistrar.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +3 -1
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -5
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts +17 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts.map +1 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.js +90 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.js.map +1 -0
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts +7 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js +28 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js.map +1 -0
- package/esm/models/buydomainsop.d.ts +1 -1
- package/esm/models/buysingledomainop.d.ts +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +291 -285
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +353 -351
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +30 -30
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +18 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getdomainpriceop.d.ts +9 -9
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +6 -6
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +3 -0
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +1 -0
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getintegrationresourcesop.d.ts +3 -0
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -1
- package/esm/models/getintegrationresourcesop.js +1 -0
- package/esm/models/getintegrationresourcesop.js.map +1 -1
- package/esm/models/getorderop.d.ts +18 -9
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +6 -6
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +36 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +24 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/gettldpriceop.d.ts +8 -8
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/gettldpriceop.js +6 -6
- package/esm/models/gettldpriceop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +3 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +1 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +1 -1
- package/esm/models/transferindomainop.d.ts +1 -1
- package/esm/models/updateprojectop.d.ts +66 -30
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +45 -18
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatesharedconnectlinksop.d.ts +182 -0
- package/esm/models/updatesharedconnectlinksop.d.ts.map +1 -0
- package/esm/models/updatesharedconnectlinksop.js +179 -0
- package/esm/models/updatesharedconnectlinksop.js.map +1 -0
- package/esm/sdk/connect.d.ts +12 -0
- package/esm/sdk/connect.d.ts.map +1 -0
- package/esm/sdk/connect.js +18 -0
- package/esm/sdk/connect.js.map +1 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/connect.test.ts +39 -0
- package/src/__tests__/domains.test.ts +11 -4
- package/src/__tests__/domainsregistrar.test.ts +1 -1
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +3 -1
- package/src/__tests__/rollingrelease.test.ts +2 -5
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/connectUpdateSharedConnectLinks.ts +181 -0
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/connectUpdateSharedConnectLinks.ts +38 -0
- package/src/models/buydomainsop.ts +1 -1
- package/src/models/buysingledomainop.ts +1 -1
- package/src/models/createintegrationstoredirectop.ts +606 -604
- package/src/models/createprojectop.ts +30 -30
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getdomainpriceop.ts +15 -15
- package/src/models/getintegrationresourceop.ts +1 -0
- package/src/models/getintegrationresourcesop.ts +1 -0
- package/src/models/getorderop.ts +24 -15
- package/src/models/getprojectsop.ts +40 -0
- package/src/models/gettldpriceop.ts +14 -14
- package/src/models/importresourceop.ts +1 -0
- package/src/models/renewdomainop.ts +1 -1
- package/src/models/transferindomainop.ts +1 -1
- package/src/models/updateprojectop.ts +101 -30
- package/src/models/updatesharedconnectlinksop.ts +402 -0
- package/src/sdk/connect.ts +30 -0
- package/src/sdk/sdk.ts +6 -0
- package/vercel-spec.json +390 -169
|
@@ -44,17 +44,17 @@ export type GetDomainPriceDomainsRegistrarResponseBody =
|
|
|
44
44
|
export type GetDomainPriceResponseBody = {
|
|
45
45
|
years: number;
|
|
46
46
|
/**
|
|
47
|
-
* The
|
|
47
|
+
* The price for purchasing this domain for the given number of years. If null, the domain is not available for purchase for the given number of years.
|
|
48
48
|
*/
|
|
49
|
-
purchasePrice: number;
|
|
49
|
+
purchasePrice: number | null;
|
|
50
50
|
/**
|
|
51
|
-
* The
|
|
51
|
+
* The price for renewing this domain for the given number of years. If null, the domain cannot be renewed for the given number of years.
|
|
52
52
|
*/
|
|
53
|
-
renewalPrice: number;
|
|
53
|
+
renewalPrice: number | null;
|
|
54
54
|
/**
|
|
55
|
-
* The
|
|
55
|
+
* The price for transferring this domain in for the given number of years. If null, the domain cannot be transferred in for the given number of years.
|
|
56
56
|
*/
|
|
57
|
-
transferPrice: number;
|
|
57
|
+
transferPrice: number | null;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
/** @internal */
|
|
@@ -190,17 +190,17 @@ export const GetDomainPriceResponseBody$inboundSchema: z.ZodType<
|
|
|
190
190
|
unknown
|
|
191
191
|
> = z.object({
|
|
192
192
|
years: z.number(),
|
|
193
|
-
purchasePrice: z.number(),
|
|
194
|
-
renewalPrice: z.number(),
|
|
195
|
-
transferPrice: z.number(),
|
|
193
|
+
purchasePrice: z.nullable(z.number()),
|
|
194
|
+
renewalPrice: z.nullable(z.number()),
|
|
195
|
+
transferPrice: z.nullable(z.number()),
|
|
196
196
|
});
|
|
197
197
|
|
|
198
198
|
/** @internal */
|
|
199
199
|
export type GetDomainPriceResponseBody$Outbound = {
|
|
200
200
|
years: number;
|
|
201
|
-
purchasePrice: number;
|
|
202
|
-
renewalPrice: number;
|
|
203
|
-
transferPrice: number;
|
|
201
|
+
purchasePrice: number | null;
|
|
202
|
+
renewalPrice: number | null;
|
|
203
|
+
transferPrice: number | null;
|
|
204
204
|
};
|
|
205
205
|
|
|
206
206
|
/** @internal */
|
|
@@ -210,9 +210,9 @@ export const GetDomainPriceResponseBody$outboundSchema: z.ZodType<
|
|
|
210
210
|
GetDomainPriceResponseBody
|
|
211
211
|
> = z.object({
|
|
212
212
|
years: z.number(),
|
|
213
|
-
purchasePrice: z.number(),
|
|
214
|
-
renewalPrice: z.number(),
|
|
215
|
-
transferPrice: z.number(),
|
|
213
|
+
purchasePrice: z.nullable(z.number()),
|
|
214
|
+
renewalPrice: z.nullable(z.number()),
|
|
215
|
+
transferPrice: z.nullable(z.number()),
|
|
216
216
|
});
|
|
217
217
|
|
|
218
218
|
/**
|
package/src/models/getorderop.ts
CHANGED
|
@@ -52,13 +52,16 @@ export type GetOrderDomainsDomainsRegistrarStatus = ClosedEnum<
|
|
|
52
52
|
export type Domains3 = {
|
|
53
53
|
purchaseType: GetOrderDomainsPurchaseType;
|
|
54
54
|
autoRenew: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The number of years the domain is being transferred for.
|
|
57
|
+
*/
|
|
58
|
+
years: number;
|
|
55
59
|
domainName: string;
|
|
56
60
|
status: GetOrderDomainsDomainsRegistrarStatus;
|
|
57
61
|
/**
|
|
58
|
-
* The
|
|
62
|
+
* The price for the domain.
|
|
59
63
|
*/
|
|
60
64
|
price: number;
|
|
61
|
-
years: number;
|
|
62
65
|
};
|
|
63
66
|
|
|
64
67
|
export const DomainsPurchaseType = {
|
|
@@ -77,13 +80,16 @@ export type GetOrderDomainsStatus = ClosedEnum<typeof GetOrderDomainsStatus>;
|
|
|
77
80
|
|
|
78
81
|
export type Domains2 = {
|
|
79
82
|
purchaseType: DomainsPurchaseType;
|
|
83
|
+
/**
|
|
84
|
+
* The number of years the domain is being renewed for.
|
|
85
|
+
*/
|
|
86
|
+
years: number;
|
|
80
87
|
domainName: string;
|
|
81
88
|
status: GetOrderDomainsStatus;
|
|
82
89
|
/**
|
|
83
|
-
* The
|
|
90
|
+
* The price for the domain.
|
|
84
91
|
*/
|
|
85
92
|
price: number;
|
|
86
|
-
years: number;
|
|
87
93
|
};
|
|
88
94
|
|
|
89
95
|
export const GetOrderDomainsDomainsRegistrarPurchaseType = {
|
|
@@ -105,13 +111,16 @@ export type DomainsStatus = ClosedEnum<typeof DomainsStatus>;
|
|
|
105
111
|
export type Domains1 = {
|
|
106
112
|
purchaseType: GetOrderDomainsDomainsRegistrarPurchaseType;
|
|
107
113
|
autoRenew: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* The number of years the domain is being purchased for.
|
|
116
|
+
*/
|
|
117
|
+
years: number;
|
|
108
118
|
domainName: string;
|
|
109
119
|
status: DomainsStatus;
|
|
110
120
|
/**
|
|
111
|
-
* The
|
|
121
|
+
* The price for the domain.
|
|
112
122
|
*/
|
|
113
123
|
price: number;
|
|
114
|
-
years: number;
|
|
115
124
|
};
|
|
116
125
|
|
|
117
126
|
export type GetOrderDomains = Domains1 | Domains3 | Domains2;
|
|
@@ -352,20 +361,20 @@ export const Domains3$inboundSchema: z.ZodType<
|
|
|
352
361
|
> = z.object({
|
|
353
362
|
purchaseType: GetOrderDomainsPurchaseType$inboundSchema,
|
|
354
363
|
autoRenew: z.boolean(),
|
|
364
|
+
years: z.number(),
|
|
355
365
|
domainName: z.string(),
|
|
356
366
|
status: GetOrderDomainsDomainsRegistrarStatus$inboundSchema,
|
|
357
367
|
price: z.number(),
|
|
358
|
-
years: z.number(),
|
|
359
368
|
});
|
|
360
369
|
|
|
361
370
|
/** @internal */
|
|
362
371
|
export type Domains3$Outbound = {
|
|
363
372
|
purchaseType: string;
|
|
364
373
|
autoRenew: boolean;
|
|
374
|
+
years: number;
|
|
365
375
|
domainName: string;
|
|
366
376
|
status: string;
|
|
367
377
|
price: number;
|
|
368
|
-
years: number;
|
|
369
378
|
};
|
|
370
379
|
|
|
371
380
|
/** @internal */
|
|
@@ -376,10 +385,10 @@ export const Domains3$outboundSchema: z.ZodType<
|
|
|
376
385
|
> = z.object({
|
|
377
386
|
purchaseType: GetOrderDomainsPurchaseType$outboundSchema,
|
|
378
387
|
autoRenew: z.boolean(),
|
|
388
|
+
years: z.number(),
|
|
379
389
|
domainName: z.string(),
|
|
380
390
|
status: GetOrderDomainsDomainsRegistrarStatus$outboundSchema,
|
|
381
391
|
price: z.number(),
|
|
382
|
-
years: z.number(),
|
|
383
392
|
});
|
|
384
393
|
|
|
385
394
|
/**
|
|
@@ -458,19 +467,19 @@ export const Domains2$inboundSchema: z.ZodType<
|
|
|
458
467
|
unknown
|
|
459
468
|
> = z.object({
|
|
460
469
|
purchaseType: DomainsPurchaseType$inboundSchema,
|
|
470
|
+
years: z.number(),
|
|
461
471
|
domainName: z.string(),
|
|
462
472
|
status: GetOrderDomainsStatus$inboundSchema,
|
|
463
473
|
price: z.number(),
|
|
464
|
-
years: z.number(),
|
|
465
474
|
});
|
|
466
475
|
|
|
467
476
|
/** @internal */
|
|
468
477
|
export type Domains2$Outbound = {
|
|
469
478
|
purchaseType: string;
|
|
479
|
+
years: number;
|
|
470
480
|
domainName: string;
|
|
471
481
|
status: string;
|
|
472
482
|
price: number;
|
|
473
|
-
years: number;
|
|
474
483
|
};
|
|
475
484
|
|
|
476
485
|
/** @internal */
|
|
@@ -480,10 +489,10 @@ export const Domains2$outboundSchema: z.ZodType<
|
|
|
480
489
|
Domains2
|
|
481
490
|
> = z.object({
|
|
482
491
|
purchaseType: DomainsPurchaseType$outboundSchema,
|
|
492
|
+
years: z.number(),
|
|
483
493
|
domainName: z.string(),
|
|
484
494
|
status: GetOrderDomainsStatus$outboundSchema,
|
|
485
495
|
price: z.number(),
|
|
486
|
-
years: z.number(),
|
|
487
496
|
});
|
|
488
497
|
|
|
489
498
|
/**
|
|
@@ -565,20 +574,20 @@ export const Domains1$inboundSchema: z.ZodType<
|
|
|
565
574
|
> = z.object({
|
|
566
575
|
purchaseType: GetOrderDomainsDomainsRegistrarPurchaseType$inboundSchema,
|
|
567
576
|
autoRenew: z.boolean(),
|
|
577
|
+
years: z.number(),
|
|
568
578
|
domainName: z.string(),
|
|
569
579
|
status: DomainsStatus$inboundSchema,
|
|
570
580
|
price: z.number(),
|
|
571
|
-
years: z.number(),
|
|
572
581
|
});
|
|
573
582
|
|
|
574
583
|
/** @internal */
|
|
575
584
|
export type Domains1$Outbound = {
|
|
576
585
|
purchaseType: string;
|
|
577
586
|
autoRenew: boolean;
|
|
587
|
+
years: number;
|
|
578
588
|
domainName: string;
|
|
579
589
|
status: string;
|
|
580
590
|
price: number;
|
|
581
|
-
years: number;
|
|
582
591
|
};
|
|
583
592
|
|
|
584
593
|
/** @internal */
|
|
@@ -589,10 +598,10 @@ export const Domains1$outboundSchema: z.ZodType<
|
|
|
589
598
|
> = z.object({
|
|
590
599
|
purchaseType: GetOrderDomainsDomainsRegistrarPurchaseType$outboundSchema,
|
|
591
600
|
autoRenew: z.boolean(),
|
|
601
|
+
years: z.number(),
|
|
592
602
|
domainName: z.string(),
|
|
593
603
|
status: DomainsStatus$outboundSchema,
|
|
594
604
|
price: z.number(),
|
|
595
|
-
years: z.number(),
|
|
596
605
|
});
|
|
597
606
|
|
|
598
607
|
/**
|
|
@@ -46,6 +46,18 @@ export type ElasticConcurrencyEnabled = ClosedEnum<
|
|
|
46
46
|
typeof ElasticConcurrencyEnabled
|
|
47
47
|
>;
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Filter results by projects with Static IPs enabled
|
|
51
|
+
*/
|
|
52
|
+
export const StaticIpsEnabled = {
|
|
53
|
+
Zero: "0",
|
|
54
|
+
One: "1",
|
|
55
|
+
} as const;
|
|
56
|
+
/**
|
|
57
|
+
* Filter results by projects with Static IPs enabled
|
|
58
|
+
*/
|
|
59
|
+
export type StaticIpsEnabled = ClosedEnum<typeof StaticIpsEnabled>;
|
|
60
|
+
|
|
49
61
|
export type GetProjectsRequest = {
|
|
50
62
|
/**
|
|
51
63
|
* Query only projects updated after the given timestamp or continuation token.
|
|
@@ -92,6 +104,10 @@ export type GetProjectsRequest = {
|
|
|
92
104
|
* Filter results by projects with elastic concurrency enabled
|
|
93
105
|
*/
|
|
94
106
|
elasticConcurrencyEnabled?: ElasticConcurrencyEnabled | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Filter results by projects with Static IPs enabled
|
|
109
|
+
*/
|
|
110
|
+
staticIpsEnabled?: StaticIpsEnabled | undefined;
|
|
95
111
|
/**
|
|
96
112
|
* The Team identifier to perform the request on behalf of.
|
|
97
113
|
*/
|
|
@@ -2352,6 +2368,27 @@ export namespace ElasticConcurrencyEnabled$ {
|
|
|
2352
2368
|
export const outboundSchema = ElasticConcurrencyEnabled$outboundSchema;
|
|
2353
2369
|
}
|
|
2354
2370
|
|
|
2371
|
+
/** @internal */
|
|
2372
|
+
export const StaticIpsEnabled$inboundSchema: z.ZodNativeEnum<
|
|
2373
|
+
typeof StaticIpsEnabled
|
|
2374
|
+
> = z.nativeEnum(StaticIpsEnabled);
|
|
2375
|
+
|
|
2376
|
+
/** @internal */
|
|
2377
|
+
export const StaticIpsEnabled$outboundSchema: z.ZodNativeEnum<
|
|
2378
|
+
typeof StaticIpsEnabled
|
|
2379
|
+
> = StaticIpsEnabled$inboundSchema;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* @internal
|
|
2383
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2384
|
+
*/
|
|
2385
|
+
export namespace StaticIpsEnabled$ {
|
|
2386
|
+
/** @deprecated use `StaticIpsEnabled$inboundSchema` instead. */
|
|
2387
|
+
export const inboundSchema = StaticIpsEnabled$inboundSchema;
|
|
2388
|
+
/** @deprecated use `StaticIpsEnabled$outboundSchema` instead. */
|
|
2389
|
+
export const outboundSchema = StaticIpsEnabled$outboundSchema;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2355
2392
|
/** @internal */
|
|
2356
2393
|
export const GetProjectsRequest$inboundSchema: z.ZodType<
|
|
2357
2394
|
GetProjectsRequest,
|
|
@@ -2370,6 +2407,7 @@ export const GetProjectsRequest$inboundSchema: z.ZodType<
|
|
|
2370
2407
|
edgeConfigTokenId: z.string().optional(),
|
|
2371
2408
|
deprecated: z.boolean().optional(),
|
|
2372
2409
|
elasticConcurrencyEnabled: ElasticConcurrencyEnabled$inboundSchema.optional(),
|
|
2410
|
+
staticIpsEnabled: StaticIpsEnabled$inboundSchema.optional(),
|
|
2373
2411
|
teamId: z.string().optional(),
|
|
2374
2412
|
slug: z.string().optional(),
|
|
2375
2413
|
});
|
|
@@ -2388,6 +2426,7 @@ export type GetProjectsRequest$Outbound = {
|
|
|
2388
2426
|
edgeConfigTokenId?: string | undefined;
|
|
2389
2427
|
deprecated?: boolean | undefined;
|
|
2390
2428
|
elasticConcurrencyEnabled?: string | undefined;
|
|
2429
|
+
staticIpsEnabled?: string | undefined;
|
|
2391
2430
|
teamId?: string | undefined;
|
|
2392
2431
|
slug?: string | undefined;
|
|
2393
2432
|
};
|
|
@@ -2411,6 +2450,7 @@ export const GetProjectsRequest$outboundSchema: z.ZodType<
|
|
|
2411
2450
|
deprecated: z.boolean().optional(),
|
|
2412
2451
|
elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema
|
|
2413
2452
|
.optional(),
|
|
2453
|
+
staticIpsEnabled: StaticIpsEnabled$outboundSchema.optional(),
|
|
2414
2454
|
teamId: z.string().optional(),
|
|
2415
2455
|
slug: z.string().optional(),
|
|
2416
2456
|
});
|
|
@@ -42,15 +42,15 @@ export type GetTldPriceResponseBody = {
|
|
|
42
42
|
/**
|
|
43
43
|
* The base TLD price for purchasing a domain for the given number of years. If null, the TLD does not support purchasing domains for the given number of years.
|
|
44
44
|
*/
|
|
45
|
-
purchasePrice: number;
|
|
45
|
+
purchasePrice: number | null;
|
|
46
46
|
/**
|
|
47
|
-
* The base TLD price for
|
|
47
|
+
* The base TLD price for renewing a domain for the given number of years. If null, the TLD does not support renewing domains for the given number of years.
|
|
48
48
|
*/
|
|
49
|
-
renewalPrice: number;
|
|
49
|
+
renewalPrice: number | null;
|
|
50
50
|
/**
|
|
51
|
-
* The base TLD price for
|
|
51
|
+
* The base TLD price for transferring a domain in for the given number of years. If null, the TLD does not support transferring domains in for the given number of years.
|
|
52
52
|
*/
|
|
53
|
-
transferPrice: number;
|
|
53
|
+
transferPrice: number | null;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
/** @internal */
|
|
@@ -181,17 +181,17 @@ export const GetTldPriceResponseBody$inboundSchema: z.ZodType<
|
|
|
181
181
|
unknown
|
|
182
182
|
> = z.object({
|
|
183
183
|
years: z.number(),
|
|
184
|
-
purchasePrice: z.number(),
|
|
185
|
-
renewalPrice: z.number(),
|
|
186
|
-
transferPrice: z.number(),
|
|
184
|
+
purchasePrice: z.nullable(z.number()),
|
|
185
|
+
renewalPrice: z.nullable(z.number()),
|
|
186
|
+
transferPrice: z.nullable(z.number()),
|
|
187
187
|
});
|
|
188
188
|
|
|
189
189
|
/** @internal */
|
|
190
190
|
export type GetTldPriceResponseBody$Outbound = {
|
|
191
191
|
years: number;
|
|
192
|
-
purchasePrice: number;
|
|
193
|
-
renewalPrice: number;
|
|
194
|
-
transferPrice: number;
|
|
192
|
+
purchasePrice: number | null;
|
|
193
|
+
renewalPrice: number | null;
|
|
194
|
+
transferPrice: number | null;
|
|
195
195
|
};
|
|
196
196
|
|
|
197
197
|
/** @internal */
|
|
@@ -201,9 +201,9 @@ export const GetTldPriceResponseBody$outboundSchema: z.ZodType<
|
|
|
201
201
|
GetTldPriceResponseBody
|
|
202
202
|
> = z.object({
|
|
203
203
|
years: z.number(),
|
|
204
|
-
purchasePrice: z.number(),
|
|
205
|
-
renewalPrice: z.number(),
|
|
206
|
-
transferPrice: z.number(),
|
|
204
|
+
purchasePrice: z.nullable(z.number()),
|
|
205
|
+
renewalPrice: z.nullable(z.number()),
|
|
206
|
+
transferPrice: z.nullable(z.number()),
|
|
207
207
|
});
|
|
208
208
|
|
|
209
209
|
/**
|
|
@@ -114,7 +114,7 @@ export type RenewDomainRequestBody = {
|
|
|
114
114
|
*/
|
|
115
115
|
years: number;
|
|
116
116
|
/**
|
|
117
|
-
* The
|
|
117
|
+
* The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain.
|
|
118
118
|
*/
|
|
119
119
|
expectedPrice: number;
|
|
120
120
|
contactInformation?: RenewDomainContactInformation | undefined;
|
|
@@ -113,7 +113,7 @@ export type TransferInDomainRequestBody = {
|
|
|
113
113
|
*/
|
|
114
114
|
years: number;
|
|
115
115
|
/**
|
|
116
|
-
* The
|
|
116
|
+
* The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain.
|
|
117
117
|
*/
|
|
118
118
|
expectedPrice: number;
|
|
119
119
|
contactInformation: TransferInDomainContactInformation;
|