@vercel/sdk 1.18.6 → 1.18.7
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 +34 -28
- package/bin/mcp-server.js +4851 -3924
- package/bin/mcp-server.js.map +73 -63
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/aliases.test.js +20 -1
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/connect.test.js +104 -0
- package/esm/__tests__/connect.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +4 -4
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/dns.test.js +3 -3
- package/esm/__tests__/dns.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +7 -37
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/drains.test.js +6 -6
- package/esm/__tests__/drains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +9 -9
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +8 -1
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +5 -3
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +3 -2
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +11 -28
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +33 -9
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +1 -2
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/connectCreateNetwork.d.ts +18 -0
- package/esm/funcs/connectCreateNetwork.d.ts.map +1 -0
- package/esm/funcs/connectCreateNetwork.js +84 -0
- package/esm/funcs/connectCreateNetwork.js.map +1 -0
- package/esm/funcs/connectDeleteNetwork.d.ts +17 -0
- package/esm/funcs/connectDeleteNetwork.d.ts.map +1 -0
- package/esm/funcs/connectDeleteNetwork.js +89 -0
- package/esm/funcs/connectDeleteNetwork.js.map +1 -0
- package/esm/funcs/connectListNetworks.d.ts +18 -0
- package/esm/funcs/connectListNetworks.d.ts.map +1 -0
- package/esm/funcs/{domainsCheckDomainStatus.js → connectListNetworks.js} +16 -11
- package/esm/funcs/connectListNetworks.js.map +1 -0
- package/esm/funcs/connectReadNetwork.d.ts +18 -0
- package/esm/funcs/connectReadNetwork.d.ts.map +1 -0
- package/esm/funcs/{domainsCheckDomainPrice.js → connectReadNetwork.js} +18 -13
- package/esm/funcs/connectReadNetwork.js.map +1 -0
- package/esm/funcs/connectUpdateNetwork.d.ts +18 -0
- package/esm/funcs/connectUpdateNetwork.d.ts.map +1 -0
- package/esm/funcs/connectUpdateNetwork.js +90 -0
- package/esm/funcs/connectUpdateNetwork.js.map +1 -0
- package/esm/funcs/connectUpdateStaticIps.js +2 -2
- package/esm/funcs/connectUpdateStaticIps.js.map +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.d.ts +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.js +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +2 -2
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/sdks.js +2 -2
- package/esm/lib/sdks.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 +18 -12
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/connectCreateNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectCreateNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectCreateNetwork.js +28 -0
- package/esm/mcp-server/tools/connectCreateNetwork.js.map +1 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.js +27 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.js.map +1 -0
- package/esm/mcp-server/tools/connectListNetworks.d.ts +7 -0
- package/esm/mcp-server/tools/connectListNetworks.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectListNetworks.js +28 -0
- package/esm/mcp-server/tools/connectListNetworks.js.map +1 -0
- package/esm/mcp-server/tools/connectReadNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectReadNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectReadNetwork.js +28 -0
- package/esm/mcp-server/tools/connectReadNetwork.js.map +1 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.js +28 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.js.map +1 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.js +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.js.map +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -1
- package/esm/models/addbypassipop.d.ts +1 -1
- package/esm/models/addbypassipop.js +1 -1
- package/esm/models/addbypassipop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +86 -81
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +66 -64
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +5 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +72 -72
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +72 -72
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +24 -24
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +22 -22
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +689 -177
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +1023 -266
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +1 -1
- package/esm/models/createlogdrainop.js +1 -1
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createnetworkop.d.ts +55 -0
- package/esm/models/createnetworkop.d.ts.map +1 -0
- package/esm/models/createnetworkop.js +54 -0
- package/esm/models/createnetworkop.js.map +1 -0
- package/esm/models/createortransferdomainop.d.ts +2 -2
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +2 -2
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/deletenetworkop.d.ts +30 -0
- package/esm/models/deletenetworkop.d.ts.map +1 -0
- package/esm/models/deletenetworkop.js +25 -0
- package/esm/models/deletenetworkop.js.map +1 -0
- package/esm/models/editprojectenvop.d.ts +161 -169
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +228 -236
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +79 -22
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +117 -18
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +9 -6
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +6 -6
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +180 -180
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +188 -188
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getbypassipop.d.ts +1 -1
- package/esm/models/getbypassipop.js +1 -1
- package/esm/models/getbypassipop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +66 -66
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +46 -46
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +334 -226
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +452 -280
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +4 -4
- package/esm/models/getconfigurationsop.js +4 -4
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +10 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +4 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainop.d.ts +5 -5
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +2 -2
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/getdomainsop.d.ts +9 -9
- package/esm/models/getdomainsop.d.ts.map +1 -1
- package/esm/models/getdomainsop.js +4 -4
- package/esm/models/getdomainsop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +72 -72
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +74 -74
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +72 -72
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +72 -72
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getedgeconfigbackupop.d.ts +12 -12
- package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
- package/esm/models/getedgeconfigbackupop.js +12 -12
- package/esm/models/getedgeconfigbackupop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +24 -24
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +22 -22
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +2 -2
- package/esm/models/getfirewallconfigop.js +2 -2
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +1 -1
- package/esm/models/getintegrationlogdrainsop.js +1 -1
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +3 -3
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +3 -3
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getintegrationresourcesop.d.ts +3 -3
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -1
- package/esm/models/getintegrationresourcesop.js +3 -3
- package/esm/models/getintegrationresourcesop.js.map +1 -1
- package/esm/models/getinvoiceop.d.ts +3 -3
- package/esm/models/getinvoiceop.js +3 -3
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +61 -418
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +59 -500
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getredirectsop.d.ts +2 -2
- package/esm/models/getredirectsop.d.ts.map +1 -1
- package/esm/models/getredirectsop.js +2 -2
- package/esm/models/getredirectsop.js.map +1 -1
- package/esm/models/getteamaccessrequestop.d.ts +1 -1
- package/esm/models/getteamaccessrequestop.js +1 -1
- package/esm/models/getteamaccessrequestop.js.map +1 -1
- package/esm/models/listnetworksop.d.ts +45 -0
- package/esm/models/listnetworksop.d.ts.map +1 -0
- package/esm/models/listnetworksop.js +31 -0
- package/esm/models/listnetworksop.js.map +1 -0
- package/esm/models/network.d.ts +161 -0
- package/esm/models/network.d.ts.map +1 -0
- package/esm/models/network.js +108 -0
- package/esm/models/network.js.map +1 -0
- package/esm/models/putfirewallconfigop.d.ts +2 -2
- package/esm/models/putfirewallconfigop.js +2 -2
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/readnetworkop.d.ts +30 -0
- package/esm/models/readnetworkop.d.ts.map +1 -0
- package/esm/models/readnetworkop.js +25 -0
- package/esm/models/readnetworkop.js.map +1 -0
- package/esm/models/removeprojectenvop.d.ts +96 -102
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +95 -101
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/requestaccesstoteamop.d.ts +5 -5
- package/esm/models/requestaccesstoteamop.js +5 -5
- package/esm/models/requestaccesstoteamop.js.map +1 -1
- package/esm/models/teamlimited.d.ts +1 -1
- package/esm/models/teamlimited.js +1 -1
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateaccessgroupop.d.ts +8 -8
- package/esm/models/updateaccessgroupop.d.ts.map +1 -1
- package/esm/models/updateaccessgroupop.js +9 -8
- package/esm/models/updateaccessgroupop.js.map +1 -1
- package/esm/models/updateattackchallengemodeop.d.ts +31 -7
- package/esm/models/updateattackchallengemodeop.d.ts.map +1 -1
- package/esm/models/updateattackchallengemodeop.js +45 -6
- package/esm/models/updateattackchallengemodeop.js.map +1 -1
- package/esm/models/updatecheckop.d.ts +10 -10
- package/esm/models/updatecheckop.d.ts.map +1 -1
- package/esm/models/updatecheckop.js +10 -11
- package/esm/models/updatecheckop.js.map +1 -1
- package/esm/models/updatedrainop.d.ts +72 -72
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +75 -75
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +24 -24
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +22 -22
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updatenetworkop.d.ts +48 -0
- package/esm/models/updatenetworkop.d.ts.map +1 -0
- package/esm/models/updatenetworkop.js +50 -0
- package/esm/models/updatenetworkop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +106 -106
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +167 -167
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updaterecordop.d.ts +19 -19
- package/esm/models/updaterecordop.d.ts.map +1 -1
- package/esm/models/updaterecordop.js +18 -18
- package/esm/models/updaterecordop.js.map +1 -1
- package/esm/models/userevent.d.ts +822 -781
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1094 -1049
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/aliases.d.ts +1 -1
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/esm/sdk/connect.d.ts +41 -0
- package/esm/sdk/connect.d.ts.map +1 -1
- package/esm/sdk/connect.js +50 -0
- package/esm/sdk/connect.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -16
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -20
- package/esm/sdk/domains.js.map +1 -1
- package/esm/sdk/edgecache.d.ts +2 -2
- package/esm/sdk/edgecache.js +2 -2
- package/esm/sdk/sdk.d.ts +4 -4
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +6 -6
- 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__/accessgroups.test.ts +1 -3
- package/src/__tests__/aliases.test.ts +20 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/connect.test.ts +116 -0
- package/src/__tests__/deployments.test.ts +4 -4
- package/src/__tests__/dns.test.ts +3 -3
- package/src/__tests__/domains.test.ts +11 -41
- package/src/__tests__/drains.test.ts +6 -6
- package/src/__tests__/edgeconfig.test.ts +9 -9
- package/src/__tests__/integrations.test.ts +8 -1
- package/src/__tests__/logdrains.test.ts +5 -3
- package/src/__tests__/marketplace.test.ts +3 -2
- package/src/__tests__/projects.test.ts +11 -28
- package/src/__tests__/security.test.ts +33 -9
- package/src/funcs/aliasesGetAlias.ts +4 -5
- package/src/funcs/connectCreateNetwork.ts +170 -0
- package/src/funcs/connectDeleteNetwork.ts +176 -0
- package/src/funcs/{domainsCheckDomainStatus.ts → connectListNetworks.ts} +25 -22
- package/src/funcs/{domainsCheckDomainPrice.ts → connectReadNetwork.ts} +28 -24
- package/src/funcs/connectUpdateNetwork.ts +177 -0
- package/src/funcs/connectUpdateStaticIps.ts +2 -2
- package/src/funcs/edgeCacheDangerouslyDeleteBySrcImages.ts +1 -1
- package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +1 -1
- package/src/funcs/marketplaceExchangeSsoToken.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +18 -12
- package/src/mcp-server/tools/connectCreateNetwork.ts +37 -0
- package/src/mcp-server/tools/connectDeleteNetwork.ts +35 -0
- package/src/mcp-server/tools/connectListNetworks.ts +37 -0
- package/src/mcp-server/tools/connectReadNetwork.ts +37 -0
- package/src/mcp-server/tools/connectUpdateNetwork.ts +37 -0
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.ts +1 -1
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +1 -1
- package/src/models/addbypassipop.ts +1 -1
- package/src/models/canceldeploymentop.ts +152 -145
- package/src/models/createdeploymentop.ts +7 -0
- package/src/models/createdrainop.ts +137 -137
- package/src/models/createedgeconfigop.ts +64 -64
- package/src/models/createintegrationstoredirectop.ts +3104 -763
- package/src/models/createlogdrainop.ts +1 -1
- package/src/models/createnetworkop.ts +141 -0
- package/src/models/createortransferdomainop.ts +4 -4
- package/src/models/deletenetworkop.ts +69 -0
- package/src/models/editprojectenvop.ts +484 -640
- package/src/models/exchangessotokenop.ts +281 -43
- package/src/models/getaliasop.ts +15 -12
- package/src/models/getalllogdrainsop.ts +363 -363
- package/src/models/getbypassipop.ts +1 -1
- package/src/models/getconfigurationop.ts +102 -102
- package/src/models/getconfigurationproductsop.ts +1486 -1128
- package/src/models/getconfigurationsop.ts +4 -4
- package/src/models/getdeploymentop.ts +14 -0
- package/src/models/getdomainop.ts +7 -7
- package/src/models/getdomainsop.ts +13 -13
- package/src/models/getdrainop.ts +145 -145
- package/src/models/getdrainsop.ts +132 -132
- package/src/models/getedgeconfigbackupop.ts +24 -24
- package/src/models/getedgeconfigop.ts +62 -62
- package/src/models/getfirewallconfigop.ts +2 -2
- package/src/models/getintegrationlogdrainsop.ts +1 -1
- package/src/models/getintegrationresourceop.ts +5 -5
- package/src/models/getintegrationresourcesop.ts +5 -5
- package/src/models/getinvoiceop.ts +3 -3
- package/src/models/getprojectenvop.ts +183 -1558
- package/src/models/getredirectsop.ts +4 -4
- package/src/models/getteamaccessrequestop.ts +1 -1
- package/src/models/listnetworksop.ts +90 -0
- package/src/models/network.ts +308 -0
- package/src/models/putfirewallconfigop.ts +2 -2
- package/src/models/readnetworkop.ts +69 -0
- package/src/models/removeprojectenvop.ts +186 -198
- package/src/models/requestaccesstoteamop.ts +5 -5
- package/src/models/teamlimited.ts +1 -1
- package/src/models/updateaccessgroupop.ts +24 -17
- package/src/models/updateattackchallengemodeop.ts +124 -17
- package/src/models/updatecheckop.ts +24 -20
- package/src/models/updatedrainop.ts +147 -147
- package/src/models/updateedgeconfigop.ts +64 -64
- package/src/models/updatenetworkop.ts +130 -0
- package/src/models/updateprojectdatacacheop.ts +482 -355
- package/src/models/updaterecordop.ts +33 -33
- package/src/models/userevent.ts +2496 -2372
- package/src/sdk/aliases.ts +1 -1
- package/src/sdk/connect.ts +96 -0
- package/src/sdk/domains.ts +0 -44
- package/src/sdk/edgecache.ts +2 -2
- package/src/sdk/sdk.ts +10 -10
- package/vercel-spec.json +3577 -2954
- package/esm/funcs/domainsCheckDomainPrice.d.ts +0 -17
- package/esm/funcs/domainsCheckDomainPrice.d.ts.map +0 -1
- package/esm/funcs/domainsCheckDomainPrice.js.map +0 -1
- package/esm/funcs/domainsCheckDomainStatus.d.ts +0 -17
- package/esm/funcs/domainsCheckDomainStatus.d.ts.map +0 -1
- package/esm/funcs/domainsCheckDomainStatus.js.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainPrice.d.ts +0 -7
- package/esm/mcp-server/tools/domainsCheckDomainPrice.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainPrice.js +0 -28
- package/esm/mcp-server/tools/domainsCheckDomainPrice.js.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainStatus.d.ts +0 -7
- package/esm/mcp-server/tools/domainsCheckDomainStatus.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainStatus.js +0 -28
- package/esm/mcp-server/tools/domainsCheckDomainStatus.js.map +0 -1
- package/esm/models/checkdomainpriceop.d.ts +0 -77
- package/esm/models/checkdomainpriceop.d.ts.map +0 -1
- package/esm/models/checkdomainpriceop.js +0 -56
- package/esm/models/checkdomainpriceop.js.map +0 -1
- package/esm/models/checkdomainstatusop.d.ts +0 -46
- package/esm/models/checkdomainstatusop.d.ts.map +0 -1
- package/esm/models/checkdomainstatusop.js +0 -39
- package/esm/models/checkdomainstatusop.js.map +0 -1
- package/src/mcp-server/tools/domainsCheckDomainPrice.ts +0 -37
- package/src/mcp-server/tools/domainsCheckDomainStatus.ts +0 -37
- package/src/models/checkdomainpriceop.ts +0 -158
- package/src/models/checkdomainstatusop.ts +0 -117
|
@@ -13,8 +13,8 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
|
13
13
|
|
|
14
14
|
export type GetAllLogDrainsRequest = {
|
|
15
15
|
projectId?: string | undefined;
|
|
16
|
-
includeMetadata?: boolean | undefined;
|
|
17
16
|
projectIdOrName?: string | undefined;
|
|
17
|
+
includeMetadata?: boolean | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* The Team identifier to perform the request on behalf of.
|
|
20
20
|
*/
|
|
@@ -25,85 +25,24 @@ export type GetAllLogDrainsRequest = {
|
|
|
25
25
|
slug?: string | undefined;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
export const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
Remix: "remix",
|
|
33
|
-
ReactRouter: "react-router",
|
|
34
|
-
Astro: "astro",
|
|
35
|
-
Hexo: "hexo",
|
|
36
|
-
Eleventy: "eleventy",
|
|
37
|
-
Docusaurus2: "docusaurus-2",
|
|
38
|
-
Docusaurus: "docusaurus",
|
|
39
|
-
Preact: "preact",
|
|
40
|
-
Solidstart1: "solidstart-1",
|
|
41
|
-
Solidstart: "solidstart",
|
|
42
|
-
Dojo: "dojo",
|
|
43
|
-
Ember: "ember",
|
|
44
|
-
Vue: "vue",
|
|
45
|
-
Scully: "scully",
|
|
46
|
-
IonicAngular: "ionic-angular",
|
|
47
|
-
Angular: "angular",
|
|
48
|
-
Polymer: "polymer",
|
|
49
|
-
Svelte: "svelte",
|
|
50
|
-
Sveltekit: "sveltekit",
|
|
51
|
-
Sveltekit1: "sveltekit-1",
|
|
52
|
-
IonicReact: "ionic-react",
|
|
53
|
-
CreateReactApp: "create-react-app",
|
|
54
|
-
Gridsome: "gridsome",
|
|
55
|
-
Umijs: "umijs",
|
|
56
|
-
Sapper: "sapper",
|
|
57
|
-
Saber: "saber",
|
|
58
|
-
Stencil: "stencil",
|
|
59
|
-
Nuxtjs: "nuxtjs",
|
|
60
|
-
Redwoodjs: "redwoodjs",
|
|
61
|
-
Hugo: "hugo",
|
|
62
|
-
Jekyll: "jekyll",
|
|
63
|
-
Brunch: "brunch",
|
|
64
|
-
Middleman: "middleman",
|
|
65
|
-
Zola: "zola",
|
|
66
|
-
Hydrogen: "hydrogen",
|
|
67
|
-
Vite: "vite",
|
|
68
|
-
TanstackStart: "tanstack-start",
|
|
69
|
-
Vitepress: "vitepress",
|
|
70
|
-
Vuepress: "vuepress",
|
|
71
|
-
Parcel: "parcel",
|
|
72
|
-
Fastapi: "fastapi",
|
|
73
|
-
Flask: "flask",
|
|
74
|
-
Fasthtml: "fasthtml",
|
|
75
|
-
SanityV3: "sanity-v3",
|
|
76
|
-
Sanity: "sanity",
|
|
77
|
-
Storybook: "storybook",
|
|
78
|
-
Nitro: "nitro",
|
|
79
|
-
Hono: "hono",
|
|
80
|
-
Express: "express",
|
|
81
|
-
H3: "h3",
|
|
82
|
-
Nestjs: "nestjs",
|
|
83
|
-
Elysia: "elysia",
|
|
84
|
-
Fastify: "fastify",
|
|
85
|
-
Xmcp: "xmcp",
|
|
28
|
+
export const GetAllLogDrainsDrainsStatus = {
|
|
29
|
+
Enabled: "enabled",
|
|
30
|
+
Disabled: "disabled",
|
|
31
|
+
Errored: "errored",
|
|
86
32
|
} as const;
|
|
87
|
-
export type
|
|
88
|
-
typeof
|
|
33
|
+
export type GetAllLogDrainsDrainsStatus = ClosedEnum<
|
|
34
|
+
typeof GetAllLogDrainsDrainsStatus
|
|
89
35
|
>;
|
|
90
36
|
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
clientId?: string | undefined;
|
|
101
|
-
configurationId?: string | undefined;
|
|
102
|
-
projectsMetadata?: Array<ResponseBodyProjectsMetadata> | null | undefined;
|
|
103
|
-
integrationIcon?: string | undefined;
|
|
104
|
-
integrationConfigurationUri?: string | undefined;
|
|
105
|
-
integrationWebsite?: string | undefined;
|
|
106
|
-
};
|
|
37
|
+
export const GetAllLogDrainsDrainsLogDrainsDisabledReason = {
|
|
38
|
+
DisabledByOwner: "disabled-by-owner",
|
|
39
|
+
FeatureNotAvailable: "feature-not-available",
|
|
40
|
+
AccountPlanDowngrade: "account-plan-downgrade",
|
|
41
|
+
DisabledByAdmin: "disabled-by-admin",
|
|
42
|
+
} as const;
|
|
43
|
+
export type GetAllLogDrainsDrainsLogDrainsDisabledReason = ClosedEnum<
|
|
44
|
+
typeof GetAllLogDrainsDrainsLogDrainsDisabledReason
|
|
45
|
+
>;
|
|
107
46
|
|
|
108
47
|
export type GetAllLogDrainsDrainsLogDrainsLog = {};
|
|
109
48
|
|
|
@@ -182,8 +121,8 @@ export type GetAllLogDrainsDeliveryLogDrainsEncoding = ClosedEnum<
|
|
|
182
121
|
>;
|
|
183
122
|
|
|
184
123
|
export const GetAllLogDrainsDeliveryLogDrainsCompression = {
|
|
185
|
-
Gzip: "gzip",
|
|
186
124
|
None: "none",
|
|
125
|
+
Gzip: "gzip",
|
|
187
126
|
} as const;
|
|
188
127
|
export type GetAllLogDrainsDeliveryLogDrainsCompression = ClosedEnum<
|
|
189
128
|
typeof GetAllLogDrainsDeliveryLogDrainsCompression
|
|
@@ -241,25 +180,6 @@ export type GetAllLogDrainsDrainsLogDrainsSampling = {
|
|
|
241
180
|
requestPath?: string | undefined;
|
|
242
181
|
};
|
|
243
182
|
|
|
244
|
-
export const GetAllLogDrainsDrainsStatus = {
|
|
245
|
-
Enabled: "enabled",
|
|
246
|
-
Disabled: "disabled",
|
|
247
|
-
Errored: "errored",
|
|
248
|
-
} as const;
|
|
249
|
-
export type GetAllLogDrainsDrainsStatus = ClosedEnum<
|
|
250
|
-
typeof GetAllLogDrainsDrainsStatus
|
|
251
|
-
>;
|
|
252
|
-
|
|
253
|
-
export const GetAllLogDrainsDrainsLogDrainsDisabledReason = {
|
|
254
|
-
DisabledByOwner: "disabled-by-owner",
|
|
255
|
-
FeatureNotAvailable: "feature-not-available",
|
|
256
|
-
AccountPlanDowngrade: "account-plan-downgrade",
|
|
257
|
-
DisabledByAdmin: "disabled-by-admin",
|
|
258
|
-
} as const;
|
|
259
|
-
export type GetAllLogDrainsDrainsLogDrainsDisabledReason = ClosedEnum<
|
|
260
|
-
typeof GetAllLogDrainsDrainsLogDrainsDisabledReason
|
|
261
|
-
>;
|
|
262
|
-
|
|
263
183
|
export type GetAllLogDrainsSource2 = {
|
|
264
184
|
kind: "integration";
|
|
265
185
|
resourceId?: string | undefined;
|
|
@@ -354,11 +274,17 @@ export type GetAllLogDrainsDrainsProjectAccess =
|
|
|
354
274
|
|
|
355
275
|
export type GetAllLogDrainsDrains2 = {
|
|
356
276
|
id: string;
|
|
357
|
-
ownerId: string;
|
|
358
|
-
name: string;
|
|
359
277
|
createdAt: number;
|
|
360
278
|
updatedAt: number;
|
|
361
279
|
projectIds?: Array<string> | undefined;
|
|
280
|
+
name: string;
|
|
281
|
+
teamId?: string | null | undefined;
|
|
282
|
+
ownerId: string;
|
|
283
|
+
status?: GetAllLogDrainsDrainsStatus | undefined;
|
|
284
|
+
firstErrorTimestamp?: number | undefined;
|
|
285
|
+
disabledAt?: number | undefined;
|
|
286
|
+
disabledBy?: string | undefined;
|
|
287
|
+
disabledReason?: GetAllLogDrainsDrainsLogDrainsDisabledReason | undefined;
|
|
362
288
|
schemas: GetAllLogDrainsDrainsLogDrainsSchemas;
|
|
363
289
|
delivery:
|
|
364
290
|
| GetAllLogDrainsDelivery1
|
|
@@ -366,12 +292,6 @@ export type GetAllLogDrainsDrains2 = {
|
|
|
366
292
|
| GetAllLogDrainsDelivery3
|
|
367
293
|
| GetAllLogDrainsDelivery4;
|
|
368
294
|
sampling?: Array<GetAllLogDrainsDrainsLogDrainsSampling> | undefined;
|
|
369
|
-
teamId?: string | null | undefined;
|
|
370
|
-
status?: GetAllLogDrainsDrainsStatus | undefined;
|
|
371
|
-
disabledAt?: number | undefined;
|
|
372
|
-
disabledReason?: GetAllLogDrainsDrainsLogDrainsDisabledReason | undefined;
|
|
373
|
-
disabledBy?: string | undefined;
|
|
374
|
-
firstErrorTimestamp?: number | undefined;
|
|
375
295
|
source: GetAllLogDrainsSource1 | GetAllLogDrainsSource2;
|
|
376
296
|
filter?: string | undefined;
|
|
377
297
|
filterV2?: GetAllLogDrainsFilterV21 | GetAllLogDrainsFilterV22 | undefined;
|
|
@@ -384,6 +304,25 @@ export type GetAllLogDrainsDrains2 = {
|
|
|
384
304
|
| undefined;
|
|
385
305
|
};
|
|
386
306
|
|
|
307
|
+
export const GetAllLogDrainsDrainsLogDrainsStatus = {
|
|
308
|
+
Enabled: "enabled",
|
|
309
|
+
Disabled: "disabled",
|
|
310
|
+
Errored: "errored",
|
|
311
|
+
} as const;
|
|
312
|
+
export type GetAllLogDrainsDrainsLogDrainsStatus = ClosedEnum<
|
|
313
|
+
typeof GetAllLogDrainsDrainsLogDrainsStatus
|
|
314
|
+
>;
|
|
315
|
+
|
|
316
|
+
export const GetAllLogDrainsDrainsDisabledReason = {
|
|
317
|
+
DisabledByOwner: "disabled-by-owner",
|
|
318
|
+
FeatureNotAvailable: "feature-not-available",
|
|
319
|
+
AccountPlanDowngrade: "account-plan-downgrade",
|
|
320
|
+
DisabledByAdmin: "disabled-by-admin",
|
|
321
|
+
} as const;
|
|
322
|
+
export type GetAllLogDrainsDrainsDisabledReason = ClosedEnum<
|
|
323
|
+
typeof GetAllLogDrainsDrainsDisabledReason
|
|
324
|
+
>;
|
|
325
|
+
|
|
387
326
|
export type GetAllLogDrainsDrainsLog = {};
|
|
388
327
|
|
|
389
328
|
export type GetAllLogDrainsDrainsTrace = {};
|
|
@@ -461,8 +400,8 @@ export type GetAllLogDrainsDeliveryLogDrainsResponse200Encoding = ClosedEnum<
|
|
|
461
400
|
>;
|
|
462
401
|
|
|
463
402
|
export const GetAllLogDrainsDeliveryCompression = {
|
|
464
|
-
Gzip: "gzip",
|
|
465
403
|
None: "none",
|
|
404
|
+
Gzip: "gzip",
|
|
466
405
|
} as const;
|
|
467
406
|
export type GetAllLogDrainsDeliveryCompression = ClosedEnum<
|
|
468
407
|
typeof GetAllLogDrainsDeliveryCompression
|
|
@@ -520,25 +459,6 @@ export type GetAllLogDrainsDrainsSampling = {
|
|
|
520
459
|
requestPath?: string | undefined;
|
|
521
460
|
};
|
|
522
461
|
|
|
523
|
-
export const GetAllLogDrainsDrainsLogDrainsStatus = {
|
|
524
|
-
Enabled: "enabled",
|
|
525
|
-
Disabled: "disabled",
|
|
526
|
-
Errored: "errored",
|
|
527
|
-
} as const;
|
|
528
|
-
export type GetAllLogDrainsDrainsLogDrainsStatus = ClosedEnum<
|
|
529
|
-
typeof GetAllLogDrainsDrainsLogDrainsStatus
|
|
530
|
-
>;
|
|
531
|
-
|
|
532
|
-
export const GetAllLogDrainsDrainsDisabledReason = {
|
|
533
|
-
DisabledByOwner: "disabled-by-owner",
|
|
534
|
-
FeatureNotAvailable: "feature-not-available",
|
|
535
|
-
AccountPlanDowngrade: "account-plan-downgrade",
|
|
536
|
-
DisabledByAdmin: "disabled-by-admin",
|
|
537
|
-
} as const;
|
|
538
|
-
export type GetAllLogDrainsDrainsDisabledReason = ClosedEnum<
|
|
539
|
-
typeof GetAllLogDrainsDrainsDisabledReason
|
|
540
|
-
>;
|
|
541
|
-
|
|
542
462
|
export type GetAllLogDrainsSourceLogDrains2 = {
|
|
543
463
|
kind: "integration";
|
|
544
464
|
resourceId?: string | undefined;
|
|
@@ -620,11 +540,17 @@ export type GetAllLogDrainsDrainsFilterV2 =
|
|
|
620
540
|
|
|
621
541
|
export type GetAllLogDrainsDrains1 = {
|
|
622
542
|
id: string;
|
|
623
|
-
ownerId: string;
|
|
624
|
-
name: string;
|
|
625
543
|
createdAt: number;
|
|
626
544
|
updatedAt: number;
|
|
627
545
|
projectIds?: Array<string> | undefined;
|
|
546
|
+
name: string;
|
|
547
|
+
teamId?: string | null | undefined;
|
|
548
|
+
ownerId: string;
|
|
549
|
+
status?: GetAllLogDrainsDrainsLogDrainsStatus | undefined;
|
|
550
|
+
firstErrorTimestamp?: number | undefined;
|
|
551
|
+
disabledAt?: number | undefined;
|
|
552
|
+
disabledBy?: string | undefined;
|
|
553
|
+
disabledReason?: GetAllLogDrainsDrainsDisabledReason | undefined;
|
|
628
554
|
schemas: GetAllLogDrainsDrainsSchemas;
|
|
629
555
|
delivery:
|
|
630
556
|
| GetAllLogDrainsDeliveryLogDrains1
|
|
@@ -632,12 +558,6 @@ export type GetAllLogDrainsDrains1 = {
|
|
|
632
558
|
| GetAllLogDrainsDeliveryLogDrains3
|
|
633
559
|
| GetAllLogDrainsDeliveryLogDrains4;
|
|
634
560
|
sampling?: Array<GetAllLogDrainsDrainsSampling> | undefined;
|
|
635
|
-
teamId?: string | null | undefined;
|
|
636
|
-
status?: GetAllLogDrainsDrainsLogDrainsStatus | undefined;
|
|
637
|
-
disabledAt?: number | undefined;
|
|
638
|
-
disabledReason?: GetAllLogDrainsDrainsDisabledReason | undefined;
|
|
639
|
-
disabledBy?: string | undefined;
|
|
640
|
-
firstErrorTimestamp?: number | undefined;
|
|
641
561
|
source: GetAllLogDrainsSourceLogDrains1 | GetAllLogDrainsSourceLogDrains2;
|
|
642
562
|
filter?: string | undefined;
|
|
643
563
|
filterV2?:
|
|
@@ -650,13 +570,93 @@ export type ResponseBodyDrains =
|
|
|
650
570
|
| Array<GetAllLogDrainsDrains1>
|
|
651
571
|
| Array<GetAllLogDrainsDrains2>;
|
|
652
572
|
|
|
653
|
-
export type
|
|
573
|
+
export type GetAllLogDrainsResponseBody2 = {
|
|
654
574
|
drains: Array<GetAllLogDrainsDrains1> | Array<GetAllLogDrainsDrains2>;
|
|
655
575
|
};
|
|
656
576
|
|
|
577
|
+
export const GetAllLogDrainsResponseBodyFramework = {
|
|
578
|
+
Blitzjs: "blitzjs",
|
|
579
|
+
Nextjs: "nextjs",
|
|
580
|
+
Gatsby: "gatsby",
|
|
581
|
+
Remix: "remix",
|
|
582
|
+
ReactRouter: "react-router",
|
|
583
|
+
Astro: "astro",
|
|
584
|
+
Hexo: "hexo",
|
|
585
|
+
Eleventy: "eleventy",
|
|
586
|
+
Docusaurus2: "docusaurus-2",
|
|
587
|
+
Docusaurus: "docusaurus",
|
|
588
|
+
Preact: "preact",
|
|
589
|
+
Solidstart1: "solidstart-1",
|
|
590
|
+
Solidstart: "solidstart",
|
|
591
|
+
Dojo: "dojo",
|
|
592
|
+
Ember: "ember",
|
|
593
|
+
Vue: "vue",
|
|
594
|
+
Scully: "scully",
|
|
595
|
+
IonicAngular: "ionic-angular",
|
|
596
|
+
Angular: "angular",
|
|
597
|
+
Polymer: "polymer",
|
|
598
|
+
Svelte: "svelte",
|
|
599
|
+
Sveltekit: "sveltekit",
|
|
600
|
+
Sveltekit1: "sveltekit-1",
|
|
601
|
+
IonicReact: "ionic-react",
|
|
602
|
+
CreateReactApp: "create-react-app",
|
|
603
|
+
Gridsome: "gridsome",
|
|
604
|
+
Umijs: "umijs",
|
|
605
|
+
Sapper: "sapper",
|
|
606
|
+
Saber: "saber",
|
|
607
|
+
Stencil: "stencil",
|
|
608
|
+
Nuxtjs: "nuxtjs",
|
|
609
|
+
Redwoodjs: "redwoodjs",
|
|
610
|
+
Hugo: "hugo",
|
|
611
|
+
Jekyll: "jekyll",
|
|
612
|
+
Brunch: "brunch",
|
|
613
|
+
Middleman: "middleman",
|
|
614
|
+
Zola: "zola",
|
|
615
|
+
Hydrogen: "hydrogen",
|
|
616
|
+
Vite: "vite",
|
|
617
|
+
TanstackStart: "tanstack-start",
|
|
618
|
+
Vitepress: "vitepress",
|
|
619
|
+
Vuepress: "vuepress",
|
|
620
|
+
Parcel: "parcel",
|
|
621
|
+
Fastapi: "fastapi",
|
|
622
|
+
Flask: "flask",
|
|
623
|
+
Fasthtml: "fasthtml",
|
|
624
|
+
SanityV3: "sanity-v3",
|
|
625
|
+
Sanity: "sanity",
|
|
626
|
+
Storybook: "storybook",
|
|
627
|
+
Nitro: "nitro",
|
|
628
|
+
Hono: "hono",
|
|
629
|
+
Express: "express",
|
|
630
|
+
H3: "h3",
|
|
631
|
+
Nestjs: "nestjs",
|
|
632
|
+
Elysia: "elysia",
|
|
633
|
+
Fastify: "fastify",
|
|
634
|
+
Xmcp: "xmcp",
|
|
635
|
+
} as const;
|
|
636
|
+
export type GetAllLogDrainsResponseBodyFramework = ClosedEnum<
|
|
637
|
+
typeof GetAllLogDrainsResponseBodyFramework
|
|
638
|
+
>;
|
|
639
|
+
|
|
640
|
+
export type ResponseBodyProjectsMetadata = {
|
|
641
|
+
id: string;
|
|
642
|
+
name: string;
|
|
643
|
+
framework?: GetAllLogDrainsResponseBodyFramework | null | undefined;
|
|
644
|
+
latestDeployment?: string | undefined;
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
export type GetAllLogDrainsResponseBody1 = {
|
|
648
|
+
createdFrom: string;
|
|
649
|
+
clientId?: string | undefined;
|
|
650
|
+
configurationId?: string | undefined;
|
|
651
|
+
projectsMetadata?: Array<ResponseBodyProjectsMetadata> | null | undefined;
|
|
652
|
+
integrationIcon?: string | undefined;
|
|
653
|
+
integrationConfigurationUri?: string | undefined;
|
|
654
|
+
integrationWebsite?: string | undefined;
|
|
655
|
+
};
|
|
656
|
+
|
|
657
657
|
export type GetAllLogDrainsResponseBody =
|
|
658
|
-
|
|
|
659
|
-
| Array<
|
|
658
|
+
| GetAllLogDrainsResponseBody2
|
|
659
|
+
| Array<GetAllLogDrainsResponseBody1>;
|
|
660
660
|
|
|
661
661
|
/** @internal */
|
|
662
662
|
export const GetAllLogDrainsRequest$inboundSchema: z.ZodType<
|
|
@@ -665,16 +665,16 @@ export const GetAllLogDrainsRequest$inboundSchema: z.ZodType<
|
|
|
665
665
|
unknown
|
|
666
666
|
> = z.object({
|
|
667
667
|
projectId: types.optional(types.string()),
|
|
668
|
-
includeMetadata: types.boolean().default(false),
|
|
669
668
|
projectIdOrName: types.optional(types.string()),
|
|
669
|
+
includeMetadata: types.boolean().default(false),
|
|
670
670
|
teamId: types.optional(types.string()),
|
|
671
671
|
slug: types.optional(types.string()),
|
|
672
672
|
});
|
|
673
673
|
/** @internal */
|
|
674
674
|
export type GetAllLogDrainsRequest$Outbound = {
|
|
675
675
|
projectId?: string | undefined;
|
|
676
|
-
includeMetadata: boolean;
|
|
677
676
|
projectIdOrName?: string | undefined;
|
|
677
|
+
includeMetadata: boolean;
|
|
678
678
|
teamId?: string | undefined;
|
|
679
679
|
slug?: string | undefined;
|
|
680
680
|
};
|
|
@@ -686,8 +686,8 @@ export const GetAllLogDrainsRequest$outboundSchema: z.ZodType<
|
|
|
686
686
|
GetAllLogDrainsRequest
|
|
687
687
|
> = z.object({
|
|
688
688
|
projectId: z.string().optional(),
|
|
689
|
-
includeMetadata: z.boolean().default(false),
|
|
690
689
|
projectIdOrName: z.string().optional(),
|
|
690
|
+
includeMetadata: z.boolean().default(false),
|
|
691
691
|
teamId: z.string().optional(),
|
|
692
692
|
slug: z.string().optional(),
|
|
693
693
|
});
|
|
@@ -710,132 +710,22 @@ export function getAllLogDrainsRequestFromJSON(
|
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
/** @internal */
|
|
713
|
-
export const
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
);
|
|
717
|
-
/** @internal */
|
|
718
|
-
export const GetAllLogDrainsResponseBodyFramework$outboundSchema:
|
|
719
|
-
z.ZodNativeEnum<typeof GetAllLogDrainsResponseBodyFramework> =
|
|
720
|
-
GetAllLogDrainsResponseBodyFramework$inboundSchema;
|
|
721
|
-
|
|
722
|
-
/** @internal */
|
|
723
|
-
export const ResponseBodyProjectsMetadata$inboundSchema: z.ZodType<
|
|
724
|
-
ResponseBodyProjectsMetadata,
|
|
725
|
-
z.ZodTypeDef,
|
|
726
|
-
unknown
|
|
727
|
-
> = z.object({
|
|
728
|
-
id: types.string(),
|
|
729
|
-
name: types.string(),
|
|
730
|
-
framework: z.nullable(GetAllLogDrainsResponseBodyFramework$inboundSchema)
|
|
731
|
-
.optional(),
|
|
732
|
-
latestDeployment: types.optional(types.string()),
|
|
733
|
-
});
|
|
734
|
-
/** @internal */
|
|
735
|
-
export type ResponseBodyProjectsMetadata$Outbound = {
|
|
736
|
-
id: string;
|
|
737
|
-
name: string;
|
|
738
|
-
framework?: string | null | undefined;
|
|
739
|
-
latestDeployment?: string | undefined;
|
|
740
|
-
};
|
|
741
|
-
|
|
713
|
+
export const GetAllLogDrainsDrainsStatus$inboundSchema: z.ZodNativeEnum<
|
|
714
|
+
typeof GetAllLogDrainsDrainsStatus
|
|
715
|
+
> = z.nativeEnum(GetAllLogDrainsDrainsStatus);
|
|
742
716
|
/** @internal */
|
|
743
|
-
export const
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
ResponseBodyProjectsMetadata
|
|
747
|
-
> = z.object({
|
|
748
|
-
id: z.string(),
|
|
749
|
-
name: z.string(),
|
|
750
|
-
framework: z.nullable(GetAllLogDrainsResponseBodyFramework$outboundSchema)
|
|
751
|
-
.optional(),
|
|
752
|
-
latestDeployment: z.string().optional(),
|
|
753
|
-
});
|
|
754
|
-
|
|
755
|
-
export function responseBodyProjectsMetadataToJSON(
|
|
756
|
-
responseBodyProjectsMetadata: ResponseBodyProjectsMetadata,
|
|
757
|
-
): string {
|
|
758
|
-
return JSON.stringify(
|
|
759
|
-
ResponseBodyProjectsMetadata$outboundSchema.parse(
|
|
760
|
-
responseBodyProjectsMetadata,
|
|
761
|
-
),
|
|
762
|
-
);
|
|
763
|
-
}
|
|
764
|
-
export function responseBodyProjectsMetadataFromJSON(
|
|
765
|
-
jsonString: string,
|
|
766
|
-
): SafeParseResult<ResponseBodyProjectsMetadata, SDKValidationError> {
|
|
767
|
-
return safeParse(
|
|
768
|
-
jsonString,
|
|
769
|
-
(x) => ResponseBodyProjectsMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
770
|
-
`Failed to parse 'ResponseBodyProjectsMetadata' from JSON`,
|
|
771
|
-
);
|
|
772
|
-
}
|
|
717
|
+
export const GetAllLogDrainsDrainsStatus$outboundSchema: z.ZodNativeEnum<
|
|
718
|
+
typeof GetAllLogDrainsDrainsStatus
|
|
719
|
+
> = GetAllLogDrainsDrainsStatus$inboundSchema;
|
|
773
720
|
|
|
774
721
|
/** @internal */
|
|
775
|
-
export const
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
unknown
|
|
779
|
-
> = z.object({
|
|
780
|
-
createdFrom: types.string(),
|
|
781
|
-
clientId: types.optional(types.string()),
|
|
782
|
-
configurationId: types.optional(types.string()),
|
|
783
|
-
projectsMetadata: z.nullable(
|
|
784
|
-
z.array(z.lazy(() => ResponseBodyProjectsMetadata$inboundSchema)),
|
|
785
|
-
).optional(),
|
|
786
|
-
integrationIcon: types.optional(types.string()),
|
|
787
|
-
integrationConfigurationUri: types.optional(types.string()),
|
|
788
|
-
integrationWebsite: types.optional(types.string()),
|
|
789
|
-
});
|
|
790
|
-
/** @internal */
|
|
791
|
-
export type GetAllLogDrainsResponseBody2$Outbound = {
|
|
792
|
-
createdFrom: string;
|
|
793
|
-
clientId?: string | undefined;
|
|
794
|
-
configurationId?: string | undefined;
|
|
795
|
-
projectsMetadata?:
|
|
796
|
-
| Array<ResponseBodyProjectsMetadata$Outbound>
|
|
797
|
-
| null
|
|
798
|
-
| undefined;
|
|
799
|
-
integrationIcon?: string | undefined;
|
|
800
|
-
integrationConfigurationUri?: string | undefined;
|
|
801
|
-
integrationWebsite?: string | undefined;
|
|
802
|
-
};
|
|
803
|
-
|
|
722
|
+
export const GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema:
|
|
723
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsDisabledReason> = z
|
|
724
|
+
.nativeEnum(GetAllLogDrainsDrainsLogDrainsDisabledReason);
|
|
804
725
|
/** @internal */
|
|
805
|
-
export const
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
GetAllLogDrainsResponseBody2
|
|
809
|
-
> = z.object({
|
|
810
|
-
createdFrom: z.string(),
|
|
811
|
-
clientId: z.string().optional(),
|
|
812
|
-
configurationId: z.string().optional(),
|
|
813
|
-
projectsMetadata: z.nullable(
|
|
814
|
-
z.array(z.lazy(() => ResponseBodyProjectsMetadata$outboundSchema)),
|
|
815
|
-
).optional(),
|
|
816
|
-
integrationIcon: z.string().optional(),
|
|
817
|
-
integrationConfigurationUri: z.string().optional(),
|
|
818
|
-
integrationWebsite: z.string().optional(),
|
|
819
|
-
});
|
|
820
|
-
|
|
821
|
-
export function getAllLogDrainsResponseBody2ToJSON(
|
|
822
|
-
getAllLogDrainsResponseBody2: GetAllLogDrainsResponseBody2,
|
|
823
|
-
): string {
|
|
824
|
-
return JSON.stringify(
|
|
825
|
-
GetAllLogDrainsResponseBody2$outboundSchema.parse(
|
|
826
|
-
getAllLogDrainsResponseBody2,
|
|
827
|
-
),
|
|
828
|
-
);
|
|
829
|
-
}
|
|
830
|
-
export function getAllLogDrainsResponseBody2FromJSON(
|
|
831
|
-
jsonString: string,
|
|
832
|
-
): SafeParseResult<GetAllLogDrainsResponseBody2, SDKValidationError> {
|
|
833
|
-
return safeParse(
|
|
834
|
-
jsonString,
|
|
835
|
-
(x) => GetAllLogDrainsResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
836
|
-
`Failed to parse 'GetAllLogDrainsResponseBody2' from JSON`,
|
|
837
|
-
);
|
|
838
|
-
}
|
|
726
|
+
export const GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema:
|
|
727
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsDisabledReason> =
|
|
728
|
+
GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema;
|
|
839
729
|
|
|
840
730
|
/** @internal */
|
|
841
731
|
export const GetAllLogDrainsDrainsLogDrainsLog$inboundSchema: z.ZodType<
|
|
@@ -1668,24 +1558,6 @@ export function getAllLogDrainsDrainsLogDrainsSamplingFromJSON(
|
|
|
1668
1558
|
);
|
|
1669
1559
|
}
|
|
1670
1560
|
|
|
1671
|
-
/** @internal */
|
|
1672
|
-
export const GetAllLogDrainsDrainsStatus$inboundSchema: z.ZodNativeEnum<
|
|
1673
|
-
typeof GetAllLogDrainsDrainsStatus
|
|
1674
|
-
> = z.nativeEnum(GetAllLogDrainsDrainsStatus);
|
|
1675
|
-
/** @internal */
|
|
1676
|
-
export const GetAllLogDrainsDrainsStatus$outboundSchema: z.ZodNativeEnum<
|
|
1677
|
-
typeof GetAllLogDrainsDrainsStatus
|
|
1678
|
-
> = GetAllLogDrainsDrainsStatus$inboundSchema;
|
|
1679
|
-
|
|
1680
|
-
/** @internal */
|
|
1681
|
-
export const GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema:
|
|
1682
|
-
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsDisabledReason> = z
|
|
1683
|
-
.nativeEnum(GetAllLogDrainsDrainsLogDrainsDisabledReason);
|
|
1684
|
-
/** @internal */
|
|
1685
|
-
export const GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema:
|
|
1686
|
-
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsDisabledReason> =
|
|
1687
|
-
GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema;
|
|
1688
|
-
|
|
1689
1561
|
/** @internal */
|
|
1690
1562
|
export const GetAllLogDrainsSource2$inboundSchema: z.ZodType<
|
|
1691
1563
|
GetAllLogDrainsSource2,
|
|
@@ -2393,11 +2265,19 @@ export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType<
|
|
|
2393
2265
|
unknown
|
|
2394
2266
|
> = z.object({
|
|
2395
2267
|
id: types.string(),
|
|
2396
|
-
ownerId: types.string(),
|
|
2397
|
-
name: types.string(),
|
|
2398
2268
|
createdAt: types.number(),
|
|
2399
2269
|
updatedAt: types.number(),
|
|
2400
2270
|
projectIds: types.optional(z.array(types.string())),
|
|
2271
|
+
name: types.string(),
|
|
2272
|
+
teamId: z.nullable(types.string()).optional(),
|
|
2273
|
+
ownerId: types.string(),
|
|
2274
|
+
status: types.optional(GetAllLogDrainsDrainsStatus$inboundSchema),
|
|
2275
|
+
firstErrorTimestamp: types.optional(types.number()),
|
|
2276
|
+
disabledAt: types.optional(types.number()),
|
|
2277
|
+
disabledBy: types.optional(types.string()),
|
|
2278
|
+
disabledReason: types.optional(
|
|
2279
|
+
GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema,
|
|
2280
|
+
),
|
|
2401
2281
|
schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema),
|
|
2402
2282
|
delivery: z.union([
|
|
2403
2283
|
z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema),
|
|
@@ -2408,14 +2288,6 @@ export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType<
|
|
|
2408
2288
|
sampling: types.optional(
|
|
2409
2289
|
z.array(z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema)),
|
|
2410
2290
|
),
|
|
2411
|
-
teamId: z.nullable(types.string()).optional(),
|
|
2412
|
-
status: types.optional(GetAllLogDrainsDrainsStatus$inboundSchema),
|
|
2413
|
-
disabledAt: types.optional(types.number()),
|
|
2414
|
-
disabledReason: types.optional(
|
|
2415
|
-
GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema,
|
|
2416
|
-
),
|
|
2417
|
-
disabledBy: types.optional(types.string()),
|
|
2418
|
-
firstErrorTimestamp: types.optional(types.number()),
|
|
2419
2291
|
source: z.union([
|
|
2420
2292
|
z.lazy(() => GetAllLogDrainsSource1$inboundSchema),
|
|
2421
2293
|
z.lazy(() => GetAllLogDrainsSource2$inboundSchema),
|
|
@@ -2440,11 +2312,17 @@ export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType<
|
|
|
2440
2312
|
/** @internal */
|
|
2441
2313
|
export type GetAllLogDrainsDrains2$Outbound = {
|
|
2442
2314
|
id: string;
|
|
2443
|
-
ownerId: string;
|
|
2444
|
-
name: string;
|
|
2445
2315
|
createdAt: number;
|
|
2446
2316
|
updatedAt: number;
|
|
2447
2317
|
projectIds?: Array<string> | undefined;
|
|
2318
|
+
name: string;
|
|
2319
|
+
teamId?: string | null | undefined;
|
|
2320
|
+
ownerId: string;
|
|
2321
|
+
status?: string | undefined;
|
|
2322
|
+
firstErrorTimestamp?: number | undefined;
|
|
2323
|
+
disabledAt?: number | undefined;
|
|
2324
|
+
disabledBy?: string | undefined;
|
|
2325
|
+
disabledReason?: string | undefined;
|
|
2448
2326
|
schemas: GetAllLogDrainsDrainsLogDrainsSchemas$Outbound;
|
|
2449
2327
|
delivery:
|
|
2450
2328
|
| GetAllLogDrainsDelivery1$Outbound
|
|
@@ -2452,12 +2330,6 @@ export type GetAllLogDrainsDrains2$Outbound = {
|
|
|
2452
2330
|
| GetAllLogDrainsDelivery3$Outbound
|
|
2453
2331
|
| GetAllLogDrainsDelivery4$Outbound;
|
|
2454
2332
|
sampling?: Array<GetAllLogDrainsDrainsLogDrainsSampling$Outbound> | undefined;
|
|
2455
|
-
teamId?: string | null | undefined;
|
|
2456
|
-
status?: string | undefined;
|
|
2457
|
-
disabledAt?: number | undefined;
|
|
2458
|
-
disabledReason?: string | undefined;
|
|
2459
|
-
disabledBy?: string | undefined;
|
|
2460
|
-
firstErrorTimestamp?: number | undefined;
|
|
2461
2333
|
source: GetAllLogDrainsSource1$Outbound | GetAllLogDrainsSource2$Outbound;
|
|
2462
2334
|
filter?: string | undefined;
|
|
2463
2335
|
filterV2?:
|
|
@@ -2480,11 +2352,18 @@ export const GetAllLogDrainsDrains2$outboundSchema: z.ZodType<
|
|
|
2480
2352
|
GetAllLogDrainsDrains2
|
|
2481
2353
|
> = z.object({
|
|
2482
2354
|
id: z.string(),
|
|
2483
|
-
ownerId: z.string(),
|
|
2484
|
-
name: z.string(),
|
|
2485
2355
|
createdAt: z.number(),
|
|
2486
2356
|
updatedAt: z.number(),
|
|
2487
2357
|
projectIds: z.array(z.string()).optional(),
|
|
2358
|
+
name: z.string(),
|
|
2359
|
+
teamId: z.nullable(z.string()).optional(),
|
|
2360
|
+
ownerId: z.string(),
|
|
2361
|
+
status: GetAllLogDrainsDrainsStatus$outboundSchema.optional(),
|
|
2362
|
+
firstErrorTimestamp: z.number().optional(),
|
|
2363
|
+
disabledAt: z.number().optional(),
|
|
2364
|
+
disabledBy: z.string().optional(),
|
|
2365
|
+
disabledReason: GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema
|
|
2366
|
+
.optional(),
|
|
2488
2367
|
schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema),
|
|
2489
2368
|
delivery: z.union([
|
|
2490
2369
|
z.lazy(() => GetAllLogDrainsDelivery1$outboundSchema),
|
|
@@ -2495,13 +2374,6 @@ export const GetAllLogDrainsDrains2$outboundSchema: z.ZodType<
|
|
|
2495
2374
|
sampling: z.array(
|
|
2496
2375
|
z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$outboundSchema),
|
|
2497
2376
|
).optional(),
|
|
2498
|
-
teamId: z.nullable(z.string()).optional(),
|
|
2499
|
-
status: GetAllLogDrainsDrainsStatus$outboundSchema.optional(),
|
|
2500
|
-
disabledAt: z.number().optional(),
|
|
2501
|
-
disabledReason: GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema
|
|
2502
|
-
.optional(),
|
|
2503
|
-
disabledBy: z.string().optional(),
|
|
2504
|
-
firstErrorTimestamp: z.number().optional(),
|
|
2505
2377
|
source: z.union([
|
|
2506
2378
|
z.lazy(() => GetAllLogDrainsSource1$outboundSchema),
|
|
2507
2379
|
z.lazy(() => GetAllLogDrainsSource2$outboundSchema),
|
|
@@ -2537,6 +2409,25 @@ export function getAllLogDrainsDrains2FromJSON(
|
|
|
2537
2409
|
);
|
|
2538
2410
|
}
|
|
2539
2411
|
|
|
2412
|
+
/** @internal */
|
|
2413
|
+
export const GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema:
|
|
2414
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsStatus> = z.nativeEnum(
|
|
2415
|
+
GetAllLogDrainsDrainsLogDrainsStatus,
|
|
2416
|
+
);
|
|
2417
|
+
/** @internal */
|
|
2418
|
+
export const GetAllLogDrainsDrainsLogDrainsStatus$outboundSchema:
|
|
2419
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsStatus> =
|
|
2420
|
+
GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema;
|
|
2421
|
+
|
|
2422
|
+
/** @internal */
|
|
2423
|
+
export const GetAllLogDrainsDrainsDisabledReason$inboundSchema: z.ZodNativeEnum<
|
|
2424
|
+
typeof GetAllLogDrainsDrainsDisabledReason
|
|
2425
|
+
> = z.nativeEnum(GetAllLogDrainsDrainsDisabledReason);
|
|
2426
|
+
/** @internal */
|
|
2427
|
+
export const GetAllLogDrainsDrainsDisabledReason$outboundSchema:
|
|
2428
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsDisabledReason> =
|
|
2429
|
+
GetAllLogDrainsDrainsDisabledReason$inboundSchema;
|
|
2430
|
+
|
|
2540
2431
|
/** @internal */
|
|
2541
2432
|
export const GetAllLogDrainsDrainsLog$inboundSchema: z.ZodType<
|
|
2542
2433
|
GetAllLogDrainsDrainsLog,
|
|
@@ -3379,25 +3270,6 @@ export function getAllLogDrainsDrainsSamplingFromJSON(
|
|
|
3379
3270
|
);
|
|
3380
3271
|
}
|
|
3381
3272
|
|
|
3382
|
-
/** @internal */
|
|
3383
|
-
export const GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema:
|
|
3384
|
-
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsStatus> = z.nativeEnum(
|
|
3385
|
-
GetAllLogDrainsDrainsLogDrainsStatus,
|
|
3386
|
-
);
|
|
3387
|
-
/** @internal */
|
|
3388
|
-
export const GetAllLogDrainsDrainsLogDrainsStatus$outboundSchema:
|
|
3389
|
-
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsLogDrainsStatus> =
|
|
3390
|
-
GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema;
|
|
3391
|
-
|
|
3392
|
-
/** @internal */
|
|
3393
|
-
export const GetAllLogDrainsDrainsDisabledReason$inboundSchema: z.ZodNativeEnum<
|
|
3394
|
-
typeof GetAllLogDrainsDrainsDisabledReason
|
|
3395
|
-
> = z.nativeEnum(GetAllLogDrainsDrainsDisabledReason);
|
|
3396
|
-
/** @internal */
|
|
3397
|
-
export const GetAllLogDrainsDrainsDisabledReason$outboundSchema:
|
|
3398
|
-
z.ZodNativeEnum<typeof GetAllLogDrainsDrainsDisabledReason> =
|
|
3399
|
-
GetAllLogDrainsDrainsDisabledReason$inboundSchema;
|
|
3400
|
-
|
|
3401
3273
|
/** @internal */
|
|
3402
3274
|
export const GetAllLogDrainsSourceLogDrains2$inboundSchema: z.ZodType<
|
|
3403
3275
|
GetAllLogDrainsSourceLogDrains2,
|
|
@@ -3981,11 +3853,19 @@ export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType<
|
|
|
3981
3853
|
unknown
|
|
3982
3854
|
> = z.object({
|
|
3983
3855
|
id: types.string(),
|
|
3984
|
-
ownerId: types.string(),
|
|
3985
|
-
name: types.string(),
|
|
3986
3856
|
createdAt: types.number(),
|
|
3987
3857
|
updatedAt: types.number(),
|
|
3988
3858
|
projectIds: types.optional(z.array(types.string())),
|
|
3859
|
+
name: types.string(),
|
|
3860
|
+
teamId: z.nullable(types.string()).optional(),
|
|
3861
|
+
ownerId: types.string(),
|
|
3862
|
+
status: types.optional(GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema),
|
|
3863
|
+
firstErrorTimestamp: types.optional(types.number()),
|
|
3864
|
+
disabledAt: types.optional(types.number()),
|
|
3865
|
+
disabledBy: types.optional(types.string()),
|
|
3866
|
+
disabledReason: types.optional(
|
|
3867
|
+
GetAllLogDrainsDrainsDisabledReason$inboundSchema,
|
|
3868
|
+
),
|
|
3989
3869
|
schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema),
|
|
3990
3870
|
delivery: z.union([
|
|
3991
3871
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema),
|
|
@@ -3996,14 +3876,6 @@ export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType<
|
|
|
3996
3876
|
sampling: types.optional(
|
|
3997
3877
|
z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$inboundSchema)),
|
|
3998
3878
|
),
|
|
3999
|
-
teamId: z.nullable(types.string()).optional(),
|
|
4000
|
-
status: types.optional(GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema),
|
|
4001
|
-
disabledAt: types.optional(types.number()),
|
|
4002
|
-
disabledReason: types.optional(
|
|
4003
|
-
GetAllLogDrainsDrainsDisabledReason$inboundSchema,
|
|
4004
|
-
),
|
|
4005
|
-
disabledBy: types.optional(types.string()),
|
|
4006
|
-
firstErrorTimestamp: types.optional(types.number()),
|
|
4007
3879
|
source: z.union([
|
|
4008
3880
|
z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema),
|
|
4009
3881
|
z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema),
|
|
@@ -4019,11 +3891,17 @@ export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType<
|
|
|
4019
3891
|
/** @internal */
|
|
4020
3892
|
export type GetAllLogDrainsDrains1$Outbound = {
|
|
4021
3893
|
id: string;
|
|
4022
|
-
ownerId: string;
|
|
4023
|
-
name: string;
|
|
4024
3894
|
createdAt: number;
|
|
4025
3895
|
updatedAt: number;
|
|
4026
3896
|
projectIds?: Array<string> | undefined;
|
|
3897
|
+
name: string;
|
|
3898
|
+
teamId?: string | null | undefined;
|
|
3899
|
+
ownerId: string;
|
|
3900
|
+
status?: string | undefined;
|
|
3901
|
+
firstErrorTimestamp?: number | undefined;
|
|
3902
|
+
disabledAt?: number | undefined;
|
|
3903
|
+
disabledBy?: string | undefined;
|
|
3904
|
+
disabledReason?: string | undefined;
|
|
4027
3905
|
schemas: GetAllLogDrainsDrainsSchemas$Outbound;
|
|
4028
3906
|
delivery:
|
|
4029
3907
|
| GetAllLogDrainsDeliveryLogDrains1$Outbound
|
|
@@ -4031,12 +3909,6 @@ export type GetAllLogDrainsDrains1$Outbound = {
|
|
|
4031
3909
|
| GetAllLogDrainsDeliveryLogDrains3$Outbound
|
|
4032
3910
|
| GetAllLogDrainsDeliveryLogDrains4$Outbound;
|
|
4033
3911
|
sampling?: Array<GetAllLogDrainsDrainsSampling$Outbound> | undefined;
|
|
4034
|
-
teamId?: string | null | undefined;
|
|
4035
|
-
status?: string | undefined;
|
|
4036
|
-
disabledAt?: number | undefined;
|
|
4037
|
-
disabledReason?: string | undefined;
|
|
4038
|
-
disabledBy?: string | undefined;
|
|
4039
|
-
firstErrorTimestamp?: number | undefined;
|
|
4040
3912
|
source:
|
|
4041
3913
|
| GetAllLogDrainsSourceLogDrains1$Outbound
|
|
4042
3914
|
| GetAllLogDrainsSourceLogDrains2$Outbound;
|
|
@@ -4054,11 +3926,17 @@ export const GetAllLogDrainsDrains1$outboundSchema: z.ZodType<
|
|
|
4054
3926
|
GetAllLogDrainsDrains1
|
|
4055
3927
|
> = z.object({
|
|
4056
3928
|
id: z.string(),
|
|
4057
|
-
ownerId: z.string(),
|
|
4058
|
-
name: z.string(),
|
|
4059
3929
|
createdAt: z.number(),
|
|
4060
3930
|
updatedAt: z.number(),
|
|
4061
3931
|
projectIds: z.array(z.string()).optional(),
|
|
3932
|
+
name: z.string(),
|
|
3933
|
+
teamId: z.nullable(z.string()).optional(),
|
|
3934
|
+
ownerId: z.string(),
|
|
3935
|
+
status: GetAllLogDrainsDrainsLogDrainsStatus$outboundSchema.optional(),
|
|
3936
|
+
firstErrorTimestamp: z.number().optional(),
|
|
3937
|
+
disabledAt: z.number().optional(),
|
|
3938
|
+
disabledBy: z.string().optional(),
|
|
3939
|
+
disabledReason: GetAllLogDrainsDrainsDisabledReason$outboundSchema.optional(),
|
|
4062
3940
|
schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$outboundSchema),
|
|
4063
3941
|
delivery: z.union([
|
|
4064
3942
|
z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$outboundSchema),
|
|
@@ -4068,12 +3946,6 @@ export const GetAllLogDrainsDrains1$outboundSchema: z.ZodType<
|
|
|
4068
3946
|
]),
|
|
4069
3947
|
sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$outboundSchema))
|
|
4070
3948
|
.optional(),
|
|
4071
|
-
teamId: z.nullable(z.string()).optional(),
|
|
4072
|
-
status: GetAllLogDrainsDrainsLogDrainsStatus$outboundSchema.optional(),
|
|
4073
|
-
disabledAt: z.number().optional(),
|
|
4074
|
-
disabledReason: GetAllLogDrainsDrainsDisabledReason$outboundSchema.optional(),
|
|
4075
|
-
disabledBy: z.string().optional(),
|
|
4076
|
-
firstErrorTimestamp: z.number().optional(),
|
|
4077
3949
|
source: z.union([
|
|
4078
3950
|
z.lazy(() => GetAllLogDrainsSourceLogDrains1$outboundSchema),
|
|
4079
3951
|
z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema),
|
|
@@ -4144,8 +4016,8 @@ export function responseBodyDrainsFromJSON(
|
|
|
4144
4016
|
}
|
|
4145
4017
|
|
|
4146
4018
|
/** @internal */
|
|
4147
|
-
export const
|
|
4148
|
-
|
|
4019
|
+
export const GetAllLogDrainsResponseBody2$inboundSchema: z.ZodType<
|
|
4020
|
+
GetAllLogDrainsResponseBody2,
|
|
4149
4021
|
z.ZodTypeDef,
|
|
4150
4022
|
unknown
|
|
4151
4023
|
> = z.object({
|
|
@@ -4155,17 +4027,17 @@ export const GetAllLogDrainsResponseBody1$inboundSchema: z.ZodType<
|
|
|
4155
4027
|
]),
|
|
4156
4028
|
});
|
|
4157
4029
|
/** @internal */
|
|
4158
|
-
export type
|
|
4030
|
+
export type GetAllLogDrainsResponseBody2$Outbound = {
|
|
4159
4031
|
drains:
|
|
4160
4032
|
| Array<GetAllLogDrainsDrains1$Outbound>
|
|
4161
4033
|
| Array<GetAllLogDrainsDrains2$Outbound>;
|
|
4162
4034
|
};
|
|
4163
4035
|
|
|
4164
4036
|
/** @internal */
|
|
4165
|
-
export const
|
|
4166
|
-
|
|
4037
|
+
export const GetAllLogDrainsResponseBody2$outboundSchema: z.ZodType<
|
|
4038
|
+
GetAllLogDrainsResponseBody2$Outbound,
|
|
4167
4039
|
z.ZodTypeDef,
|
|
4168
|
-
|
|
4040
|
+
GetAllLogDrainsResponseBody2
|
|
4169
4041
|
> = z.object({
|
|
4170
4042
|
drains: smartUnion([
|
|
4171
4043
|
z.array(z.lazy(() => GetAllLogDrainsDrains1$outboundSchema)),
|
|
@@ -4173,6 +4045,134 @@ export const GetAllLogDrainsResponseBody1$outboundSchema: z.ZodType<
|
|
|
4173
4045
|
]),
|
|
4174
4046
|
});
|
|
4175
4047
|
|
|
4048
|
+
export function getAllLogDrainsResponseBody2ToJSON(
|
|
4049
|
+
getAllLogDrainsResponseBody2: GetAllLogDrainsResponseBody2,
|
|
4050
|
+
): string {
|
|
4051
|
+
return JSON.stringify(
|
|
4052
|
+
GetAllLogDrainsResponseBody2$outboundSchema.parse(
|
|
4053
|
+
getAllLogDrainsResponseBody2,
|
|
4054
|
+
),
|
|
4055
|
+
);
|
|
4056
|
+
}
|
|
4057
|
+
export function getAllLogDrainsResponseBody2FromJSON(
|
|
4058
|
+
jsonString: string,
|
|
4059
|
+
): SafeParseResult<GetAllLogDrainsResponseBody2, SDKValidationError> {
|
|
4060
|
+
return safeParse(
|
|
4061
|
+
jsonString,
|
|
4062
|
+
(x) => GetAllLogDrainsResponseBody2$inboundSchema.parse(JSON.parse(x)),
|
|
4063
|
+
`Failed to parse 'GetAllLogDrainsResponseBody2' from JSON`,
|
|
4064
|
+
);
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
/** @internal */
|
|
4068
|
+
export const GetAllLogDrainsResponseBodyFramework$inboundSchema:
|
|
4069
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsResponseBodyFramework> = z.nativeEnum(
|
|
4070
|
+
GetAllLogDrainsResponseBodyFramework,
|
|
4071
|
+
);
|
|
4072
|
+
/** @internal */
|
|
4073
|
+
export const GetAllLogDrainsResponseBodyFramework$outboundSchema:
|
|
4074
|
+
z.ZodNativeEnum<typeof GetAllLogDrainsResponseBodyFramework> =
|
|
4075
|
+
GetAllLogDrainsResponseBodyFramework$inboundSchema;
|
|
4076
|
+
|
|
4077
|
+
/** @internal */
|
|
4078
|
+
export const ResponseBodyProjectsMetadata$inboundSchema: z.ZodType<
|
|
4079
|
+
ResponseBodyProjectsMetadata,
|
|
4080
|
+
z.ZodTypeDef,
|
|
4081
|
+
unknown
|
|
4082
|
+
> = z.object({
|
|
4083
|
+
id: types.string(),
|
|
4084
|
+
name: types.string(),
|
|
4085
|
+
framework: z.nullable(GetAllLogDrainsResponseBodyFramework$inboundSchema)
|
|
4086
|
+
.optional(),
|
|
4087
|
+
latestDeployment: types.optional(types.string()),
|
|
4088
|
+
});
|
|
4089
|
+
/** @internal */
|
|
4090
|
+
export type ResponseBodyProjectsMetadata$Outbound = {
|
|
4091
|
+
id: string;
|
|
4092
|
+
name: string;
|
|
4093
|
+
framework?: string | null | undefined;
|
|
4094
|
+
latestDeployment?: string | undefined;
|
|
4095
|
+
};
|
|
4096
|
+
|
|
4097
|
+
/** @internal */
|
|
4098
|
+
export const ResponseBodyProjectsMetadata$outboundSchema: z.ZodType<
|
|
4099
|
+
ResponseBodyProjectsMetadata$Outbound,
|
|
4100
|
+
z.ZodTypeDef,
|
|
4101
|
+
ResponseBodyProjectsMetadata
|
|
4102
|
+
> = z.object({
|
|
4103
|
+
id: z.string(),
|
|
4104
|
+
name: z.string(),
|
|
4105
|
+
framework: z.nullable(GetAllLogDrainsResponseBodyFramework$outboundSchema)
|
|
4106
|
+
.optional(),
|
|
4107
|
+
latestDeployment: z.string().optional(),
|
|
4108
|
+
});
|
|
4109
|
+
|
|
4110
|
+
export function responseBodyProjectsMetadataToJSON(
|
|
4111
|
+
responseBodyProjectsMetadata: ResponseBodyProjectsMetadata,
|
|
4112
|
+
): string {
|
|
4113
|
+
return JSON.stringify(
|
|
4114
|
+
ResponseBodyProjectsMetadata$outboundSchema.parse(
|
|
4115
|
+
responseBodyProjectsMetadata,
|
|
4116
|
+
),
|
|
4117
|
+
);
|
|
4118
|
+
}
|
|
4119
|
+
export function responseBodyProjectsMetadataFromJSON(
|
|
4120
|
+
jsonString: string,
|
|
4121
|
+
): SafeParseResult<ResponseBodyProjectsMetadata, SDKValidationError> {
|
|
4122
|
+
return safeParse(
|
|
4123
|
+
jsonString,
|
|
4124
|
+
(x) => ResponseBodyProjectsMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
4125
|
+
`Failed to parse 'ResponseBodyProjectsMetadata' from JSON`,
|
|
4126
|
+
);
|
|
4127
|
+
}
|
|
4128
|
+
|
|
4129
|
+
/** @internal */
|
|
4130
|
+
export const GetAllLogDrainsResponseBody1$inboundSchema: z.ZodType<
|
|
4131
|
+
GetAllLogDrainsResponseBody1,
|
|
4132
|
+
z.ZodTypeDef,
|
|
4133
|
+
unknown
|
|
4134
|
+
> = z.object({
|
|
4135
|
+
createdFrom: types.string(),
|
|
4136
|
+
clientId: types.optional(types.string()),
|
|
4137
|
+
configurationId: types.optional(types.string()),
|
|
4138
|
+
projectsMetadata: z.nullable(
|
|
4139
|
+
z.array(z.lazy(() => ResponseBodyProjectsMetadata$inboundSchema)),
|
|
4140
|
+
).optional(),
|
|
4141
|
+
integrationIcon: types.optional(types.string()),
|
|
4142
|
+
integrationConfigurationUri: types.optional(types.string()),
|
|
4143
|
+
integrationWebsite: types.optional(types.string()),
|
|
4144
|
+
});
|
|
4145
|
+
/** @internal */
|
|
4146
|
+
export type GetAllLogDrainsResponseBody1$Outbound = {
|
|
4147
|
+
createdFrom: string;
|
|
4148
|
+
clientId?: string | undefined;
|
|
4149
|
+
configurationId?: string | undefined;
|
|
4150
|
+
projectsMetadata?:
|
|
4151
|
+
| Array<ResponseBodyProjectsMetadata$Outbound>
|
|
4152
|
+
| null
|
|
4153
|
+
| undefined;
|
|
4154
|
+
integrationIcon?: string | undefined;
|
|
4155
|
+
integrationConfigurationUri?: string | undefined;
|
|
4156
|
+
integrationWebsite?: string | undefined;
|
|
4157
|
+
};
|
|
4158
|
+
|
|
4159
|
+
/** @internal */
|
|
4160
|
+
export const GetAllLogDrainsResponseBody1$outboundSchema: z.ZodType<
|
|
4161
|
+
GetAllLogDrainsResponseBody1$Outbound,
|
|
4162
|
+
z.ZodTypeDef,
|
|
4163
|
+
GetAllLogDrainsResponseBody1
|
|
4164
|
+
> = z.object({
|
|
4165
|
+
createdFrom: z.string(),
|
|
4166
|
+
clientId: z.string().optional(),
|
|
4167
|
+
configurationId: z.string().optional(),
|
|
4168
|
+
projectsMetadata: z.nullable(
|
|
4169
|
+
z.array(z.lazy(() => ResponseBodyProjectsMetadata$outboundSchema)),
|
|
4170
|
+
).optional(),
|
|
4171
|
+
integrationIcon: z.string().optional(),
|
|
4172
|
+
integrationConfigurationUri: z.string().optional(),
|
|
4173
|
+
integrationWebsite: z.string().optional(),
|
|
4174
|
+
});
|
|
4175
|
+
|
|
4176
4176
|
export function getAllLogDrainsResponseBody1ToJSON(
|
|
4177
4177
|
getAllLogDrainsResponseBody1: GetAllLogDrainsResponseBody1,
|
|
4178
4178
|
): string {
|
|
@@ -4198,13 +4198,13 @@ export const GetAllLogDrainsResponseBody$inboundSchema: z.ZodType<
|
|
|
4198
4198
|
z.ZodTypeDef,
|
|
4199
4199
|
unknown
|
|
4200
4200
|
> = smartUnion([
|
|
4201
|
-
z.lazy(() =>
|
|
4202
|
-
z.array(z.lazy(() =>
|
|
4201
|
+
z.lazy(() => GetAllLogDrainsResponseBody2$inboundSchema),
|
|
4202
|
+
z.array(z.lazy(() => GetAllLogDrainsResponseBody1$inboundSchema)),
|
|
4203
4203
|
]);
|
|
4204
4204
|
/** @internal */
|
|
4205
4205
|
export type GetAllLogDrainsResponseBody$Outbound =
|
|
4206
|
-
|
|
|
4207
|
-
| Array<
|
|
4206
|
+
| GetAllLogDrainsResponseBody2$Outbound
|
|
4207
|
+
| Array<GetAllLogDrainsResponseBody1$Outbound>;
|
|
4208
4208
|
|
|
4209
4209
|
/** @internal */
|
|
4210
4210
|
export const GetAllLogDrainsResponseBody$outboundSchema: z.ZodType<
|
|
@@ -4212,8 +4212,8 @@ export const GetAllLogDrainsResponseBody$outboundSchema: z.ZodType<
|
|
|
4212
4212
|
z.ZodTypeDef,
|
|
4213
4213
|
GetAllLogDrainsResponseBody
|
|
4214
4214
|
> = smartUnion([
|
|
4215
|
-
z.lazy(() =>
|
|
4216
|
-
z.array(z.lazy(() =>
|
|
4215
|
+
z.lazy(() => GetAllLogDrainsResponseBody2$outboundSchema),
|
|
4216
|
+
z.array(z.lazy(() => GetAllLogDrainsResponseBody1$outboundSchema)),
|
|
4217
4217
|
]);
|
|
4218
4218
|
|
|
4219
4219
|
export function getAllLogDrainsResponseBodyToJSON(
|