@vercel/sdk 1.13.8 → 1.14.0
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 +29 -21
- package/bin/mcp-server.js +2619 -1667
- package/bin/mcp-server.js.map +47 -36
- package/docs/sdks/domainsregistrar/README.md +6 -0
- package/docs/sdks/marketplace/README.md +150 -0
- package/docs/sdks/projects/README.md +2 -0
- package/docs/sdks/security/README.md +70 -0
- package/esm/__tests__/accessgroups.test.js +3 -1
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +9 -6
- 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__/marketplace.test.js +16 -0
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +14 -0
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/integrationsDeleteConfiguration.js +2 -2
- package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInstallation.d.ts +17 -0
- package/esm/funcs/marketplaceUpdateInstallation.d.ts.map +1 -0
- package/esm/funcs/marketplaceUpdateInstallation.js +82 -0
- package/esm/funcs/marketplaceUpdateInstallation.js.map +1 -0
- package/esm/funcs/marketplaceUpdateResource.d.ts +17 -0
- package/esm/funcs/marketplaceUpdateResource.d.ts.map +1 -0
- package/esm/funcs/marketplaceUpdateResource.js +85 -0
- package/esm/funcs/marketplaceUpdateResource.js.map +1 -0
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/funcs/securityGetV1SecurityFirewallEvents.d.ts +17 -0
- package/esm/funcs/securityGetV1SecurityFirewallEvents.d.ts.map +1 -0
- package/esm/funcs/securityGetV1SecurityFirewallEvents.js +78 -0
- package/esm/funcs/securityGetV1SecurityFirewallEvents.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- 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 +7 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.js +27 -0
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.js.map +1 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.js +28 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.js.map +1 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.d.ts +7 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.js +28 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.js.map +1 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts +1 -1
- package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/acceptprojecttransferrequestop.js +2 -1
- package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
- package/esm/models/authtoken.d.ts +6 -0
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +2 -0
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +3 -2
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buydomainsop.js +3 -0
- package/esm/models/buydomainsop.js.map +1 -1
- package/esm/models/buysingledomainop.d.ts +11 -10
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +15 -13
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/createeventop.d.ts +2 -2
- package/esm/models/createeventop.d.ts.map +1 -1
- package/esm/models/createeventop.js +2 -2
- package/esm/models/createeventop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +340 -315
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +392 -381
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +154 -156
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +149 -151
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +12 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/dnssecenabled.d.ts +70 -0
- package/esm/models/dnssecenabled.d.ts.map +1 -0
- package/esm/models/dnssecenabled.js +72 -0
- package/esm/models/dnssecenabled.js.map +1 -0
- package/esm/models/domaintooshort.d.ts +70 -0
- package/esm/models/domaintooshort.d.ts.map +1 -0
- package/esm/models/domaintooshort.js +72 -0
- package/esm/models/domaintooshort.js.map +1 -0
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +2 -0
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +4 -0
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/filetree.d.ts +0 -5
- package/esm/models/filetree.d.ts.map +1 -1
- package/esm/models/filetree.js +0 -2
- package/esm/models/filetree.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getconfigurationsop.d.ts +18 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +6 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdomainpriceop.d.ts +3 -2
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +3 -0
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +9 -9
- package/esm/models/getprojectenvop.js +3 -3
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +129 -126
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +133 -133
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getv1securityfirewalleventsop.d.ts +95 -0
- package/esm/models/getv1securityfirewalleventsop.d.ts.map +1 -0
- package/esm/models/getv1securityfirewalleventsop.js +108 -0
- package/esm/models/getv1securityfirewalleventsop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +6 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +12 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +69 -69
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +76 -73
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +3 -2
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js +3 -0
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/team.d.ts +1 -1
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +1 -1
- package/esm/models/team.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +4 -2
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.js +6 -0
- package/esm/models/transferindomainop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +242 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -0
- package/esm/models/updateinstallationop.js +246 -0
- package/esm/models/updateinstallationop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +124 -126
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +131 -133
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +154 -156
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +149 -151
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourceop.d.ts +432 -0
- package/esm/models/updateresourceop.d.ts.map +1 -0
- package/esm/models/updateresourceop.js +393 -0
- package/esm/models/updateresourceop.js.map +1 -0
- package/esm/models/userevent.d.ts +199 -17
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +157 -11
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/marketplace.d.ts +16 -0
- package/esm/sdk/marketplace.d.ts.map +1 -1
- package/esm/sdk/marketplace.js +20 -0
- package/esm/sdk/marketplace.js.map +1 -1
- package/esm/sdk/security.d.ts +8 -0
- package/esm/sdk/security.d.ts.map +1 -1
- package/esm/sdk/security.js +10 -0
- package/esm/sdk/security.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +3 -1
- package/src/__tests__/domains.test.ts +9 -6
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/marketplace.test.ts +19 -0
- package/src/__tests__/rollingrelease.test.ts +2 -2
- package/src/__tests__/security.test.ts +19 -0
- package/src/funcs/integrationsDeleteConfiguration.ts +2 -2
- package/src/funcs/marketplaceUpdateInstallation.ts +174 -0
- package/src/funcs/marketplaceUpdateResource.ts +179 -0
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/funcs/securityGetV1SecurityFirewallEvents.ts +165 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/marketplaceUpdateInstallation.ts +35 -0
- package/src/mcp-server/tools/marketplaceUpdateResource.ts +37 -0
- package/src/mcp-server/tools/securityGetV1SecurityFirewallEvents.ts +39 -0
- package/src/models/acceptprojecttransferrequestop.ts +3 -2
- package/src/models/authtoken.ts +2 -0
- package/src/models/buydomainsop.ts +10 -0
- package/src/models/buysingledomainop.ts +26 -14
- package/src/models/createeventop.ts +4 -4
- package/src/models/createintegrationstoredirectop.ts +714 -668
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +285 -289
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/dnssecenabled.ts +120 -0
- package/src/models/domaintooshort.ts +120 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/exchangessotokenop.ts +6 -0
- package/src/models/filetree.ts +0 -7
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getconfigurationsop.ts +6 -0
- package/src/models/getdomainpriceop.ts +10 -0
- package/src/models/getprojectenvop.ts +3 -3
- package/src/models/getprojectsop.ts +262 -259
- package/src/models/getv1securityfirewalleventsop.ts +233 -0
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +4 -0
- package/src/models/importresourceop.ts +144 -117
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/renewdomainop.ts +10 -0
- package/src/models/team.ts +2 -2
- package/src/models/transferindomainop.ts +20 -0
- package/src/models/updateinstallationop.ts +488 -0
- package/src/models/updateprojectdatacacheop.ts +255 -259
- package/src/models/updateprojectop.ts +285 -289
- package/src/models/updateresourceop.ts +823 -0
- package/src/models/userevent.ts +328 -19
- package/src/sdk/marketplace.ts +41 -0
- package/src/sdk/security.ts +22 -0
- package/vercel-spec.json +1875 -1205
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { VercelCore } from "../core.js";
|
|
6
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
|
+
import { pathToFunc } from "../lib/url.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../models/httpclienterrors.js";
|
|
20
|
+
import { ResponseValidationError } from "../models/responsevalidationerror.js";
|
|
21
|
+
import { SDKValidationError } from "../models/sdkvalidationerror.js";
|
|
22
|
+
import {
|
|
23
|
+
UpdateResourceRequest,
|
|
24
|
+
UpdateResourceRequest$outboundSchema,
|
|
25
|
+
UpdateResourceResponseBody,
|
|
26
|
+
UpdateResourceResponseBody$inboundSchema,
|
|
27
|
+
} from "../models/updateresourceop.js";
|
|
28
|
+
import { VercelError } from "../models/vercelerror.js";
|
|
29
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
30
|
+
import { Result } from "../types/fp.js";
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Update Resource
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates.
|
|
37
|
+
*/
|
|
38
|
+
export function marketplaceUpdateResource(
|
|
39
|
+
client: VercelCore,
|
|
40
|
+
request: UpdateResourceRequest,
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<
|
|
43
|
+
Result<
|
|
44
|
+
UpdateResourceResponseBody,
|
|
45
|
+
| VercelError
|
|
46
|
+
| ResponseValidationError
|
|
47
|
+
| ConnectionError
|
|
48
|
+
| RequestAbortedError
|
|
49
|
+
| RequestTimeoutError
|
|
50
|
+
| InvalidRequestError
|
|
51
|
+
| UnexpectedClientError
|
|
52
|
+
| SDKValidationError
|
|
53
|
+
>
|
|
54
|
+
> {
|
|
55
|
+
return new APIPromise($do(
|
|
56
|
+
client,
|
|
57
|
+
request,
|
|
58
|
+
options,
|
|
59
|
+
));
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
async function $do(
|
|
63
|
+
client: VercelCore,
|
|
64
|
+
request: UpdateResourceRequest,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): Promise<
|
|
67
|
+
[
|
|
68
|
+
Result<
|
|
69
|
+
UpdateResourceResponseBody,
|
|
70
|
+
| VercelError
|
|
71
|
+
| ResponseValidationError
|
|
72
|
+
| ConnectionError
|
|
73
|
+
| RequestAbortedError
|
|
74
|
+
| RequestTimeoutError
|
|
75
|
+
| InvalidRequestError
|
|
76
|
+
| UnexpectedClientError
|
|
77
|
+
| SDKValidationError
|
|
78
|
+
>,
|
|
79
|
+
APICall,
|
|
80
|
+
]
|
|
81
|
+
> {
|
|
82
|
+
const parsed = safeParse(
|
|
83
|
+
request,
|
|
84
|
+
(value) => UpdateResourceRequest$outboundSchema.parse(value),
|
|
85
|
+
"Input validation failed",
|
|
86
|
+
);
|
|
87
|
+
if (!parsed.ok) {
|
|
88
|
+
return [parsed, { status: "invalid" }];
|
|
89
|
+
}
|
|
90
|
+
const payload = parsed.value;
|
|
91
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
92
|
+
|
|
93
|
+
const pathParams = {
|
|
94
|
+
integrationConfigurationId: encodeSimple(
|
|
95
|
+
"integrationConfigurationId",
|
|
96
|
+
payload.integrationConfigurationId,
|
|
97
|
+
{ explode: false, charEncoding: "percent" },
|
|
98
|
+
),
|
|
99
|
+
resourceId: encodeSimple("resourceId", payload.resourceId, {
|
|
100
|
+
explode: false,
|
|
101
|
+
charEncoding: "percent",
|
|
102
|
+
}),
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const path = pathToFunc(
|
|
106
|
+
"/v1/installations/{integrationConfigurationId}/resources/{resourceId}",
|
|
107
|
+
)(pathParams);
|
|
108
|
+
|
|
109
|
+
const headers = new Headers(compactMap({
|
|
110
|
+
"Content-Type": "application/json",
|
|
111
|
+
Accept: "application/json",
|
|
112
|
+
}));
|
|
113
|
+
|
|
114
|
+
const secConfig = await extractSecurity(client._options.bearerToken);
|
|
115
|
+
const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
|
|
116
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
117
|
+
|
|
118
|
+
const context = {
|
|
119
|
+
options: client._options,
|
|
120
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
121
|
+
operationID: "update-resource",
|
|
122
|
+
oAuth2Scopes: null,
|
|
123
|
+
|
|
124
|
+
resolvedSecurity: requestSecurity,
|
|
125
|
+
|
|
126
|
+
securitySource: client._options.bearerToken,
|
|
127
|
+
retryConfig: options?.retries
|
|
128
|
+
|| client._options.retryConfig
|
|
129
|
+
|| { strategy: "none" },
|
|
130
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
const requestRes = client._createRequest(context, {
|
|
134
|
+
security: requestSecurity,
|
|
135
|
+
method: "PATCH",
|
|
136
|
+
baseURL: options?.serverURL,
|
|
137
|
+
path: path,
|
|
138
|
+
headers: headers,
|
|
139
|
+
body: body,
|
|
140
|
+
userAgent: client._options.userAgent,
|
|
141
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
142
|
+
}, options);
|
|
143
|
+
if (!requestRes.ok) {
|
|
144
|
+
return [requestRes, { status: "invalid" }];
|
|
145
|
+
}
|
|
146
|
+
const req = requestRes.value;
|
|
147
|
+
|
|
148
|
+
const doResult = await client._do(req, {
|
|
149
|
+
context,
|
|
150
|
+
errorCodes: ["400", "401", "403", "404", "409", "422", "4XX", "5XX"],
|
|
151
|
+
retryConfig: context.retryConfig,
|
|
152
|
+
retryCodes: context.retryCodes,
|
|
153
|
+
});
|
|
154
|
+
if (!doResult.ok) {
|
|
155
|
+
return [doResult, { status: "request-error", request: req }];
|
|
156
|
+
}
|
|
157
|
+
const response = doResult.value;
|
|
158
|
+
|
|
159
|
+
const [result] = await M.match<
|
|
160
|
+
UpdateResourceResponseBody,
|
|
161
|
+
| VercelError
|
|
162
|
+
| ResponseValidationError
|
|
163
|
+
| ConnectionError
|
|
164
|
+
| RequestAbortedError
|
|
165
|
+
| RequestTimeoutError
|
|
166
|
+
| InvalidRequestError
|
|
167
|
+
| UnexpectedClientError
|
|
168
|
+
| SDKValidationError
|
|
169
|
+
>(
|
|
170
|
+
M.json(200, UpdateResourceResponseBody$inboundSchema),
|
|
171
|
+
M.fail([400, 401, 403, 404, 409, 422, "4XX"]),
|
|
172
|
+
M.fail("5XX"),
|
|
173
|
+
)(response, req);
|
|
174
|
+
if (!result.ok) {
|
|
175
|
+
return [result, { status: "complete", request: req, response }];
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
179
|
+
}
|
|
@@ -93,6 +93,7 @@ async function $do(
|
|
|
93
93
|
const path = pathToFunc("/v10/projects")();
|
|
94
94
|
|
|
95
95
|
const query = encodeFormQuery({
|
|
96
|
+
"buildMachineTypes": payload.buildMachineTypes,
|
|
96
97
|
"deprecated": payload.deprecated,
|
|
97
98
|
"edgeConfigId": payload.edgeConfigId,
|
|
98
99
|
"edgeConfigTokenId": payload.edgeConfigTokenId,
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { VercelCore } from "../core.js";
|
|
6
|
+
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import {
|
|
13
|
+
GetV1SecurityFirewallEventsRequest,
|
|
14
|
+
GetV1SecurityFirewallEventsRequest$outboundSchema,
|
|
15
|
+
GetV1SecurityFirewallEventsResponseBody,
|
|
16
|
+
GetV1SecurityFirewallEventsResponseBody$inboundSchema,
|
|
17
|
+
} from "../models/getv1securityfirewalleventsop.js";
|
|
18
|
+
import {
|
|
19
|
+
ConnectionError,
|
|
20
|
+
InvalidRequestError,
|
|
21
|
+
RequestAbortedError,
|
|
22
|
+
RequestTimeoutError,
|
|
23
|
+
UnexpectedClientError,
|
|
24
|
+
} from "../models/httpclienterrors.js";
|
|
25
|
+
import { ResponseValidationError } from "../models/responsevalidationerror.js";
|
|
26
|
+
import { SDKValidationError } from "../models/sdkvalidationerror.js";
|
|
27
|
+
import { VercelError } from "../models/vercelerror.js";
|
|
28
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
29
|
+
import { Result } from "../types/fp.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Read Firewall Actions by Project
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Retrieve firewall actions for a project
|
|
36
|
+
*/
|
|
37
|
+
export function securityGetV1SecurityFirewallEvents(
|
|
38
|
+
client: VercelCore,
|
|
39
|
+
request: GetV1SecurityFirewallEventsRequest,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
GetV1SecurityFirewallEventsResponseBody,
|
|
44
|
+
| VercelError
|
|
45
|
+
| ResponseValidationError
|
|
46
|
+
| ConnectionError
|
|
47
|
+
| RequestAbortedError
|
|
48
|
+
| RequestTimeoutError
|
|
49
|
+
| InvalidRequestError
|
|
50
|
+
| UnexpectedClientError
|
|
51
|
+
| SDKValidationError
|
|
52
|
+
>
|
|
53
|
+
> {
|
|
54
|
+
return new APIPromise($do(
|
|
55
|
+
client,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async function $do(
|
|
62
|
+
client: VercelCore,
|
|
63
|
+
request: GetV1SecurityFirewallEventsRequest,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<
|
|
66
|
+
[
|
|
67
|
+
Result<
|
|
68
|
+
GetV1SecurityFirewallEventsResponseBody,
|
|
69
|
+
| VercelError
|
|
70
|
+
| ResponseValidationError
|
|
71
|
+
| ConnectionError
|
|
72
|
+
| RequestAbortedError
|
|
73
|
+
| RequestTimeoutError
|
|
74
|
+
| InvalidRequestError
|
|
75
|
+
| UnexpectedClientError
|
|
76
|
+
| SDKValidationError
|
|
77
|
+
>,
|
|
78
|
+
APICall,
|
|
79
|
+
]
|
|
80
|
+
> {
|
|
81
|
+
const parsed = safeParse(
|
|
82
|
+
request,
|
|
83
|
+
(value) => GetV1SecurityFirewallEventsRequest$outboundSchema.parse(value),
|
|
84
|
+
"Input validation failed",
|
|
85
|
+
);
|
|
86
|
+
if (!parsed.ok) {
|
|
87
|
+
return [parsed, { status: "invalid" }];
|
|
88
|
+
}
|
|
89
|
+
const payload = parsed.value;
|
|
90
|
+
const body = null;
|
|
91
|
+
|
|
92
|
+
const path = pathToFunc("/v1/security/firewall/events")();
|
|
93
|
+
|
|
94
|
+
const query = encodeFormQuery({
|
|
95
|
+
"endTimestamp": payload.endTimestamp,
|
|
96
|
+
"projectId": payload.projectId,
|
|
97
|
+
"startTimestamp": payload.startTimestamp,
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
const headers = new Headers(compactMap({
|
|
101
|
+
Accept: "application/json",
|
|
102
|
+
}));
|
|
103
|
+
|
|
104
|
+
const context = {
|
|
105
|
+
options: client._options,
|
|
106
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
107
|
+
operationID: "get_/v1/security/firewall/events",
|
|
108
|
+
oAuth2Scopes: null,
|
|
109
|
+
|
|
110
|
+
resolvedSecurity: null,
|
|
111
|
+
|
|
112
|
+
securitySource: null,
|
|
113
|
+
retryConfig: options?.retries
|
|
114
|
+
|| client._options.retryConfig
|
|
115
|
+
|| { strategy: "none" },
|
|
116
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
const requestRes = client._createRequest(context, {
|
|
120
|
+
method: "GET",
|
|
121
|
+
baseURL: options?.serverURL,
|
|
122
|
+
path: path,
|
|
123
|
+
headers: headers,
|
|
124
|
+
query: query,
|
|
125
|
+
body: body,
|
|
126
|
+
userAgent: client._options.userAgent,
|
|
127
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
128
|
+
}, options);
|
|
129
|
+
if (!requestRes.ok) {
|
|
130
|
+
return [requestRes, { status: "invalid" }];
|
|
131
|
+
}
|
|
132
|
+
const req = requestRes.value;
|
|
133
|
+
|
|
134
|
+
const doResult = await client._do(req, {
|
|
135
|
+
context,
|
|
136
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
137
|
+
retryConfig: context.retryConfig,
|
|
138
|
+
retryCodes: context.retryCodes,
|
|
139
|
+
});
|
|
140
|
+
if (!doResult.ok) {
|
|
141
|
+
return [doResult, { status: "request-error", request: req }];
|
|
142
|
+
}
|
|
143
|
+
const response = doResult.value;
|
|
144
|
+
|
|
145
|
+
const [result] = await M.match<
|
|
146
|
+
GetV1SecurityFirewallEventsResponseBody,
|
|
147
|
+
| VercelError
|
|
148
|
+
| ResponseValidationError
|
|
149
|
+
| ConnectionError
|
|
150
|
+
| RequestAbortedError
|
|
151
|
+
| RequestTimeoutError
|
|
152
|
+
| InvalidRequestError
|
|
153
|
+
| UnexpectedClientError
|
|
154
|
+
| SDKValidationError
|
|
155
|
+
>(
|
|
156
|
+
M.json(200, GetV1SecurityFirewallEventsResponseBody$inboundSchema),
|
|
157
|
+
M.fail([400, 401, 403, 404, "4XX"]),
|
|
158
|
+
M.fail([500, "5XX"]),
|
|
159
|
+
)(response, req);
|
|
160
|
+
if (!result.ok) {
|
|
161
|
+
return [result, { status: "complete", request: req, response }];
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return [result, { status: "complete", request: req, response }];
|
|
165
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "1.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.
|
|
64
|
+
sdkVersion: "1.14.0",
|
|
65
|
+
genVersion: "2.727.4",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.14.0 2.727.4 0.0.1 @vercel/sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -139,9 +139,11 @@ import { tool$marketplaceImportResource } from "./tools/marketplaceImportResourc
|
|
|
139
139
|
import { tool$marketplaceSubmitBillingData } from "./tools/marketplaceSubmitBillingData.js";
|
|
140
140
|
import { tool$marketplaceSubmitInvoice } from "./tools/marketplaceSubmitInvoice.js";
|
|
141
141
|
import { tool$marketplaceSubmitPrepaymentBalances } from "./tools/marketplaceSubmitPrepaymentBalances.js";
|
|
142
|
+
import { tool$marketplaceUpdateInstallation } from "./tools/marketplaceUpdateInstallation.js";
|
|
142
143
|
import { tool$marketplaceUpdateInstallationIntegrationConfiguration } from "./tools/marketplaceUpdateInstallationIntegrationConfiguration.js";
|
|
143
144
|
import { tool$marketplaceUpdateInstallationIntegrationEdgeConfig } from "./tools/marketplaceUpdateInstallationIntegrationEdgeConfig.js";
|
|
144
145
|
import { tool$marketplaceUpdateInvoice } from "./tools/marketplaceUpdateInvoice.js";
|
|
146
|
+
import { tool$marketplaceUpdateResource } from "./tools/marketplaceUpdateResource.js";
|
|
145
147
|
import { tool$marketplaceUpdateResourceSecrets } from "./tools/marketplaceUpdateResourceSecrets.js";
|
|
146
148
|
import { tool$marketplaceUpdateResourceSecretsById } from "./tools/marketplaceUpdateResourceSecretsById.js";
|
|
147
149
|
import { tool$projectMembersAddProjectMember } from "./tools/projectMembersAddProjectMember.js";
|
|
@@ -184,6 +186,7 @@ import { tool$securityAddBypassIp } from "./tools/securityAddBypassIp.js";
|
|
|
184
186
|
import { tool$securityGetActiveAttackStatus } from "./tools/securityGetActiveAttackStatus.js";
|
|
185
187
|
import { tool$securityGetBypassIp } from "./tools/securityGetBypassIp.js";
|
|
186
188
|
import { tool$securityGetFirewallConfig } from "./tools/securityGetFirewallConfig.js";
|
|
189
|
+
import { tool$securityGetV1SecurityFirewallEvents } from "./tools/securityGetV1SecurityFirewallEvents.js";
|
|
187
190
|
import { tool$securityPutFirewallConfig } from "./tools/securityPutFirewallConfig.js";
|
|
188
191
|
import { tool$securityRemoveBypassIp } from "./tools/securityRemoveBypassIp.js";
|
|
189
192
|
import { tool$securityUpdateAttackChallengeMode } from "./tools/securityUpdateAttackChallengeMode.js";
|
|
@@ -219,7 +222,7 @@ export function createMCPServer(deps: {
|
|
|
219
222
|
}) {
|
|
220
223
|
const server = new McpServer({
|
|
221
224
|
name: "Vercel",
|
|
222
|
-
version: "1.
|
|
225
|
+
version: "1.14.0",
|
|
223
226
|
});
|
|
224
227
|
|
|
225
228
|
const client = new VercelCore({
|
|
@@ -365,6 +368,7 @@ export function createMCPServer(deps: {
|
|
|
365
368
|
tool(tool$userListUserEvents);
|
|
366
369
|
tool(tool$userGetAuthUser);
|
|
367
370
|
tool(tool$userRequestDelete);
|
|
371
|
+
tool(tool$marketplaceUpdateInstallation);
|
|
368
372
|
tool(tool$marketplaceGetAccountInfo);
|
|
369
373
|
tool(tool$marketplaceGetMember);
|
|
370
374
|
tool(tool$marketplaceCreateEvent);
|
|
@@ -372,6 +376,7 @@ export function createMCPServer(deps: {
|
|
|
372
376
|
tool(tool$marketplaceGetIntegrationResource);
|
|
373
377
|
tool(tool$marketplaceDeleteIntegrationResource);
|
|
374
378
|
tool(tool$marketplaceImportResource);
|
|
379
|
+
tool(tool$marketplaceUpdateResource);
|
|
375
380
|
tool(tool$marketplaceSubmitBillingData);
|
|
376
381
|
tool(tool$marketplaceSubmitInvoice);
|
|
377
382
|
tool(tool$marketplaceGetInvoice);
|
|
@@ -417,6 +422,7 @@ export function createMCPServer(deps: {
|
|
|
417
422
|
tool(tool$securityGetBypassIp);
|
|
418
423
|
tool(tool$securityAddBypassIp);
|
|
419
424
|
tool(tool$securityRemoveBypassIp);
|
|
425
|
+
tool(tool$securityGetV1SecurityFirewallEvents);
|
|
420
426
|
tool(tool$teamsGetTeamMembers);
|
|
421
427
|
tool(tool$teamsInviteUserToTeam);
|
|
422
428
|
tool(tool$teamsRequestAccessToTeam);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { marketplaceUpdateInstallation } from "../../funcs/marketplaceUpdateInstallation.js";
|
|
6
|
+
import { UpdateInstallationRequest$inboundSchema } from "../../models/updateinstallationop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: UpdateInstallationRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$marketplaceUpdateInstallation: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "marketplace-update-installation",
|
|
15
|
+
description: `Update Installation
|
|
16
|
+
|
|
17
|
+
This endpoint updates an integration installation.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await marketplaceUpdateInstallation(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return formatResult(void 0, apiCall);
|
|
34
|
+
},
|
|
35
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { marketplaceUpdateResource } from "../../funcs/marketplaceUpdateResource.js";
|
|
6
|
+
import { UpdateResourceRequest$inboundSchema } from "../../models/updateresourceop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: UpdateResourceRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$marketplaceUpdateResource: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "marketplace-update-resource",
|
|
15
|
+
description: `Update Resource
|
|
16
|
+
|
|
17
|
+
This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await marketplaceUpdateResource(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { securityGetV1SecurityFirewallEvents } from "../../funcs/securityGetV1SecurityFirewallEvents.js";
|
|
6
|
+
import { GetV1SecurityFirewallEventsRequest$inboundSchema } from "../../models/getv1securityfirewalleventsop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: GetV1SecurityFirewallEventsRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$securityGetV1SecurityFirewallEvents: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "security-get-v1-security-firewall-events",
|
|
17
|
+
description: `Read Firewall Actions by Project
|
|
18
|
+
|
|
19
|
+
Retrieve firewall actions for a project`,
|
|
20
|
+
args,
|
|
21
|
+
tool: async (client, args, ctx) => {
|
|
22
|
+
const [result, apiCall] = await securityGetV1SecurityFirewallEvents(
|
|
23
|
+
client,
|
|
24
|
+
args.request,
|
|
25
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
26
|
+
).$inspect();
|
|
27
|
+
|
|
28
|
+
if (!result.ok) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: "text", text: result.error.message }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const value = result.value;
|
|
36
|
+
|
|
37
|
+
return formatResult(value, apiCall);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
@@ -21,7 +21,7 @@ export type PaidFeatures = {
|
|
|
21
21
|
export type AcceptedPolicies = {
|
|
22
22
|
eula: Date;
|
|
23
23
|
privacy: Date;
|
|
24
|
-
additionalProperties?: { [k: string]: Date };
|
|
24
|
+
additionalProperties?: { [k: string]: Date } | undefined;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export type AcceptProjectTransferRequestRequestBody = {
|
|
@@ -174,7 +174,8 @@ export const AcceptedPolicies$outboundSchema: z.ZodType<
|
|
|
174
174
|
> = z.object({
|
|
175
175
|
eula: z.date().transform(v => v.toISOString()),
|
|
176
176
|
privacy: z.date().transform(v => v.toISOString()),
|
|
177
|
-
additionalProperties: z.record(z.date().transform(v => v.toISOString()))
|
|
177
|
+
additionalProperties: z.record(z.date().transform(v => v.toISOString()))
|
|
178
|
+
.optional(),
|
|
178
179
|
}).transform((v) => {
|
|
179
180
|
return {
|
|
180
181
|
...v.additionalProperties,
|
package/src/models/authtoken.ts
CHANGED
|
@@ -25,6 +25,7 @@ export const AuthTokenScopesOrigin = {
|
|
|
25
25
|
Sms: "sms",
|
|
26
26
|
Invite: "invite",
|
|
27
27
|
Google: "google",
|
|
28
|
+
Apple: "apple",
|
|
28
29
|
App: "app",
|
|
29
30
|
} as const;
|
|
30
31
|
export type AuthTokenScopesOrigin = ClosedEnum<typeof AuthTokenScopesOrigin>;
|
|
@@ -78,6 +79,7 @@ export const ScopesOrigin = {
|
|
|
78
79
|
Sms: "sms",
|
|
79
80
|
Invite: "invite",
|
|
80
81
|
Google: "google",
|
|
82
|
+
Apple: "apple",
|
|
81
83
|
App: "app",
|
|
82
84
|
} as const;
|
|
83
85
|
export type ScopesOrigin = ClosedEnum<typeof ScopesOrigin>;
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
DomainNotAvailable$Outbound,
|
|
20
20
|
DomainNotAvailable$outboundSchema,
|
|
21
21
|
} from "./domainnotavailable.js";
|
|
22
|
+
import {
|
|
23
|
+
DomainTooShort,
|
|
24
|
+
DomainTooShort$inboundSchema,
|
|
25
|
+
DomainTooShort$Outbound,
|
|
26
|
+
DomainTooShort$outboundSchema,
|
|
27
|
+
} from "./domaintooshort.js";
|
|
22
28
|
import {
|
|
23
29
|
DuplicateDomains,
|
|
24
30
|
DuplicateDomains$inboundSchema,
|
|
@@ -172,6 +178,7 @@ export type BuyDomainsDomainsRegistrarResponseResponseBody =
|
|
|
172
178
|
* There was something wrong with the request
|
|
173
179
|
*/
|
|
174
180
|
export type BuyDomainsDomainsRegistrarResponseBody =
|
|
181
|
+
| DomainTooShort
|
|
175
182
|
| OrderTooExpensive
|
|
176
183
|
| TooManyDomains
|
|
177
184
|
| InvalidAdditionalContactInfo
|
|
@@ -592,6 +599,7 @@ export const BuyDomainsDomainsRegistrarResponseBody$inboundSchema: z.ZodType<
|
|
|
592
599
|
z.ZodTypeDef,
|
|
593
600
|
unknown
|
|
594
601
|
> = z.union([
|
|
602
|
+
DomainTooShort$inboundSchema,
|
|
595
603
|
OrderTooExpensive$inboundSchema,
|
|
596
604
|
TooManyDomains$inboundSchema,
|
|
597
605
|
InvalidAdditionalContactInfo$inboundSchema,
|
|
@@ -605,6 +613,7 @@ export const BuyDomainsDomainsRegistrarResponseBody$inboundSchema: z.ZodType<
|
|
|
605
613
|
|
|
606
614
|
/** @internal */
|
|
607
615
|
export type BuyDomainsDomainsRegistrarResponseBody$Outbound =
|
|
616
|
+
| DomainTooShort$Outbound
|
|
608
617
|
| OrderTooExpensive$Outbound
|
|
609
618
|
| TooManyDomains$Outbound
|
|
610
619
|
| InvalidAdditionalContactInfo$Outbound
|
|
@@ -621,6 +630,7 @@ export const BuyDomainsDomainsRegistrarResponseBody$outboundSchema: z.ZodType<
|
|
|
621
630
|
z.ZodTypeDef,
|
|
622
631
|
BuyDomainsDomainsRegistrarResponseBody
|
|
623
632
|
> = z.union([
|
|
633
|
+
DomainTooShort$outboundSchema,
|
|
624
634
|
OrderTooExpensive$outboundSchema,
|
|
625
635
|
TooManyDomains$outboundSchema,
|
|
626
636
|
InvalidAdditionalContactInfo$outboundSchema,
|