@vercel/sdk 1.18.2 → 1.18.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/README.md +43 -26
- package/bin/mcp-server.js +4634 -2791
- package/bin/mcp-server.js.map +56 -35
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/bulkredirects.test.d.ts +2 -0
- package/esm/__tests__/bulkredirects.test.d.ts.map +1 -0
- package/esm/__tests__/bulkredirects.test.js +171 -0
- package/esm/__tests__/bulkredirects.test.js.map +1 -0
- package/esm/__tests__/domains.test.js +11 -44
- 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__/logdrains.test.js +6 -2
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/security.test.js +26 -32
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +16 -0
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +21 -0
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/bulkRedirectsDeleteRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsDeleteRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsDeleteRedirects.js +84 -0
- package/esm/funcs/bulkRedirectsDeleteRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsEditRedirect.d.ts +17 -0
- package/esm/funcs/bulkRedirectsEditRedirect.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsEditRedirect.js +84 -0
- package/esm/funcs/bulkRedirectsEditRedirect.js.map +1 -0
- package/esm/funcs/bulkRedirectsGetRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsGetRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsGetRedirects.js +90 -0
- package/esm/funcs/bulkRedirectsGetRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsGetVersions.d.ts +17 -0
- package/esm/funcs/bulkRedirectsGetVersions.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsGetVersions.js +83 -0
- package/esm/funcs/bulkRedirectsGetVersions.js.map +1 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.js +84 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsStageRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsStageRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsStageRedirects.js +83 -0
- package/esm/funcs/bulkRedirectsStageRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsUpdateVersion.d.ts +17 -0
- package/esm/funcs/bulkRedirectsUpdateVersion.d.ts.map +1 -0
- package/esm/funcs/{domainsBuyDomain.js → bulkRedirectsUpdateVersion.js} +11 -10
- package/esm/funcs/bulkRedirectsUpdateVersion.js.map +1 -0
- package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts +17 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.js +88 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.js.map +1 -0
- 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 +17 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.js.map +1 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts +7 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js +28 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js.map +1 -0
- package/esm/models/canceldeploymentop.d.ts +46 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +42 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +46 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +46 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +5 -0
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -0
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +154 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +220 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createortransferdomainop.d.ts +4 -40
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +0 -24
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +112 -2
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +103 -2
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +4 -2
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -2
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/deleteredirectsop.d.ts +112 -0
- package/esm/models/deleteredirectsop.d.ts.map +1 -0
- package/esm/models/deleteredirectsop.js +99 -0
- package/esm/models/deleteredirectsop.js.map +1 -0
- package/esm/models/editredirectop.d.ts +143 -0
- package/esm/models/editredirectop.d.ts.map +1 -0
- package/esm/models/editredirectop.js +123 -0
- package/esm/models/editredirectop.js.map +1 -0
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +1 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +1 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymenteventsop.d.ts +6 -6
- package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
- package/esm/models/getdeploymenteventsop.js +6 -6
- package/esm/models/getdeploymenteventsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +90 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +82 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +5 -0
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -0
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +344 -111
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +368 -106
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +5 -5
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +5 -6
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +88 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +76 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getredirectsop.d.ts +200 -0
- package/esm/models/getredirectsop.d.ts.map +1 -0
- package/esm/models/getredirectsop.js +205 -0
- package/esm/models/getredirectsop.js.map +1 -0
- package/esm/models/getversionsop.d.ts +90 -0
- package/esm/models/getversionsop.d.ts.map +1 -0
- package/esm/models/getversionsop.js +68 -0
- package/esm/models/getversionsop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +2 -1
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -1
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +4 -2
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -2
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/postteamdsyncrolesop.d.ts +98 -0
- package/esm/models/postteamdsyncrolesop.d.ts.map +1 -0
- package/esm/models/postteamdsyncrolesop.js +113 -0
- package/esm/models/postteamdsyncrolesop.js.map +1 -0
- package/esm/models/putfirewallconfigop.d.ts +368 -106
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +391 -104
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/restoreredirectsop.d.ts +114 -0
- package/esm/models/restoreredirectsop.d.ts.map +1 -0
- package/esm/models/restoreredirectsop.js +101 -0
- package/esm/models/restoreredirectsop.js.map +1 -0
- package/esm/models/stageredirectsop.d.ts +145 -0
- package/esm/models/stageredirectsop.d.ts.map +1 -0
- package/esm/models/stageredirectsop.js +136 -0
- package/esm/models/stageredirectsop.js.map +1 -0
- package/esm/models/team.d.ts +6 -6
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +6 -4
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +5 -0
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -0
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +30 -0
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +32 -0
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +103 -17
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +97 -20
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +112 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +103 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +49 -0
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +27 -0
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/updateversionop.d.ts +120 -0
- package/esm/models/updateversionop.d.ts.map +1 -0
- package/esm/models/updateversionop.js +106 -0
- package/esm/models/updateversionop.js.map +1 -0
- package/esm/models/userevent.d.ts +756 -968
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1012 -1247
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/bulkredirects.d.ts +60 -0
- package/esm/sdk/bulkredirects.d.ts.map +1 -0
- package/esm/sdk/bulkredirects.js +78 -0
- package/esm/sdk/bulkredirects.js.map +1 -0
- package/esm/sdk/domains.d.ts +0 -8
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -10
- package/esm/sdk/domains.js.map +1 -1
- 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/esm/sdk/teams.d.ts +8 -0
- package/esm/sdk/teams.d.ts.map +1 -1
- package/esm/sdk/teams.js +10 -0
- package/esm/sdk/teams.js.map +1 -1
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/bulkredirects.test.ts +192 -0
- package/src/__tests__/domains.test.ts +13 -47
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +6 -2
- package/src/__tests__/security.test.ts +26 -32
- package/src/__tests__/teams.test.ts +19 -0
- package/src/__tests__/vercel.test.ts +42 -0
- package/src/funcs/bulkRedirectsDeleteRedirects.ts +172 -0
- package/src/funcs/bulkRedirectsEditRedirect.ts +172 -0
- package/src/funcs/bulkRedirectsGetRedirects.ts +178 -0
- package/src/funcs/bulkRedirectsGetVersions.ts +171 -0
- package/src/funcs/bulkRedirectsRestoreRedirects.ts +172 -0
- package/src/funcs/{domainsBuyDomain.ts → bulkRedirectsStageRedirects.ts} +21 -22
- package/src/funcs/bulkRedirectsUpdateVersion.ts +172 -0
- package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
- package/src/funcs/teamsPostTeamDsyncRoles.ts +177 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -3
- package/src/mcp-server/tools/bulkRedirectsDeleteRedirects.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsEditRedirect.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsGetRedirects.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsGetVersions.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsRestoreRedirects.ts +38 -0
- package/src/mcp-server/tools/bulkRedirectsStageRedirects.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsUpdateVersion.ts +38 -0
- package/src/mcp-server/tools/teamsPostTeamDsyncRoles.ts +37 -0
- package/src/models/canceldeploymentop.ts +129 -0
- package/src/models/createdeploymentop.ts +112 -0
- package/src/models/createedgeconfigop.ts +7 -0
- package/src/models/createintegrationstoredirectop.ts +475 -471
- package/src/models/createortransferdomainop.ts +0 -83
- package/src/models/createprojectop.ts +293 -4
- package/src/models/createwebhookop.ts +4 -2
- package/src/models/deleteredirectsop.ts +275 -0
- package/src/models/editredirectop.ts +340 -0
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +1 -0
- package/src/models/getdeploymenteventsop.ts +17 -13
- package/src/models/getdeploymentop.ts +263 -0
- package/src/models/getedgeconfigop.ts +7 -0
- package/src/models/getfirewallconfigop.ts +860 -291
- package/src/models/getprojectdomainsop.ts +11 -9
- package/src/models/getprojectsop.ts +214 -4
- package/src/models/getredirectsop.ts +492 -0
- package/src/models/getversionsop.ts +200 -0
- package/src/models/getwebhookop.ts +2 -1
- package/src/models/getwebhooksop.ts +4 -2
- package/src/models/postteamdsyncrolesop.ts +291 -0
- package/src/models/putfirewallconfigop.ts +1051 -279
- package/src/models/restoreredirectsop.ts +281 -0
- package/src/models/stageredirectsop.ts +367 -0
- package/src/models/team.ts +14 -10
- package/src/models/updateedgeconfigop.ts +7 -0
- package/src/models/updatefirewallconfigop.ts +107 -0
- package/src/models/updateprojectdatacacheop.ts +276 -55
- package/src/models/updateprojectop.ts +293 -4
- package/src/models/updateprojectprotectionbypassop.ts +84 -0
- package/src/models/updateversionop.ts +285 -0
- package/src/models/userevent.ts +2357 -2909
- package/src/sdk/bulkredirects.ts +162 -0
- package/src/sdk/domains.ts +0 -19
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/teams.ts +22 -0
- package/vercel-spec.json +3184 -1264
- package/esm/funcs/domainsBuyDomain.d.ts +0 -17
- package/esm/funcs/domainsBuyDomain.d.ts.map +0 -1
- package/esm/funcs/domainsBuyDomain.js.map +0 -1
- package/esm/mcp-server/tools/domainsBuyDomain.d.ts +0 -7
- package/esm/mcp-server/tools/domainsBuyDomain.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsBuyDomain.js +0 -28
- package/esm/mcp-server/tools/domainsBuyDomain.js.map +0 -1
- package/esm/models/buydomainop.d.ts +0 -180
- package/esm/models/buydomainop.d.ts.map +0 -1
- package/esm/models/buydomainop.js +0 -159
- package/esm/models/buydomainop.js.map +0 -1
- package/src/mcp-server/tools/domainsBuyDomain.ts +0 -37
- package/src/models/buydomainop.ts +0 -453
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { bulkRedirectsUpdateVersion } from "../../funcs/bulkRedirectsUpdateVersion.js";
|
|
6
|
+
import { UpdateVersionRequest$inboundSchema } from "../../models/updateversionop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: UpdateVersionRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$bulkRedirectsUpdateVersion: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "bulk-redirects-update-version",
|
|
15
|
+
description:
|
|
16
|
+
`Promote a staging version to production or restore a previous production version.
|
|
17
|
+
|
|
18
|
+
Update a version by promoting staging to production or restoring a previous production version`,
|
|
19
|
+
args,
|
|
20
|
+
tool: async (client, args, ctx) => {
|
|
21
|
+
const [result, apiCall] = await bulkRedirectsUpdateVersion(
|
|
22
|
+
client,
|
|
23
|
+
args.request,
|
|
24
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
25
|
+
).$inspect();
|
|
26
|
+
|
|
27
|
+
if (!result.ok) {
|
|
28
|
+
return {
|
|
29
|
+
content: [{ type: "text", text: result.error.message }],
|
|
30
|
+
isError: true,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const value = result.value;
|
|
35
|
+
|
|
36
|
+
return formatResult(value, apiCall);
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { teamsPostTeamDsyncRoles } from "../../funcs/teamsPostTeamDsyncRoles.js";
|
|
6
|
+
import { PostTeamDsyncRolesRequest$inboundSchema } from "../../models/postteamdsyncrolesop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: PostTeamDsyncRolesRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$teamsPostTeamDsyncRoles: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "teams-post-team-dsync-roles",
|
|
15
|
+
description: `Update Team Directory Sync Role Mappings
|
|
16
|
+
|
|
17
|
+
Update the Directory Sync role mappings for a Team. This endpoint allows updating the mapping between directory groups and team roles or access groups.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await teamsPostTeamDsyncRoles(
|
|
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
|
+
};
|
|
@@ -483,6 +483,22 @@ export type CancelDeploymentChecksConclusion = ClosedEnum<
|
|
|
483
483
|
typeof CancelDeploymentChecksConclusion
|
|
484
484
|
>;
|
|
485
485
|
|
|
486
|
+
export type CancelDeploymentCve = {
|
|
487
|
+
id: string;
|
|
488
|
+
score: number;
|
|
489
|
+
description?: string | undefined;
|
|
490
|
+
link?: string | undefined;
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
495
|
+
*/
|
|
496
|
+
export type CancelDeploymentCveVulnerabilities = {
|
|
497
|
+
packageName: string;
|
|
498
|
+
packageVersion: string;
|
|
499
|
+
cve: CancelDeploymentCve;
|
|
500
|
+
};
|
|
501
|
+
|
|
486
502
|
export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
|
|
487
503
|
{
|
|
488
504
|
Bitbucket: "bitbucket",
|
|
@@ -1214,6 +1230,7 @@ export type CancelDeploymentRoutes1 = {
|
|
|
1214
1230
|
| undefined;
|
|
1215
1231
|
mitigate?: CancelDeploymentRoutesMitigate | undefined;
|
|
1216
1232
|
transforms?: Array<RoutesTransforms> | undefined;
|
|
1233
|
+
env?: Array<string> | undefined;
|
|
1217
1234
|
locale?: RoutesLocale | undefined;
|
|
1218
1235
|
/**
|
|
1219
1236
|
* A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
|
|
@@ -1530,6 +1547,10 @@ export type CancelDeploymentResponseBody = {
|
|
|
1530
1547
|
*/
|
|
1531
1548
|
defaultRoute?: string | undefined;
|
|
1532
1549
|
canceledAt?: number | undefined;
|
|
1550
|
+
/**
|
|
1551
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
1552
|
+
*/
|
|
1553
|
+
cveVulnerabilities?: Array<CancelDeploymentCveVulnerabilities> | undefined;
|
|
1533
1554
|
errorCode?: string | undefined;
|
|
1534
1555
|
errorLink?: string | undefined;
|
|
1535
1556
|
errorMessage?: string | null | undefined;
|
|
@@ -2975,6 +2996,102 @@ export const CancelDeploymentChecksConclusion$outboundSchema: z.ZodNativeEnum<
|
|
|
2975
2996
|
typeof CancelDeploymentChecksConclusion
|
|
2976
2997
|
> = CancelDeploymentChecksConclusion$inboundSchema;
|
|
2977
2998
|
|
|
2999
|
+
/** @internal */
|
|
3000
|
+
export const CancelDeploymentCve$inboundSchema: z.ZodType<
|
|
3001
|
+
CancelDeploymentCve,
|
|
3002
|
+
z.ZodTypeDef,
|
|
3003
|
+
unknown
|
|
3004
|
+
> = z.object({
|
|
3005
|
+
id: z.string(),
|
|
3006
|
+
score: z.number(),
|
|
3007
|
+
description: z.string().optional(),
|
|
3008
|
+
link: z.string().optional(),
|
|
3009
|
+
});
|
|
3010
|
+
/** @internal */
|
|
3011
|
+
export type CancelDeploymentCve$Outbound = {
|
|
3012
|
+
id: string;
|
|
3013
|
+
score: number;
|
|
3014
|
+
description?: string | undefined;
|
|
3015
|
+
link?: string | undefined;
|
|
3016
|
+
};
|
|
3017
|
+
|
|
3018
|
+
/** @internal */
|
|
3019
|
+
export const CancelDeploymentCve$outboundSchema: z.ZodType<
|
|
3020
|
+
CancelDeploymentCve$Outbound,
|
|
3021
|
+
z.ZodTypeDef,
|
|
3022
|
+
CancelDeploymentCve
|
|
3023
|
+
> = z.object({
|
|
3024
|
+
id: z.string(),
|
|
3025
|
+
score: z.number(),
|
|
3026
|
+
description: z.string().optional(),
|
|
3027
|
+
link: z.string().optional(),
|
|
3028
|
+
});
|
|
3029
|
+
|
|
3030
|
+
export function cancelDeploymentCveToJSON(
|
|
3031
|
+
cancelDeploymentCve: CancelDeploymentCve,
|
|
3032
|
+
): string {
|
|
3033
|
+
return JSON.stringify(
|
|
3034
|
+
CancelDeploymentCve$outboundSchema.parse(cancelDeploymentCve),
|
|
3035
|
+
);
|
|
3036
|
+
}
|
|
3037
|
+
export function cancelDeploymentCveFromJSON(
|
|
3038
|
+
jsonString: string,
|
|
3039
|
+
): SafeParseResult<CancelDeploymentCve, SDKValidationError> {
|
|
3040
|
+
return safeParse(
|
|
3041
|
+
jsonString,
|
|
3042
|
+
(x) => CancelDeploymentCve$inboundSchema.parse(JSON.parse(x)),
|
|
3043
|
+
`Failed to parse 'CancelDeploymentCve' from JSON`,
|
|
3044
|
+
);
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
/** @internal */
|
|
3048
|
+
export const CancelDeploymentCveVulnerabilities$inboundSchema: z.ZodType<
|
|
3049
|
+
CancelDeploymentCveVulnerabilities,
|
|
3050
|
+
z.ZodTypeDef,
|
|
3051
|
+
unknown
|
|
3052
|
+
> = z.object({
|
|
3053
|
+
packageName: z.string(),
|
|
3054
|
+
packageVersion: z.string(),
|
|
3055
|
+
cve: z.lazy(() => CancelDeploymentCve$inboundSchema),
|
|
3056
|
+
});
|
|
3057
|
+
/** @internal */
|
|
3058
|
+
export type CancelDeploymentCveVulnerabilities$Outbound = {
|
|
3059
|
+
packageName: string;
|
|
3060
|
+
packageVersion: string;
|
|
3061
|
+
cve: CancelDeploymentCve$Outbound;
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
/** @internal */
|
|
3065
|
+
export const CancelDeploymentCveVulnerabilities$outboundSchema: z.ZodType<
|
|
3066
|
+
CancelDeploymentCveVulnerabilities$Outbound,
|
|
3067
|
+
z.ZodTypeDef,
|
|
3068
|
+
CancelDeploymentCveVulnerabilities
|
|
3069
|
+
> = z.object({
|
|
3070
|
+
packageName: z.string(),
|
|
3071
|
+
packageVersion: z.string(),
|
|
3072
|
+
cve: z.lazy(() => CancelDeploymentCve$outboundSchema),
|
|
3073
|
+
});
|
|
3074
|
+
|
|
3075
|
+
export function cancelDeploymentCveVulnerabilitiesToJSON(
|
|
3076
|
+
cancelDeploymentCveVulnerabilities: CancelDeploymentCveVulnerabilities,
|
|
3077
|
+
): string {
|
|
3078
|
+
return JSON.stringify(
|
|
3079
|
+
CancelDeploymentCveVulnerabilities$outboundSchema.parse(
|
|
3080
|
+
cancelDeploymentCveVulnerabilities,
|
|
3081
|
+
),
|
|
3082
|
+
);
|
|
3083
|
+
}
|
|
3084
|
+
export function cancelDeploymentCveVulnerabilitiesFromJSON(
|
|
3085
|
+
jsonString: string,
|
|
3086
|
+
): SafeParseResult<CancelDeploymentCveVulnerabilities, SDKValidationError> {
|
|
3087
|
+
return safeParse(
|
|
3088
|
+
jsonString,
|
|
3089
|
+
(x) =>
|
|
3090
|
+
CancelDeploymentCveVulnerabilities$inboundSchema.parse(JSON.parse(x)),
|
|
3091
|
+
`Failed to parse 'CancelDeploymentCveVulnerabilities' from JSON`,
|
|
3092
|
+
);
|
|
3093
|
+
}
|
|
3094
|
+
|
|
2978
3095
|
/** @internal */
|
|
2979
3096
|
export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
|
|
2980
3097
|
z.ZodNativeEnum<
|
|
@@ -6031,6 +6148,7 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType<
|
|
|
6031
6148
|
mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$inboundSchema)
|
|
6032
6149
|
.optional(),
|
|
6033
6150
|
transforms: z.array(z.lazy(() => RoutesTransforms$inboundSchema)).optional(),
|
|
6151
|
+
env: z.array(z.string()).optional(),
|
|
6034
6152
|
locale: z.lazy(() => RoutesLocale$inboundSchema).optional(),
|
|
6035
6153
|
middlewarePath: z.string().optional(),
|
|
6036
6154
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -6066,6 +6184,7 @@ export type CancelDeploymentRoutes1$Outbound = {
|
|
|
6066
6184
|
| undefined;
|
|
6067
6185
|
mitigate?: CancelDeploymentRoutesMitigate$Outbound | undefined;
|
|
6068
6186
|
transforms?: Array<RoutesTransforms$Outbound> | undefined;
|
|
6187
|
+
env?: Array<string> | undefined;
|
|
6069
6188
|
locale?: RoutesLocale$Outbound | undefined;
|
|
6070
6189
|
middlewarePath?: string | undefined;
|
|
6071
6190
|
middlewareRawSrc?: Array<string> | undefined;
|
|
@@ -6119,6 +6238,7 @@ export const CancelDeploymentRoutes1$outboundSchema: z.ZodType<
|
|
|
6119
6238
|
mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$outboundSchema)
|
|
6120
6239
|
.optional(),
|
|
6121
6240
|
transforms: z.array(z.lazy(() => RoutesTransforms$outboundSchema)).optional(),
|
|
6241
|
+
env: z.array(z.string()).optional(),
|
|
6122
6242
|
locale: z.lazy(() => RoutesLocale$outboundSchema).optional(),
|
|
6123
6243
|
middlewarePath: z.string().optional(),
|
|
6124
6244
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -7051,6 +7171,9 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
7051
7171
|
deletedAt: z.nullable(z.number()).optional(),
|
|
7052
7172
|
defaultRoute: z.string().optional(),
|
|
7053
7173
|
canceledAt: z.number().optional(),
|
|
7174
|
+
cveVulnerabilities: z.array(
|
|
7175
|
+
z.lazy(() => CancelDeploymentCveVulnerabilities$inboundSchema),
|
|
7176
|
+
).optional(),
|
|
7054
7177
|
errorCode: z.string().optional(),
|
|
7055
7178
|
errorLink: z.string().optional(),
|
|
7056
7179
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -7180,6 +7303,9 @@ export type CancelDeploymentResponseBody$Outbound = {
|
|
|
7180
7303
|
deletedAt?: number | null | undefined;
|
|
7181
7304
|
defaultRoute?: string | undefined;
|
|
7182
7305
|
canceledAt?: number | undefined;
|
|
7306
|
+
cveVulnerabilities?:
|
|
7307
|
+
| Array<CancelDeploymentCveVulnerabilities$Outbound>
|
|
7308
|
+
| undefined;
|
|
7183
7309
|
errorCode?: string | undefined;
|
|
7184
7310
|
errorLink?: string | undefined;
|
|
7185
7311
|
errorMessage?: string | null | undefined;
|
|
@@ -7318,6 +7444,9 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7318
7444
|
deletedAt: z.nullable(z.number()).optional(),
|
|
7319
7445
|
defaultRoute: z.string().optional(),
|
|
7320
7446
|
canceledAt: z.number().optional(),
|
|
7447
|
+
cveVulnerabilities: z.array(
|
|
7448
|
+
z.lazy(() => CancelDeploymentCveVulnerabilities$outboundSchema),
|
|
7449
|
+
).optional(),
|
|
7321
7450
|
errorCode: z.string().optional(),
|
|
7322
7451
|
errorLink: z.string().optional(),
|
|
7323
7452
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -930,6 +930,22 @@ export const ChecksConclusion = {
|
|
|
930
930
|
} as const;
|
|
931
931
|
export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
|
|
932
932
|
|
|
933
|
+
export type Cve = {
|
|
934
|
+
id: string;
|
|
935
|
+
score: number;
|
|
936
|
+
description?: string | undefined;
|
|
937
|
+
link?: string | undefined;
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
942
|
+
*/
|
|
943
|
+
export type CveVulnerabilities = {
|
|
944
|
+
packageName: string;
|
|
945
|
+
packageVersion: string;
|
|
946
|
+
cve: Cve;
|
|
947
|
+
};
|
|
948
|
+
|
|
933
949
|
export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
|
|
934
950
|
{
|
|
935
951
|
Bitbucket: "bitbucket",
|
|
@@ -1636,6 +1652,7 @@ export type Routes1 = {
|
|
|
1636
1652
|
| undefined;
|
|
1637
1653
|
mitigate?: RoutesMitigate | undefined;
|
|
1638
1654
|
transforms?: Array<CreateDeploymentRoutesTransforms> | undefined;
|
|
1655
|
+
env?: Array<string> | undefined;
|
|
1639
1656
|
locale?: Locale | undefined;
|
|
1640
1657
|
/**
|
|
1641
1658
|
* A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
|
|
@@ -1940,6 +1957,10 @@ export type CreateDeploymentResponseBody = {
|
|
|
1940
1957
|
*/
|
|
1941
1958
|
defaultRoute?: string | undefined;
|
|
1942
1959
|
canceledAt?: number | undefined;
|
|
1960
|
+
/**
|
|
1961
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
1962
|
+
*/
|
|
1963
|
+
cveVulnerabilities?: Array<CveVulnerabilities> | undefined;
|
|
1943
1964
|
errorCode?: string | undefined;
|
|
1944
1965
|
errorLink?: string | undefined;
|
|
1945
1966
|
errorMessage?: string | null | undefined;
|
|
@@ -4192,6 +4213,89 @@ export const ChecksConclusion$outboundSchema: z.ZodNativeEnum<
|
|
|
4192
4213
|
typeof ChecksConclusion
|
|
4193
4214
|
> = ChecksConclusion$inboundSchema;
|
|
4194
4215
|
|
|
4216
|
+
/** @internal */
|
|
4217
|
+
export const Cve$inboundSchema: z.ZodType<Cve, z.ZodTypeDef, unknown> = z
|
|
4218
|
+
.object({
|
|
4219
|
+
id: z.string(),
|
|
4220
|
+
score: z.number(),
|
|
4221
|
+
description: z.string().optional(),
|
|
4222
|
+
link: z.string().optional(),
|
|
4223
|
+
});
|
|
4224
|
+
/** @internal */
|
|
4225
|
+
export type Cve$Outbound = {
|
|
4226
|
+
id: string;
|
|
4227
|
+
score: number;
|
|
4228
|
+
description?: string | undefined;
|
|
4229
|
+
link?: string | undefined;
|
|
4230
|
+
};
|
|
4231
|
+
|
|
4232
|
+
/** @internal */
|
|
4233
|
+
export const Cve$outboundSchema: z.ZodType<Cve$Outbound, z.ZodTypeDef, Cve> = z
|
|
4234
|
+
.object({
|
|
4235
|
+
id: z.string(),
|
|
4236
|
+
score: z.number(),
|
|
4237
|
+
description: z.string().optional(),
|
|
4238
|
+
link: z.string().optional(),
|
|
4239
|
+
});
|
|
4240
|
+
|
|
4241
|
+
export function cveToJSON(cve: Cve): string {
|
|
4242
|
+
return JSON.stringify(Cve$outboundSchema.parse(cve));
|
|
4243
|
+
}
|
|
4244
|
+
export function cveFromJSON(
|
|
4245
|
+
jsonString: string,
|
|
4246
|
+
): SafeParseResult<Cve, SDKValidationError> {
|
|
4247
|
+
return safeParse(
|
|
4248
|
+
jsonString,
|
|
4249
|
+
(x) => Cve$inboundSchema.parse(JSON.parse(x)),
|
|
4250
|
+
`Failed to parse 'Cve' from JSON`,
|
|
4251
|
+
);
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4254
|
+
/** @internal */
|
|
4255
|
+
export const CveVulnerabilities$inboundSchema: z.ZodType<
|
|
4256
|
+
CveVulnerabilities,
|
|
4257
|
+
z.ZodTypeDef,
|
|
4258
|
+
unknown
|
|
4259
|
+
> = z.object({
|
|
4260
|
+
packageName: z.string(),
|
|
4261
|
+
packageVersion: z.string(),
|
|
4262
|
+
cve: z.lazy(() => Cve$inboundSchema),
|
|
4263
|
+
});
|
|
4264
|
+
/** @internal */
|
|
4265
|
+
export type CveVulnerabilities$Outbound = {
|
|
4266
|
+
packageName: string;
|
|
4267
|
+
packageVersion: string;
|
|
4268
|
+
cve: Cve$Outbound;
|
|
4269
|
+
};
|
|
4270
|
+
|
|
4271
|
+
/** @internal */
|
|
4272
|
+
export const CveVulnerabilities$outboundSchema: z.ZodType<
|
|
4273
|
+
CveVulnerabilities$Outbound,
|
|
4274
|
+
z.ZodTypeDef,
|
|
4275
|
+
CveVulnerabilities
|
|
4276
|
+
> = z.object({
|
|
4277
|
+
packageName: z.string(),
|
|
4278
|
+
packageVersion: z.string(),
|
|
4279
|
+
cve: z.lazy(() => Cve$outboundSchema),
|
|
4280
|
+
});
|
|
4281
|
+
|
|
4282
|
+
export function cveVulnerabilitiesToJSON(
|
|
4283
|
+
cveVulnerabilities: CveVulnerabilities,
|
|
4284
|
+
): string {
|
|
4285
|
+
return JSON.stringify(
|
|
4286
|
+
CveVulnerabilities$outboundSchema.parse(cveVulnerabilities),
|
|
4287
|
+
);
|
|
4288
|
+
}
|
|
4289
|
+
export function cveVulnerabilitiesFromJSON(
|
|
4290
|
+
jsonString: string,
|
|
4291
|
+
): SafeParseResult<CveVulnerabilities, SDKValidationError> {
|
|
4292
|
+
return safeParse(
|
|
4293
|
+
jsonString,
|
|
4294
|
+
(x) => CveVulnerabilities$inboundSchema.parse(JSON.parse(x)),
|
|
4295
|
+
`Failed to parse 'CveVulnerabilities' from JSON`,
|
|
4296
|
+
);
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4195
4299
|
/** @internal */
|
|
4196
4300
|
export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
|
|
4197
4301
|
z.ZodNativeEnum<
|
|
@@ -7143,6 +7247,7 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
|
|
|
7143
7247
|
transforms: z.array(
|
|
7144
7248
|
z.lazy(() => CreateDeploymentRoutesTransforms$inboundSchema),
|
|
7145
7249
|
).optional(),
|
|
7250
|
+
env: z.array(z.string()).optional(),
|
|
7146
7251
|
locale: z.lazy(() => Locale$inboundSchema).optional(),
|
|
7147
7252
|
middlewarePath: z.string().optional(),
|
|
7148
7253
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -7178,6 +7283,7 @@ export type Routes1$Outbound = {
|
|
|
7178
7283
|
| undefined;
|
|
7179
7284
|
mitigate?: RoutesMitigate$Outbound | undefined;
|
|
7180
7285
|
transforms?: Array<CreateDeploymentRoutesTransforms$Outbound> | undefined;
|
|
7286
|
+
env?: Array<string> | undefined;
|
|
7181
7287
|
locale?: Locale$Outbound | undefined;
|
|
7182
7288
|
middlewarePath?: string | undefined;
|
|
7183
7289
|
middlewareRawSrc?: Array<string> | undefined;
|
|
@@ -7232,6 +7338,7 @@ export const Routes1$outboundSchema: z.ZodType<
|
|
|
7232
7338
|
transforms: z.array(
|
|
7233
7339
|
z.lazy(() => CreateDeploymentRoutesTransforms$outboundSchema),
|
|
7234
7340
|
).optional(),
|
|
7341
|
+
env: z.array(z.string()).optional(),
|
|
7235
7342
|
locale: z.lazy(() => Locale$outboundSchema).optional(),
|
|
7236
7343
|
middlewarePath: z.string().optional(),
|
|
7237
7344
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -8080,6 +8187,8 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
8080
8187
|
deletedAt: z.nullable(z.number()).optional(),
|
|
8081
8188
|
defaultRoute: z.string().optional(),
|
|
8082
8189
|
canceledAt: z.number().optional(),
|
|
8190
|
+
cveVulnerabilities: z.array(z.lazy(() => CveVulnerabilities$inboundSchema))
|
|
8191
|
+
.optional(),
|
|
8083
8192
|
errorCode: z.string().optional(),
|
|
8084
8193
|
errorLink: z.string().optional(),
|
|
8085
8194
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -8207,6 +8316,7 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
8207
8316
|
deletedAt?: number | null | undefined;
|
|
8208
8317
|
defaultRoute?: string | undefined;
|
|
8209
8318
|
canceledAt?: number | undefined;
|
|
8319
|
+
cveVulnerabilities?: Array<CveVulnerabilities$Outbound> | undefined;
|
|
8210
8320
|
errorCode?: string | undefined;
|
|
8211
8321
|
errorLink?: string | undefined;
|
|
8212
8322
|
errorMessage?: string | null | undefined;
|
|
@@ -8327,6 +8437,8 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
8327
8437
|
deletedAt: z.nullable(z.number()).optional(),
|
|
8328
8438
|
defaultRoute: z.string().optional(),
|
|
8329
8439
|
canceledAt: z.number().optional(),
|
|
8440
|
+
cveVulnerabilities: z.array(z.lazy(() => CveVulnerabilities$outboundSchema))
|
|
8441
|
+
.optional(),
|
|
8330
8442
|
errorCode: z.string().optional(),
|
|
8331
8443
|
errorLink: z.string().optional(),
|
|
8332
8444
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -55,6 +55,10 @@ export type CreateEdgeConfigResponseBody = {
|
|
|
55
55
|
createdAt: number;
|
|
56
56
|
updatedAt: number;
|
|
57
57
|
deletedAt?: number | null | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the user who created the Edge Config, optional because it is not always set.
|
|
60
|
+
*/
|
|
61
|
+
createdBy?: string | undefined;
|
|
58
62
|
id: string;
|
|
59
63
|
/**
|
|
60
64
|
* Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
|
|
@@ -377,6 +381,7 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
377
381
|
createdAt: z.number(),
|
|
378
382
|
updatedAt: z.number(),
|
|
379
383
|
deletedAt: z.nullable(z.number()).optional(),
|
|
384
|
+
createdBy: z.string().optional(),
|
|
380
385
|
id: z.string(),
|
|
381
386
|
slug: z.string(),
|
|
382
387
|
ownerId: z.string(),
|
|
@@ -396,6 +401,7 @@ export type CreateEdgeConfigResponseBody$Outbound = {
|
|
|
396
401
|
createdAt: number;
|
|
397
402
|
updatedAt: number;
|
|
398
403
|
deletedAt?: number | null | undefined;
|
|
404
|
+
createdBy?: string | undefined;
|
|
399
405
|
id: string;
|
|
400
406
|
slug: string;
|
|
401
407
|
ownerId: string;
|
|
@@ -417,6 +423,7 @@ export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
417
423
|
createdAt: z.number(),
|
|
418
424
|
updatedAt: z.number(),
|
|
419
425
|
deletedAt: z.nullable(z.number()).optional(),
|
|
426
|
+
createdBy: z.string().optional(),
|
|
420
427
|
id: z.string(),
|
|
421
428
|
slug: z.string(),
|
|
422
429
|
ownerId: z.string(),
|